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/Complex 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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(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") [: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.0009992/0.0009991, allocations: 186.7 kB / 7.799 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.434/0.434, allocations: 90.85 MB / 99.07 MB, free: 14.94 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.224/1.224, allocations: 221.4 MB / 342.8 MB, free: 5.129 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 101.4 kB / 415.5 MB, free: 6.41 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.642e-06/6.662e-06, allocations: 0 / 493.8 MB, free: 8.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3287, allocations: 72.3 MB / 0.5529 GB, free: 73.38 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.176/1.505, allocations: 0.6425 GB / 1.195 GB, free: 207.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001924/1.505, allocations: 68.84 kB / 1.195 GB, free: 207.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.1456/1.65, allocations: 63.98 MB / 1.258 GB, free: 174 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.023e-06/1.65, allocations: 4 kB / 1.258 GB, free: 174 MB / 0.6042 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.001762/1.652, allocations: 498 kB / 1.258 GB, free: 173.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/1.652, allocations: 11.97 kB / 1.258 GB, free: 173.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004814/1.653, allocations: 27.89 kB / 1.258 GB, free: 173.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.089e-05/1.653, allocations: 174.9 kB / 1.259 GB, free: 173.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.689e-05/1.653, allocations: 33.61 kB / 1.259 GB, free: 173.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/1.653, allocations: 4 kB / 1.259 GB, free: 173.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001719/1.653, allocations: 83.94 kB / 1.259 GB, free: 173.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/1.653, allocations: 73.61 kB / 1.259 GB, free: 173 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/1.653, allocations: 0 / 1.259 GB, free: 173 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/1.653, allocations: 4 kB / 1.259 GB, free: 173 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/1.653, allocations: 0 / 1.259 GB, free: 173 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003782/1.654, allocations: 310.7 kB / 1.259 GB, free: 172.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/1.654, allocations: 93.78 kB / 1.259 GB, free: 172.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.631e-05/1.654, allocations: 48.84 kB / 1.259 GB, free: 172.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01009/1.664, allocations: 4.141 MB / 1.263 GB, free: 168.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/1.664, allocations: 38.5 kB / 1.263 GB, free: 168 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 3.126e-06/1.664, allocations: 4 kB / 1.263 GB, free: 168 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0004822/1.665, allocations: 121.5 kB / 1.263 GB, free: 167.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.956e-05/1.665, allocations: 55.41 kB / 1.263 GB, free: 167.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.855e-05/1.665, allocations: 89 kB / 1.264 GB, free: 167.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/1.665, allocations: 25.7 kB / 1.264 GB, free: 167.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.156e-05/1.665, allocations: 84.14 kB / 1.264 GB, free: 167.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/1.665, allocations: 39.5 kB / 1.264 GB, free: 167.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/1.665, allocations: 4 kB / 1.264 GB, free: 167.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.286e-05/1.665, allocations: 318.8 kB / 1.264 GB, free: 167.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.349e-05/1.665, allocations: 20 kB / 1.264 GB, free: 167.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.131e-05/1.665, allocations: 24.75 kB / 1.264 GB, free: 167.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/1.665, allocations: 27.2 kB / 1.264 GB, free: 167.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.665, allocations: 0 / 1.264 GB, free: 167.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002789/1.665, allocations: 125.5 kB / 1.264 GB, free: 167.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/1.665, allocations: 4 kB / 1.264 GB, free: 167 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/1.665, allocations: 0 / 1.264 GB, free: 167 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/1.665, allocations: 0 / 1.264 GB, free: 167 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/1.665, allocations: 27.98 kB / 1.264 GB, free: 167 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/1.665, allocations: 1.484 kB / 1.264 GB, free: 167 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.419e-05/1.665, allocations: 12.03 kB / 1.264 GB, free: 167 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/1.666, allocations: 11.92 kB / 1.264 GB, free: 167 MB / 0.6042 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 5.098e-05/1.666, allocations: 104.9 kB / 1.264 GB, free: 166.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/1.666, allocations: 27.88 kB / 1.264 GB, free: 166.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004576/1.666, allocations: 390.7 kB / 1.265 GB, free: 166.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/1.666, allocations: 7.984 kB / 1.265 GB, free: 166.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/1.666, allocations: 0 / 1.265 GB, free: 166.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-06/1.666, allocations: 0 / 1.265 GB, free: 166.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/1.666, allocations: 238 kB / 1.265 GB, free: 166.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/1.666, allocations: 0 / 1.265 GB, free: 166.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.731e-05/1.666, allocations: 23.98 kB / 1.265 GB, free: 166.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/1.666, allocations: 0 / 1.265 GB, free: 166.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/1.667, allocations: 5.969 kB / 1.265 GB, free: 166.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/1.667, allocations: 3.938 kB / 1.265 GB, free: 166.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1.667, allocations: 7.984 kB / 1.265 GB, free: 166.2 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004049/1.667, allocations: 419.2 kB / 1.265 GB, free: 165.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/1.667, allocations: 100.9 kB / 1.266 GB, free: 165.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/1.667, allocations: 0 / 1.266 GB, free: 165.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/1.667, allocations: 9.234 kB / 1.266 GB, free: 165.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.926e-05/1.667, allocations: 7.984 kB / 1.266 GB, free: 165.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/1.667, allocations: 8 kB / 1.266 GB, free: 165.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.942e-05/1.667, allocations: 83.28 kB / 1.266 GB, free: 165.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001498/1.669, allocations: 339.8 kB / 1.266 GB, free: 165.2 MB / 0.6042 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.00184/1.671, allocations: 0.9315 MB / 1.267 GB, free: 164.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001786/1.671, allocations: 162.5 kB / 1.267 GB, free: 164.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/1.671, allocations: 0 / 1.267 GB, free: 164.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/1.671, allocations: 167.9 kB / 1.267 GB, free: 163.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/1.671, allocations: 15.62 kB / 1.267 GB, free: 163.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003435/1.671, allocations: 256.7 kB / 1.267 GB, free: 163.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/1.672, allocations: 0.7451 MB / 1.268 GB, free: 162.9 MB / 0.6042 GB Notification: Performance of SimCode: time 3.31e-07/1.672, allocations: 0 / 1.268 GB, free: 162.9 MB / 0.6042 GB Notification: Performance of Templates: time 0.01527/1.687, allocations: 12.98 MB / 1.281 GB, free: 150 MB / 0.6042 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)