Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 82.05 kB / 19.87 MB, free: 4.617 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 169.7 kB / 23.27 MB, free: 1.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.969/0.969, allocations: 177.1 MB / 203.7 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001713/0.001713, allocations: 237.2 kB / 260.5 MB, free: 12.64 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7504/0.7504, allocations: 138.4 MB / 455.5 MB, free: 1.445 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck") translateModel(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 0 / 0.5556 GB, free: 328 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.255e-05/3.496e-05, allocations: 5.406 kB / 0.5556 GB, free: 324 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.3513/0.3513, allocations: 128.8 MB / 0.6814 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.006587/0.3579, allocations: 7.845 MB / 0.689 GB, free: 17.22 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.794e-05/0.358, allocations: 0 / 0.689 GB, free: 17.22 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001504/0.3581, allocations: 21.81 kB / 0.689 GB, free: 17.2 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 3.854e-05/0.3582, allocations: 22.31 kB / 0.6891 GB, free: 17.18 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003183/0.3614, allocations: 1.474 MB / 0.6905 GB, free: 16.13 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.3615, allocations: 80.83 kB / 0.6906 GB, free: 16.09 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.514e-05/0.3615, allocations: 3.391 kB / 0.6906 GB, free: 16.09 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.3616, allocations: 63.53 kB / 0.6906 GB, free: 16.05 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 7.476e-05/0.3617, allocations: 22.55 kB / 0.6907 GB, free: 16.04 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.3617, allocations: 2.969 kB / 0.6907 GB, free: 16.04 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003329/0.3651, allocations: 2.621 MB / 0.6932 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.743e-05/0.3651, allocations: 13.17 kB / 0.6932 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.585e-05/0.3651, allocations: 22.97 kB / 0.6933 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001666/0.3668, allocations: 1.801 MB / 0.695 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3668, allocations: 4 kB / 0.695 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3668, allocations: 3.938 kB / 0.695 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.3668, allocations: 0 / 0.695 GB, free: 13.02 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006576/0.3675, allocations: 0.5206 MB / 0.6955 GB, free: 12.47 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.3675, allocations: 12.75 kB / 0.6956 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002994/0.3678, allocations: 52.56 kB / 0.6956 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.512e-05/0.3679, allocations: 116.6 kB / 0.6957 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.99e-05/0.3679, allocations: 55.97 kB / 0.6958 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.3679, allocations: 12.38 kB / 0.6958 GB, free: 12.19 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002453/0.3682, allocations: 132.6 kB / 0.6959 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.3682, allocations: 11.88 kB / 0.6959 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.3682, allocations: 4 kB / 0.6959 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3682, allocations: 0 / 0.6959 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.3684, allocations: 79.89 kB / 0.696 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002904/0.3687, allocations: 304.2 kB / 0.6963 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.3688, allocations: 107 kB / 0.6964 GB, free: 11.51 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.777e-05/0.3689, allocations: 45.02 kB / 0.6964 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005458/0.3743, allocations: 2.593 MB / 0.699 GB, free: 8.879 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.3743, allocations: 37.39 kB / 0.699 GB, free: 8.832 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.3743, allocations: 0 / 0.699 GB, free: 8.832 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.0003893/0.3747, allocations: 143 kB / 0.6991 GB, free: 8.688 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.149e-05/0.3748, allocations: 59.34 kB / 0.6992 GB, free: 8.617 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.222e-05/0.3748, allocations: 157.9 kB / 0.6993 GB, free: 8.445 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.3748, allocations: 25.7 kB / 0.6994 GB, free: 8.414 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.852e-05/0.3749, allocations: 130.9 kB / 0.6995 GB, free: 8.281 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/0.3749, allocations: 59.53 kB / 0.6995 GB, free: 8.223 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/0.3749, allocations: 35.34 kB / 0.6996 GB, free: 8.18 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.402e-05/0.375, allocations: 496.1 kB / 0.7001 GB, free: 7.684 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.469e-05/0.375, allocations: 15.98 kB / 0.7001 GB, free: 7.668 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.641e-05/0.375, allocations: 16.73 kB / 0.7001 GB, free: 7.652 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.784e-05/0.3751, allocations: 49.67 kB / 0.7001 GB, free: 7.602 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3751, allocations: 0 / 0.7001 GB, free: 7.602 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000136/0.3752, allocations: 99.3 kB / 0.7002 GB, free: 7.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.3753, allocations: 8.625 kB / 0.7002 GB, free: 7.492 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3753, allocations: 0 / 0.7002 GB, free: 7.492 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.3753, allocations: 0 / 0.7002 GB, free: 7.492 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.549e-05/0.3754, allocations: 23.98 kB / 0.7003 GB, free: 7.469 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.3754, allocations: 4 kB / 0.7003 GB, free: 7.465 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.576e-05/0.3754, allocations: 3.953 kB / 0.7003 GB, free: 7.461 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.3754, allocations: 8 kB / 0.7003 GB, free: 7.453 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.448e-05/0.3755, allocations: 160.6 kB / 0.7004 GB, free: 7.285 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.737e-05/0.3755, allocations: 23.77 kB / 0.7005 GB, free: 7.262 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002755/0.3758, allocations: 244 kB / 0.7007 GB, free: 7.02 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.148e-06/0.3758, allocations: 0 / 0.7007 GB, free: 7.02 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.3758, allocations: 4 kB / 0.7007 GB, free: 7.016 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3758, allocations: 7.984 kB / 0.7007 GB, free: 7.008 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.376, allocations: 177.1 kB / 0.7009 GB, free: 6.809 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.376, allocations: 0 / 0.7009 GB, free: 6.809 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.159e-05/0.3761, allocations: 20.55 kB / 0.7009 GB, free: 6.789 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.3761, allocations: 0 / 0.7009 GB, free: 6.789 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.3761, allocations: 11.94 kB / 0.7009 GB, free: 6.777 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.3761, allocations: 0 / 0.7009 GB, free: 6.777 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3761, allocations: 1.688 kB / 0.7009 GB, free: 6.777 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.3763, allocations: 323.5 kB / 0.7012 GB, free: 6.441 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.3764, allocations: 27.83 kB / 0.7012 GB, free: 6.414 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.3764, allocations: 3.938 kB / 0.7012 GB, free: 6.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.606e-05/0.3765, allocations: 16.17 kB / 0.7013 GB, free: 6.395 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.013e-05/0.3765, allocations: 7.984 kB / 0.7013 GB, free: 6.387 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.3765, allocations: 3.984 kB / 0.7013 GB, free: 6.383 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.217e-05/0.3766, allocations: 127.2 kB / 0.7014 GB, free: 6.258 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.3766, allocations: 0 / 0.7014 GB, free: 6.258 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008128/0.3774, allocations: 307.6 kB / 0.7017 GB, free: 5.957 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($cse1.region3boundary,$cse2.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001146/0.3785, allocations: 461.1 kB / 0.7021 GB, free: 5.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000159/0.3787, allocations: 88.25 kB / 0.7022 GB, free: 5.414 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3787, allocations: 0 / 0.7022 GB, free: 5.414 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.227e-05/0.3787, allocations: 63.59 kB / 0.7023 GB, free: 5.348 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.3791, allocations: 25.25 kB / 0.7023 GB, free: 5.328 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007391/0.3798, allocations: 302.2 kB / 0.7026 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.68e-05/0.3799, allocations: 75.83 kB / 0.7026 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001085/0.38, allocations: 28.86 kB / 0.7027 GB, free: 4.891 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.3801, allocations: 106.2 kB / 0.7028 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of SimCode: time 9.81e-07/0.3801, allocations: 0 / 0.7028 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of Templates: time 0.01812/0.3982, allocations: 11.4 MB / 0.7139 GB, free: 9.449 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.327272070106119]