Leak Detection in Long Pipelines Systems