Federico Alzamora Previtali
Ansys Employee

This is the most I can say without seeing your setup. 

The reasoning is that if your mass flow rate converges to a value of 0kg/s, you could say that the tank is filled. This assumes that your case is properly set up.

For example, the oscillations in sign (direction) of the mass flow at the beginning would raise some questions for me.