Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck") translateModel(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008198/0.0008196, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008787/0.0008787, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.154/1.154, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6607/0.6607, allocations: 132.3 MB / 423.4 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002694/0.0002694, allocations: 8.219 kB / 0.5034 GB, free: 4.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3268, allocations: 81.58 MB / 0.5831 GB, free: 4.195 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.1138/0.4406, allocations: 122.7 MB / 0.7029 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007127/0.4478, allocations: 7.467 MB / 0.7102 GB, free: 14.15 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.741e-05/0.4478, allocations: 4 kB / 0.7102 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001246/0.4479, allocations: 19.88 kB / 0.7102 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.38e-05/0.448, allocations: 15.86 kB / 0.7103 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002428/0.4504, allocations: 1.131 MB / 0.7114 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.579e-05/0.4505, allocations: 59.72 kB / 0.7114 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.28e-05/0.4506, allocations: 8 kB / 0.7114 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.961e-05/0.4507, allocations: 43.83 kB / 0.7115 GB, free: 12.87 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.014e-05/0.4507, allocations: 39.83 kB / 0.7115 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.4508, allocations: 4 kB / 0.7115 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003355/0.4541, allocations: 2.517 MB / 0.714 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.4542, allocations: 11.94 kB / 0.714 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.841e-05/0.4542, allocations: 29.7 kB / 0.714 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008983/0.4551, allocations: 0.9143 MB / 0.7149 GB, free: 9.348 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.4551, allocations: 0 / 0.7149 GB, free: 9.348 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.002e-06/0.4551, allocations: 0 / 0.7149 GB, free: 9.348 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.4551, allocations: 4 kB / 0.7149 GB, free: 9.344 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.0008055/0.4559, allocations: 490.9 kB / 0.7154 GB, free: 8.816 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.456, allocations: 12.03 kB / 0.7154 GB, free: 8.805 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003025/0.4563, allocations: 19.97 kB / 0.7154 GB, free: 8.785 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.892e-05/0.4564, allocations: 171 kB / 0.7156 GB, free: 8.578 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.733e-05/0.4565, allocations: 33.7 kB / 0.7156 GB, free: 8.539 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.4565, allocations: 4 kB / 0.7156 GB, free: 8.535 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002975/0.4568, allocations: 121.6 kB / 0.7157 GB, free: 8.41 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.4568, allocations: 7.953 kB / 0.7157 GB, free: 8.402 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.4568, allocations: 0 / 0.7157 GB, free: 8.402 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.4568, allocations: 0 / 0.7157 GB, free: 8.402 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002412/0.4571, allocations: 122.9 kB / 0.7158 GB, free: 8.285 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.0003983/0.4575, allocations: 376.1 kB / 0.7162 GB, free: 7.855 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/0.4577, allocations: 130.6 kB / 0.7163 GB, free: 7.719 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.542e-05/0.4578, allocations: 52.83 kB / 0.7164 GB, free: 7.664 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008817/0.4666, allocations: 4.254 MB / 0.7205 GB, free: 3.094 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.4666, allocations: 42.55 kB / 0.7206 GB, free: 3.043 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.4666, allocations: 0 / 0.7206 GB, free: 3.043 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0003982/0.467, allocations: 161.5 kB / 0.7207 GB, free: 2.879 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.4671, allocations: 51.41 kB / 0.7208 GB, free: 2.816 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.017e-05/0.4671, allocations: 97.86 kB / 0.7209 GB, free: 2.711 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.4672, allocations: 33.7 kB / 0.7209 GB, free: 2.672 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.524e-05/0.4672, allocations: 84.12 kB / 0.721 GB, free: 2.586 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.4672, allocations: 43.48 kB / 0.721 GB, free: 2.543 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-06/0.4672, allocations: 8 kB / 0.721 GB, free: 2.535 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.652e-05/0.4673, allocations: 314.8 kB / 0.7213 GB, free: 2.219 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.892e-05/0.4674, allocations: 19.98 kB / 0.7213 GB, free: 2.199 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.978e-05/0.4674, allocations: 31.92 kB / 0.7214 GB, free: 2.168 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.638e-05/0.4675, allocations: 27.75 kB / 0.7214 GB, free: 2.145 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.4675, allocations: 0 / 0.7214 GB, free: 2.145 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001539/0.4676, allocations: 117.5 kB / 0.7215 GB, free: 2.023 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.4677, allocations: 11.94 kB / 0.7215 GB, free: 2.012 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.4677, allocations: 0 / 0.7215 GB, free: 2.012 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.626e-06/0.4677, allocations: 0 / 0.7215 GB, free: 2.012 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.4678, allocations: 23.98 kB / 0.7215 GB, free: 1.988 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.4678, allocations: 7.938 kB / 0.7216 GB, free: 1.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.978e-05/0.4678, allocations: 3.938 kB / 0.7216 GB, free: 1.977 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.4679, allocations: 7.984 kB / 0.7216 GB, free: 1.969 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.285e-05/0.4679, allocations: 109.8 kB / 0.7217 GB, free: 1.852 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.141e-05/0.468, allocations: 19.86 kB / 0.7217 GB, free: 1.832 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003733/0.4684, allocations: 372.6 kB / 0.722 GB, free: 1.465 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.4684, allocations: 3.984 kB / 0.722 GB, free: 1.461 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.4684, allocations: 0 / 0.722 GB, free: 1.461 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.4684, allocations: 7.922 kB / 0.7221 GB, free: 1.453 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002271/0.4686, allocations: 293.2 kB / 0.7223 GB, free: 1.117 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.4686, allocations: 0 / 0.7223 GB, free: 1.117 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.7e-05/0.4687, allocations: 23.98 kB / 0.7224 GB, free: 1.094 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.4687, allocations: 3.953 kB / 0.7224 GB, free: 1.09 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-06/0.4687, allocations: 0 / 0.7224 GB, free: 1.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.4688, allocations: 4 kB / 0.7224 GB, free: 1.086 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.4688, allocations: 0 / 0.7224 GB, free: 1.086 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.469, allocations: 323 kB / 0.7227 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.399e-05/0.4691, allocations: 104.9 kB / 0.7228 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.4691, allocations: 11.89 kB / 0.7228 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.4692, allocations: 4 kB / 0.7228 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.844e-05/0.4693, allocations: 11.98 kB / 0.7228 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.4693, allocations: 7.984 kB / 0.7228 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.127e-05/0.4693, allocations: 79.28 kB / 0.7229 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4693, allocations: 0 / 0.7229 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006066/0.4699, allocations: 299.9 kB / 0.7232 GB, free: 232 kB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00101/0.471, allocations: 394.9 kB / 0.7235 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001782/0.4711, allocations: 131.9 kB / 0.7237 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4711, allocations: 0 / 0.7237 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.4713, allocations: 111.9 kB / 0.7238 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.4715, allocations: 15.98 kB / 0.7238 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004184/0.472, allocations: 385.8 kB / 0.7242 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001966/0.4722, allocations: 0.7169 MB / 0.7249 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.199e-05/0.4723, allocations: 28.34 kB / 0.7249 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.953e-05/0.4723, allocations: 19.42 kB / 0.7249 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.4723, allocations: 0 / 0.7249 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of Templates: time 0.01216/0.4845, allocations: 9.981 MB / 0.7347 GB, free: 4.406 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.makefile (rm -f IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.sim & ./IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)