Modeling a leaking tank

In your model you assume that the outflow is constant, independently of the volume, but it is not quite realistic/physical, is it? The pressure with which the water is pushed out of the tank grows with the water level and so does the (out)flow rate (see Torricelli’s law).