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.0009574/0.0009573, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007481/0.007481, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.432/1.432, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7806/0.7806, allocations: 132.3 MB / 423.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003622/0.0003623, allocations: 8.625 kB / 0.504 GB, free: 3.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4853/0.4857, allocations: 81.58 MB / 0.5837 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.1546/0.6403, allocations: 131.7 MB / 0.7123 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0101/0.6504, allocations: 8.386 MB / 0.7205 GB, free: 3.797 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.635e-05/0.6505, allocations: 0 / 0.7205 GB, free: 3.797 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001782/0.6507, allocations: 27.89 kB / 0.7205 GB, free: 3.77 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.725e-05/0.6508, allocations: 19.84 kB / 0.7206 GB, free: 3.75 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003169/0.654, allocations: 1.163 MB / 0.7217 GB, free: 2.594 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.6541, allocations: 71.7 kB / 0.7218 GB, free: 2.523 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.108e-05/0.6541, allocations: 4 kB / 0.7218 GB, free: 2.52 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.6543, allocations: 35.86 kB / 0.7218 GB, free: 2.484 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.041e-05/0.6544, allocations: 39.83 kB / 0.7218 GB, free: 2.445 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.6544, allocations: 0 / 0.7218 GB, free: 2.445 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004251/0.6586, allocations: 2.661 MB / 0.7244 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.656e-05/0.6587, allocations: 15.92 kB / 0.7244 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.251e-05/0.6587, allocations: 57.55 kB / 0.7245 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002181/0.6609, allocations: 1.368 MB / 0.7258 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.6609, allocations: 0 / 0.7258 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.522e-06/0.661, allocations: 4 kB / 0.7258 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.661, allocations: 0 / 0.7258 GB, free: 14.33 MB / 0.5606 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.001084/0.662, allocations: 495.1 kB / 0.7263 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.6621, allocations: 8.031 kB / 0.7263 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003708/0.6625, allocations: 20.91 kB / 0.7263 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.6626, allocations: 176.2 kB / 0.7265 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.333e-05/0.6627, allocations: 34.27 kB / 0.7265 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.6627, allocations: 11.94 kB / 0.7266 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003686/0.6631, allocations: 117.6 kB / 0.7267 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.6631, allocations: 0 / 0.7267 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.6631, allocations: 4 kB / 0.7267 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.6631, allocations: 4 kB / 0.7267 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002855/0.6634, allocations: 115.9 kB / 0.7268 GB, free: 13.27 MB / 0.5606 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.0004844/0.6639, allocations: 388 kB / 0.7272 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.6642, allocations: 118.6 kB / 0.7273 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.928e-05/0.6643, allocations: 60.83 kB / 0.7273 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01139/0.6757, allocations: 4.253 MB / 0.7315 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.6757, allocations: 34.56 kB / 0.7315 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.6757, allocations: 0 / 0.7315 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.000483/0.6762, allocations: 168.9 kB / 0.7317 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.6763, allocations: 55.41 kB / 0.7317 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.542e-05/0.6764, allocations: 105.8 kB / 0.7318 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.6764, allocations: 25.7 kB / 0.7319 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.029e-05/0.6764, allocations: 88.05 kB / 0.7319 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.389e-05/0.6765, allocations: 43.53 kB / 0.732 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.6765, allocations: 13.72 kB / 0.732 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.6766, allocations: 326.8 kB / 0.7323 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.481e-05/0.6767, allocations: 23.94 kB / 0.7323 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.031e-05/0.6767, allocations: 27.98 kB / 0.7324 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.6768, allocations: 68.84 kB / 0.7324 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.6768, allocations: 0 / 0.7324 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001791/0.677, allocations: 113.5 kB / 0.7325 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.677, allocations: 8 kB / 0.7325 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.6771, allocations: 0 / 0.7325 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.6771, allocations: 0 / 0.7325 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.6772, allocations: 19.98 kB / 0.7326 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.6772, allocations: 0 / 0.7326 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.542e-05/0.6773, allocations: 7.938 kB / 0.7326 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.6773, allocations: 4 kB / 0.7326 GB, free: 6.887 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 8.275e-05/0.6774, allocations: 125.8 kB / 0.7327 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.426e-05/0.6774, allocations: 8.094 kB / 0.7327 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004365/0.6779, allocations: 372.7 kB / 0.733 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.6779, allocations: 8 kB / 0.7331 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.6779, allocations: 4 kB / 0.7331 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.6779, allocations: 3.938 kB / 0.7331 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002805/0.6782, allocations: 285.3 kB / 0.7333 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.6782, allocations: 3.938 kB / 0.7333 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.6783, allocations: 23.92 kB / 0.7334 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.6783, allocations: 0 / 0.7334 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.6783, allocations: 8 kB / 0.7334 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.6783, allocations: 0 / 0.7334 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.6783, allocations: 0 / 0.7334 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003255/0.6787, allocations: 330.9 kB / 0.7337 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.253e-05/0.6788, allocations: 104.9 kB / 0.7338 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.6788, allocations: 0 / 0.7338 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.6789, allocations: 11.94 kB / 0.7338 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.424e-05/0.679, allocations: 7.984 kB / 0.7338 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.411e-05/0.679, allocations: 15.92 kB / 0.7338 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.444e-05/0.679, allocations: 79.28 kB / 0.7339 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.679, allocations: 0 / 0.7339 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008178/0.6799, allocations: 295.9 kB / 0.7342 GB, free: 5.133 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.001319/0.6812, allocations: 406.9 kB / 0.7346 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002164/0.6814, allocations: 123.7 kB / 0.7347 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.6814, allocations: 4 kB / 0.7347 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.6816, allocations: 111.9 kB / 0.7348 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.6819, allocations: 23.34 kB / 0.7348 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005217/0.6824, allocations: 387.7 kB / 0.7352 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.6827, allocations: 0.7169 MB / 0.7359 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001106/0.6828, allocations: 27.91 kB / 0.7359 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.041e-05/0.6828, allocations: 23.42 kB / 0.7359 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.6828, allocations: 0 / 0.7359 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of Templates: time 0.01621/0.6991, allocations: 9.718 MB / 0.7454 GB, free: 9.562 MB / 0.5762 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)