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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 169.2 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8001/0.8001, allocations: 130.7 MB / 138.7 MB, free: 3.574 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 221.5 MB / 391.8 MB, free: 14.17 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008249/0.0008248, allocations: 103.6 kB / 473.9 MB, free: 4.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.21e-05/2.211e-05, allocations: 3.984 kB / 0.5485 GB, free: 13.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4344/0.4345, allocations: 81.58 MB / 0.6282 GB, free: 42.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.741/2.176, allocations: 0.6519 GB / 1.28 GB, free: 44.44 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/2.176, allocations: 67.03 kB / 1.28 GB, free: 44.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5739/2.75, allocations: 63.86 MB / 1.342 GB, free: 210.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.723e-06/2.75, allocations: 0 / 1.342 GB, free: 210.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.037e-05/2.75, allocations: 1.094 kB / 1.342 GB, free: 210.7 MB / 0.6823 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.002407/2.753, allocations: 0.4905 MB / 1.343 GB, free: 210.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/2.753, allocations: 13.84 kB / 1.343 GB, free: 210.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004932/2.753, allocations: 24.78 kB / 1.343 GB, free: 210.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/2.753, allocations: 166.8 kB / 1.343 GB, free: 210.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.093e-05/2.753, allocations: 31.11 kB / 1.343 GB, free: 210 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/2.754, allocations: 4.375 kB / 1.343 GB, free: 210 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002452/2.754, allocations: 84.44 kB / 1.343 GB, free: 210 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/2.754, allocations: 77.14 kB / 1.343 GB, free: 210 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/2.754, allocations: 3 kB / 1.343 GB, free: 210 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/2.754, allocations: 0 / 1.343 GB, free: 210 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/2.754, allocations: 6.062 kB / 1.343 GB, free: 210 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004879/2.755, allocations: 304.2 kB / 1.344 GB, free: 209.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/2.755, allocations: 101.1 kB / 1.344 GB, free: 209.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.912e-05/2.755, allocations: 42.2 kB / 1.344 GB, free: 209.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01217/2.767, allocations: 4.164 MB / 1.348 GB, free: 208.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/2.767, allocations: 35.38 kB / 1.348 GB, free: 208.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=13): time 2.635e-06/2.767, allocations: 0 / 1.348 GB, free: 208.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13): time 0.0005873/2.768, allocations: 118 kB / 1.348 GB, free: 208.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.35e-05/2.768, allocations: 55.28 kB / 1.348 GB, free: 208 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.23e-05/2.768, allocations: 103.2 kB / 1.348 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/2.768, allocations: 25.7 kB / 1.348 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.102e-05/2.768, allocations: 97.08 kB / 1.348 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/2.768, allocations: 39.12 kB / 1.348 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/2.768, allocations: 0 / 1.348 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.102e-05/2.768, allocations: 318.5 kB / 1.349 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.671e-05/2.768, allocations: 21.33 kB / 1.349 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.333e-05/2.768, allocations: 21.06 kB / 1.349 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/2.768, allocations: 31.17 kB / 1.349 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/2.768, allocations: 0 / 1.349 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002573/2.769, allocations: 107.5 kB / 1.349 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/2.769, allocations: 3.969 kB / 1.349 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/2.769, allocations: 3.969 kB / 1.349 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/2.769, allocations: 3.891 kB / 1.349 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/2.769, allocations: 16.66 kB / 1.349 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/2.769, allocations: 5.484 kB / 1.349 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.142e-05/2.769, allocations: 12.25 kB / 1.349 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/2.769, allocations: 3.953 kB / 1.349 GB, free: 207.4 MB / 0.6823 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 () * 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.898e-05/2.769, allocations: 111.8 kB / 1.349 GB, free: 207.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.305e-05/2.769, allocations: 3.969 kB / 1.349 GB, free: 207.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005442/2.769, allocations: 357 kB / 1.349 GB, free: 207.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/2.77, allocations: 2.938 kB / 1.349 GB, free: 207.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/2.77, allocations: 2.531 kB / 1.349 GB, free: 207.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/2.77, allocations: 8.109 kB / 1.349 GB, free: 207.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002884/2.77, allocations: 242.7 kB / 1.35 GB, free: 207.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/2.77, allocations: 0.5312 kB / 1.35 GB, free: 207.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/2.77, allocations: 24.17 kB / 1.35 GB, free: 207.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/2.77, allocations: 0 / 1.35 GB, free: 207.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/2.77, allocations: 3.656 kB / 1.35 GB, free: 207.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/2.77, allocations: 1.438 kB / 1.35 GB, free: 207.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/2.77, allocations: 3.906 kB / 1.35 GB, free: 207.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004148/2.77, allocations: 326.3 kB / 1.35 GB, free: 206.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.827e-05/2.771, allocations: 108.9 kB / 1.35 GB, free: 206.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/2.771, allocations: 3.969 kB / 1.35 GB, free: 206.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/2.771, allocations: 3.656 kB / 1.35 GB, free: 206.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.335e-05/2.771, allocations: 14.42 kB / 1.35 GB, free: 206.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/2.771, allocations: 3.938 kB / 1.35 GB, free: 206.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.273e-05/2.771, allocations: 83.59 kB / 1.35 GB, free: 206.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/2.771, allocations: 3.938 kB / 1.35 GB, free: 206.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002032/2.773, allocations: 334.3 kB / 1.35 GB, free: 206.7 MB / 0.6823 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 () * 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.003395/2.776, allocations: 0.9102 MB / 1.351 GB, free: 206.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002161/2.776, allocations: 114.5 kB / 1.351 GB, free: 206.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/2.776, allocations: 2.75 kB / 1.351 GB, free: 206.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001076/2.777, allocations: 110.2 kB / 1.352 GB, free: 206.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/2.777, allocations: 6.656 kB / 1.352 GB, free: 206.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003785/2.777, allocations: 216.3 kB / 1.352 GB, free: 206.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/2.777, allocations: 0.7282 MB / 1.352 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001238/2.778, allocations: 34.89 kB / 1.352 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.074e-05/2.778, allocations: 13.97 kB / 1.352 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of SimCode: time 2.41e-07/2.778, allocations: 0 / 1.352 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of Templates: time 0.01825/2.796, allocations: 11.63 MB / 1.364 GB, free: 204.8 MB / 0.6823 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)