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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005727/0.005727, allocations: 181.7 kB / 7.454 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6747/0.6747, allocations: 130.6 MB / 138.5 MB, free: 2.32 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.537/1.537, allocations: 221.4 MB / 391.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009947/0.0009945, allocations: 105.2 kB / 473.4 MB, free: 14.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.863e-06/6.893e-06, allocations: 2.188 kB / 0.5479 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1972, allocations: 81.57 MB / 0.6276 GB, free: 18.23 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.799/1.996, allocations: 0.6518 GB / 1.279 GB, free: 192.5 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/1.997, allocations: 78.62 kB / 1.279 GB, free: 192.4 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.1556/2.152, allocations: 63.97 MB / 1.342 GB, free: 132 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.586e-06/2.152, allocations: 0 / 1.342 GB, free: 132 MB / 0.6667 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.001905/2.154, allocations: 0.4902 MB / 1.342 GB, free: 131.5 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/2.154, allocations: 8.031 kB / 1.342 GB, free: 131.5 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004847/2.155, allocations: 23.88 kB / 1.342 GB, free: 131.5 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/2.155, allocations: 171 kB / 1.343 GB, free: 131.2 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.297e-05/2.155, allocations: 33.7 kB / 1.343 GB, free: 131.2 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/2.155, allocations: 4 kB / 1.343 GB, free: 131.2 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001796/2.155, allocations: 87.84 kB / 1.343 GB, free: 131.1 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/2.155, allocations: 73.66 kB / 1.343 GB, free: 131 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/2.155, allocations: 3.938 kB / 1.343 GB, free: 131 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/2.155, allocations: 0 / 1.343 GB, free: 131 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/2.156, allocations: 0 / 1.343 GB, free: 131 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000467/2.156, allocations: 305.2 kB / 1.343 GB, free: 130.7 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/2.156, allocations: 94.62 kB / 1.343 GB, free: 130.6 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.093e-05/2.156, allocations: 44.86 kB / 1.343 GB, free: 130.6 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0109/2.167, allocations: 4.149 MB / 1.347 GB, free: 126.1 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/2.167, allocations: 34.56 kB / 1.347 GB, free: 126 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=13): time 2.425e-06/2.167, allocations: 0 / 1.347 GB, free: 126 MB / 0.6667 GB Notification: Performance of matching and sorting (n=13): time 0.0005745/2.168, allocations: 121.6 kB / 1.347 GB, free: 125.9 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.295e-05/2.168, allocations: 55.34 kB / 1.347 GB, free: 125.8 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.825e-05/2.168, allocations: 104.9 kB / 1.348 GB, free: 125.7 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/2.168, allocations: 25.7 kB / 1.348 GB, free: 125.7 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 2.904e-05/2.168, allocations: 88.12 kB / 1.348 GB, free: 125.6 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/2.168, allocations: 35.59 kB / 1.348 GB, free: 125.6 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-06/2.168, allocations: 0 / 1.348 GB, free: 125.6 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 5.45e-05/2.168, allocations: 318.8 kB / 1.348 GB, free: 125.3 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.638e-05/2.168, allocations: 24 kB / 1.348 GB, free: 125.2 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.501e-05/2.168, allocations: 24.61 kB / 1.348 GB, free: 125.2 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/2.168, allocations: 33.36 kB / 1.348 GB, free: 125.2 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/2.168, allocations: 0 / 1.348 GB, free: 125.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003053/2.169, allocations: 121.5 kB / 1.348 GB, free: 125.1 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/2.169, allocations: 7.938 kB / 1.348 GB, free: 125.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/2.169, allocations: 0 / 1.348 GB, free: 125.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/2.169, allocations: 4 kB / 1.348 GB, free: 125 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/2.169, allocations: 19.98 kB / 1.348 GB, free: 125 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/2.169, allocations: 0 / 1.348 GB, free: 125 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.214e-05/2.169, allocations: 3.938 kB / 1.348 GB, free: 125 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/2.169, allocations: 7.906 kB / 1.348 GB, free: 125 MB / 0.6667 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.234e-05/2.169, allocations: 105 kB / 1.348 GB, free: 124.9 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/2.169, allocations: 27.88 kB / 1.348 GB, free: 124.9 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005046/2.17, allocations: 389.4 kB / 1.349 GB, free: 124.5 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/2.17, allocations: 11.98 kB / 1.349 GB, free: 124.5 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/2.17, allocations: 4 kB / 1.349 GB, free: 124.5 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/2.17, allocations: 0 / 1.349 GB, free: 124.5 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/2.17, allocations: 234 kB / 1.349 GB, free: 124.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/2.17, allocations: 4 kB / 1.349 GB, free: 124.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/2.17, allocations: 23.98 kB / 1.349 GB, free: 124.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/2.17, allocations: 0 / 1.349 GB, free: 124.2 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/2.17, allocations: 0 / 1.349 GB, free: 124.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/2.17, allocations: 4 kB / 1.349 GB, free: 124.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/2.17, allocations: 3.906 kB / 1.349 GB, free: 124.2 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004419/2.171, allocations: 427.1 kB / 1.349 GB, free: 123.7 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 6.756e-05/2.171, allocations: 104.9 kB / 1.35 GB, free: 123.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/2.171, allocations: 0 / 1.35 GB, free: 123.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/2.171, allocations: 4 kB / 1.35 GB, free: 123.6 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.182e-05/2.171, allocations: 11.92 kB / 1.35 GB, free: 123.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/2.171, allocations: 8 kB / 1.35 GB, free: 123.6 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.195e-05/2.171, allocations: 83.2 kB / 1.35 GB, free: 123.5 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001951/2.173, allocations: 339.8 kB / 1.35 GB, free: 123.2 MB / 0.6667 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.003248/2.176, allocations: 0.9293 MB / 1.351 GB, free: 122.2 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002434/2.176, allocations: 168 kB / 1.351 GB, free: 122.1 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/2.176, allocations: 0 / 1.351 GB, free: 122.1 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/2.176, allocations: 155.9 kB / 1.351 GB, free: 121.9 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/2.177, allocations: 19.97 kB / 1.351 GB, free: 121.9 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004393/2.177, allocations: 252.7 kB / 1.351 GB, free: 121.6 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002122/2.177, allocations: 0.751 MB / 1.352 GB, free: 120.9 MB / 0.6667 GB Notification: Performance of SimCode: time 4.51e-07/2.177, allocations: 0 / 1.352 GB, free: 120.9 MB / 0.6667 GB Notification: Performance of Templates: time 0.02015/2.198, allocations: 12.99 MB / 1.365 GB, free: 107.9 MB / 0.6667 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)