A software package for on-line performance monitoring and fault diagnosis of hydraulic circuits