Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck") translateModel(Buildings.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.755/1.755, allocations: 297.8 MB / 313.7 MB, free: 156 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 190.3 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.616/1.616, allocations: 223.2 MB / 0.6626 GB, free: 4.367 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008246/0.0008248, allocations: 89.64 kB / 0.7808 GB, free: 50.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004362/0.0004363, allocations: 12 kB / 0.9088 GB, free: 2.898 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8986/0.899, allocations: 120.3 MB / 1.026 GB, free: 55.77 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.391/2.29, allocations: 0.6823 GB / 1.709 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/2.29, allocations: 71.41 kB / 1.709 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 0.7708/3.061, allocations: 64.86 MB / 1.772 GB, free: 248.4 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.965e-06/3.061, allocations: 2.25 kB / 1.772 GB, free: 248.4 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 9.598e-06/3.061, allocations: 3.188 kB / 1.772 GB, free: 248.4 MB / 0.9792 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.001553/3.062, allocations: 0.499 MB / 1.772 GB, free: 248 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/3.062, allocations: 9.594 kB / 1.772 GB, free: 248 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003902/3.063, allocations: 21.36 kB / 1.772 GB, free: 248 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/3.063, allocations: 171.9 kB / 1.773 GB, free: 247.8 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.744e-05/3.063, allocations: 35.69 kB / 1.773 GB, free: 247.8 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/3.063, allocations: 7.375 kB / 1.773 GB, free: 247.8 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003396/3.063, allocations: 116.5 kB / 1.773 GB, free: 247.8 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/3.063, allocations: 3.938 kB / 1.773 GB, free: 247.8 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/3.064, allocations: 11.06 kB / 1.773 GB, free: 247.7 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/3.064, allocations: 0 / 1.773 GB, free: 247.7 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002534/3.064, allocations: 115.6 kB / 1.773 GB, free: 247.7 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/3.064, allocations: 330.9 kB / 1.773 GB, free: 247.5 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/3.064, allocations: 126.6 kB / 1.773 GB, free: 247.5 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.479e-05/3.064, allocations: 57.7 kB / 1.773 GB, free: 247.4 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009865/3.074, allocations: 4.153 MB / 1.777 GB, free: 245.6 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/3.074, allocations: 30.56 kB / 1.777 GB, free: 245.6 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=13): time 2.715e-06/3.074, allocations: 4 kB / 1.778 GB, free: 245.6 MB / 0.9792 GB Notification: Performance of matching and sorting (n=13): time 0.0005739/3.075, allocations: 165.9 kB / 1.778 GB, free: 245.6 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/3.075, allocations: 54.41 kB / 1.778 GB, free: 245.5 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.944e-05/3.075, allocations: 99.28 kB / 1.778 GB, free: 245.4 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/3.075, allocations: 29.2 kB / 1.778 GB, free: 245.4 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 3.468e-05/3.075, allocations: 87.27 kB / 1.778 GB, free: 245.3 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 3.605e-05/3.075, allocations: 47.31 kB / 1.778 GB, free: 245.3 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-06/3.075, allocations: 3.25 kB / 1.778 GB, free: 245.3 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 6.37e-05/3.075, allocations: 325.4 kB / 1.778 GB, free: 244.9 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.462e-05/3.075, allocations: 24.55 kB / 1.778 GB, free: 244.9 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.99e-05/3.075, allocations: 27.27 kB / 1.778 GB, free: 244.9 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.487e-05/3.076, allocations: 64.33 kB / 1.778 GB, free: 244.9 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/3.076, allocations: 0 / 1.778 GB, free: 244.9 MB / 0.9792 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001786/3.076, allocations: 112.2 kB / 1.778 GB, free: 244.9 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/3.076, allocations: 5.75 kB / 1.778 GB, free: 244.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/3.076, allocations: 0 / 1.778 GB, free: 244.9 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/3.076, allocations: 0 / 1.778 GB, free: 244.9 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/3.076, allocations: 25.69 kB / 1.779 GB, free: 244.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.076e-06/3.076, allocations: 4 kB / 1.779 GB, free: 244.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.887e-05/3.076, allocations: 14.06 kB / 1.779 GB, free: 244.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/3.076, allocations: 6.547 kB / 1.779 GB, free: 244.9 MB / 0.9792 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 7.195e-05/3.076, allocations: 114.1 kB / 1.779 GB, free: 244.8 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.79e-05/3.076, allocations: 6.688 kB / 1.779 GB, free: 244.8 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003935/3.077, allocations: 365.8 kB / 1.779 GB, free: 244.7 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/3.077, allocations: 6.688 kB / 1.779 GB, free: 244.7 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/3.077, allocations: 0 / 1.779 GB, free: 244.7 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/3.077, allocations: 3.938 kB / 1.779 GB, free: 244.7 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/3.077, allocations: 290.6 kB / 1.779 GB, free: 244.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/3.077, allocations: 3.312 kB / 1.779 GB, free: 244.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.4e-05/3.077, allocations: 23.38 kB / 1.779 GB, free: 244.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/3.077, allocations: 0 / 1.779 GB, free: 244.5 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/3.077, allocations: 6.5 kB / 1.779 GB, free: 244.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/3.077, allocations: 4 kB / 1.779 GB, free: 244.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/3.077, allocations: 4.078 kB / 1.779 GB, free: 244.5 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/3.077, allocations: 331.5 kB / 1.78 GB, free: 244.3 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 5.411e-05/3.077, allocations: 98.31 kB / 1.78 GB, free: 244.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/3.077, allocations: 4.688 kB / 1.78 GB, free: 244.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/3.077, allocations: 7.906 kB / 1.78 GB, free: 244.2 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.641e-05/3.077, allocations: 9.938 kB / 1.78 GB, free: 244.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/3.078, allocations: 10.41 kB / 1.78 GB, free: 244.2 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 2.088e-05/3.078, allocations: 79.2 kB / 1.78 GB, free: 244.2 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.2e-07/3.078, allocations: 0 / 1.78 GB, free: 244.2 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001694/3.079, allocations: 346.2 kB / 1.78 GB, free: 244.1 MB / 0.9792 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.002678/3.082, allocations: 0.8362 MB / 1.781 GB, free: 243.9 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002246/3.082, allocations: 124.7 kB / 1.781 GB, free: 243.9 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/3.082, allocations: 0 / 1.781 GB, free: 243.9 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/3.082, allocations: 117 kB / 1.781 GB, free: 243.9 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/3.083, allocations: 24.05 kB / 1.781 GB, free: 243.9 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004796/3.083, allocations: 383.8 kB / 1.782 GB, free: 243.7 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/3.083, allocations: 0.7136 MB / 1.782 GB, free: 243 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001157/3.083, allocations: 31.11 kB / 1.782 GB, free: 243 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.836e-05/3.083, allocations: 18.34 kB / 1.782 GB, free: 243 MB / 0.9792 GB Notification: Performance of SimCode: time 4.21e-07/3.083, allocations: 4 kB / 1.782 GB, free: 243 MB / 0.9792 GB Notification: Performance of Templates: time 0.02311/3.107, allocations: 16.02 MB / 1.798 GB, free: 242 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile (rm -f Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & ./Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)