Predictive maintenance of systems subject to hard failure based on proportional hazards model