Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck") translateModel(IBPSA.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 100.7 kB / 16.27 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 195 kB / 17.2 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 222.9 MB / 240.9 MB, free: 15.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8355/0.8355, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 56.14 kB / 0.4911 GB, free: 7.434 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.3902, allocations: 77.94 MB / 0.5672 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.1537/0.5439, allocations: 135.5 MB / 0.6996 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.009248/0.5532, allocations: 7.921 MB / 0.7073 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.945e-05/0.5532, allocations: 0 / 0.7073 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001811/0.5535, allocations: 23.84 kB / 0.7073 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.435e-05/0.5535, allocations: 15.84 kB / 0.7073 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003318/0.5568, allocations: 1.468 MB / 0.7088 GB, free: 9.336 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.557, allocations: 71.66 kB / 0.7089 GB, free: 9.266 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.524e-05/0.557, allocations: 4 kB / 0.7089 GB, free: 9.262 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.5572, allocations: 43.83 kB / 0.7089 GB, free: 9.219 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.965e-05/0.5572, allocations: 35.84 kB / 0.7089 GB, free: 9.184 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.5573, allocations: 8 kB / 0.7089 GB, free: 9.176 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00394/0.5612, allocations: 2.638 MB / 0.7115 GB, free: 6.535 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.812e-05/0.5613, allocations: 19.91 kB / 0.7115 GB, free: 6.516 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.783e-05/0.5613, allocations: 27.86 kB / 0.7116 GB, free: 6.488 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001662/0.563, allocations: 1.38 MB / 0.7129 GB, free: 5.105 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.563, allocations: 4 kB / 0.7129 GB, free: 5.102 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.283e-06/0.563, allocations: 0 / 0.7129 GB, free: 5.102 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.563, allocations: 0 / 0.7129 GB, free: 5.102 MB / 0.545 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.0008508/0.5639, allocations: 0.4951 MB / 0.7134 GB, free: 4.559 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.5639, allocations: 8.625 kB / 0.7134 GB, free: 4.551 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003426/0.5643, allocations: 20.91 kB / 0.7134 GB, free: 4.531 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.5644, allocations: 172.2 kB / 0.7136 GB, free: 4.324 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.915e-05/0.5644, allocations: 30.27 kB / 0.7136 GB, free: 4.289 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.5645, allocations: 11.94 kB / 0.7136 GB, free: 4.277 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003354/0.5648, allocations: 121.5 kB / 0.7137 GB, free: 4.152 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.5648, allocations: 0 / 0.7137 GB, free: 4.152 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.5648, allocations: 4 kB / 0.7137 GB, free: 4.148 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.5649, allocations: 4 kB / 0.7138 GB, free: 4.145 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002738/0.5651, allocations: 115.9 kB / 0.7139 GB, free: 4.031 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004364/0.5656, allocations: 380 kB / 0.7142 GB, free: 3.598 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.5658, allocations: 134.5 kB / 0.7144 GB, free: 3.461 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.097e-05/0.5659, allocations: 48.84 kB / 0.7144 GB, free: 3.41 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01124/0.5772, allocations: 4.21 MB / 0.7185 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.5772, allocations: 30.56 kB / 0.7185 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.5772, allocations: 0 / 0.7185 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0004754/0.5777, allocations: 161.6 kB / 0.7187 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.5777, allocations: 59.41 kB / 0.7188 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.265e-05/0.5778, allocations: 101.8 kB / 0.7188 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.5778, allocations: 25.7 kB / 0.7189 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.5779, allocations: 84.05 kB / 0.719 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.06e-05/0.5779, allocations: 55.45 kB / 0.719 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.515e-05/0.578, allocations: 29.7 kB / 0.719 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.5781, allocations: 314.8 kB / 0.7193 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.544e-05/0.5781, allocations: 23.98 kB / 0.7194 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.136e-05/0.5782, allocations: 34.86 kB / 0.7194 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.5783, allocations: 72.84 kB / 0.7195 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.5783, allocations: 0 / 0.7195 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001741/0.5785, allocations: 105.6 kB / 0.7196 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.5785, allocations: 4 kB / 0.7196 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.5785, allocations: 0 / 0.7196 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.5786, allocations: 192 / 0.7196 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.5787, allocations: 27.92 kB / 0.7196 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.5787, allocations: 4 kB / 0.7196 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.606e-05/0.5788, allocations: 3.938 kB / 0.7196 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.5788, allocations: 4 kB / 0.7196 GB, free: 13.7 MB / 0.5606 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 6.872e-05/0.5788, allocations: 113.8 kB / 0.7197 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.001e-05/0.5789, allocations: 15.89 kB / 0.7197 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004347/0.5793, allocations: 369.3 kB / 0.7201 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.5794, allocations: 11.98 kB / 0.7201 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.5794, allocations: 0 / 0.7201 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.5794, allocations: 3.938 kB / 0.7201 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.5797, allocations: 285.3 kB / 0.7204 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.5797, allocations: 0 / 0.7204 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.961e-05/0.5798, allocations: 27.92 kB / 0.7204 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.5798, allocations: 0 / 0.7204 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.5798, allocations: 0 / 0.7204 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.5798, allocations: 3.938 kB / 0.7204 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5798, allocations: 3.984 kB / 0.7204 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003281/0.5802, allocations: 342.8 kB / 0.7207 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.599e-05/0.5802, allocations: 100.9 kB / 0.7208 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.5803, allocations: 0 / 0.7208 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.5804, allocations: 11.98 kB / 0.7208 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.157e-05/0.5804, allocations: 7.984 kB / 0.7208 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.5804, allocations: 11.94 kB / 0.7209 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.407e-05/0.5805, allocations: 87.27 kB / 0.7209 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5805, allocations: 0 / 0.7209 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007155/0.5812, allocations: 303.9 kB / 0.7212 GB, free: 11.93 MB / 0.5606 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.001149/0.5824, allocations: 390 kB / 0.7216 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002338/0.5826, allocations: 131.9 kB / 0.7217 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5826, allocations: 0 / 0.7217 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.5828, allocations: 107.9 kB / 0.7218 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.5831, allocations: 21.3 kB / 0.7218 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004711/0.5835, allocations: 316.2 kB / 0.7221 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.5838, allocations: 0.7166 MB / 0.7228 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.775e-05/0.5839, allocations: 30.34 kB / 0.7229 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.5839, allocations: 15.44 kB / 0.7229 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.5839, allocations: 0 / 0.7229 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of Templates: time 0.01352/0.5975, allocations: 9.827 MB / 0.7325 GB, free: 356 kB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.sim & ./IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)