Reliability analysis for systems with outsourced components