A Model-based approach to performance and reliability prediction