Estimating viscoelasticity of pipes with unknown leaks