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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 172.7 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.5065/0.5065, allocations: 86.27 MB / 103.8 MB, free: 14.55 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.515/1.515, allocations: 223.2 MB / 348.4 MB, free: 4.969 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.0009652/0.0009652, allocations: 91.11 kB / 420.2 MB, free: 9.645 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004106/0.0004109, allocations: 8 kB / 0.4901 GB, free: 8.004 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4253/0.4258, allocations: 71.01 MB / 0.5594 GB, free: 43.69 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.713/2.138, allocations: 0.6422 GB / 1.202 GB, free: 201.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003904/2.139, allocations: 76.58 kB / 1.202 GB, free: 201.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1418/2.281, allocations: 64.85 MB / 1.265 GB, free: 145.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.876e-06/2.281, allocations: 0 / 1.265 GB, free: 145.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.095e-06/2.281, allocations: 7.938 kB / 1.265 GB, free: 145.2 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.001729/2.283, allocations: 0.496 MB / 1.266 GB, free: 144.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/2.283, allocations: 12.03 kB / 1.266 GB, free: 144.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003876/2.283, allocations: 24.83 kB / 1.266 GB, free: 144.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.269e-05/2.283, allocations: 172.3 kB / 1.266 GB, free: 144.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.762e-05/2.283, allocations: 34.27 kB / 1.266 GB, free: 144.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/2.283, allocations: 4.375 kB / 1.266 GB, free: 144.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003421/2.284, allocations: 119.4 kB / 1.266 GB, free: 144.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/2.284, allocations: 7.922 kB / 1.266 GB, free: 144.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/2.284, allocations: 8 kB / 1.266 GB, free: 144.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/2.284, allocations: 0 / 1.266 GB, free: 144.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002525/2.284, allocations: 115.9 kB / 1.266 GB, free: 144.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003908/2.284, allocations: 324.7 kB / 1.266 GB, free: 143.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/2.285, allocations: 130.5 kB / 1.266 GB, free: 143.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.323e-05/2.285, allocations: 48.84 kB / 1.266 GB, free: 143.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009103/2.294, allocations: 4.152 MB / 1.271 GB, free: 139.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/2.294, allocations: 38.56 kB / 1.271 GB, free: 139.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 2.745e-06/2.294, allocations: 4 kB / 1.271 GB, free: 139.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0004981/2.294, allocations: 159.5 kB / 1.271 GB, free: 138.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/2.294, allocations: 51.41 kB / 1.271 GB, free: 138.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.705e-05/2.294, allocations: 113.8 kB / 1.271 GB, free: 138.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/2.294, allocations: 29.7 kB / 1.271 GB, free: 138.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.532e-05/2.294, allocations: 80.14 kB / 1.271 GB, free: 138.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/2.295, allocations: 47.42 kB / 1.271 GB, free: 138.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-06/2.295, allocations: 11.94 kB / 1.271 GB, free: 138.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.039e-05/2.295, allocations: 318.8 kB / 1.271 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.813e-05/2.295, allocations: 24 kB / 1.271 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.665e-05/2.295, allocations: 27.98 kB / 1.271 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/2.295, allocations: 68.84 kB / 1.271 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/2.295, allocations: 0 / 1.271 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001635/2.295, allocations: 102.5 kB / 1.272 GB, free: 138 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/2.295, allocations: 5.875 kB / 1.272 GB, free: 138 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/2.295, allocations: 0 / 1.272 GB, free: 138 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/2.295, allocations: 3.938 kB / 1.272 GB, free: 138 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/2.295, allocations: 27.98 kB / 1.272 GB, free: 138 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/2.295, allocations: 3.938 kB / 1.272 GB, free: 138 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.298e-05/2.295, allocations: 7.906 kB / 1.272 GB, free: 138 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/2.295, allocations: 7.984 kB / 1.272 GB, free: 138 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 () * 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.654e-05/2.295, allocations: 117.8 kB / 1.272 GB, free: 137.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.426e-05/2.295, allocations: 11.91 kB / 1.272 GB, free: 137.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003905/2.296, allocations: 364.2 kB / 1.272 GB, free: 137.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.906e-06/2.296, allocations: 4 kB / 1.272 GB, free: 137.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/2.296, allocations: 0 / 1.272 GB, free: 137.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/2.296, allocations: 3.984 kB / 1.272 GB, free: 137.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/2.296, allocations: 289.1 kB / 1.272 GB, free: 137.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/2.296, allocations: 0 / 1.272 GB, free: 137.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.379e-05/2.296, allocations: 19.98 kB / 1.272 GB, free: 137.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/2.296, allocations: 4 kB / 1.272 GB, free: 137.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/2.296, allocations: 0 / 1.272 GB, free: 137.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/2.296, allocations: 0 / 1.272 GB, free: 137.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/2.296, allocations: 4 kB / 1.272 GB, free: 137.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/2.297, allocations: 331.1 kB / 1.273 GB, free: 136.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.719e-05/2.297, allocations: 104.8 kB / 1.273 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/2.297, allocations: 8 kB / 1.273 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/2.297, allocations: 8 kB / 1.273 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/2.297, allocations: 7.984 kB / 1.273 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/2.297, allocations: 7.984 kB / 1.273 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.796e-05/2.297, allocations: 83.28 kB / 1.273 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/2.297, allocations: 0 / 1.273 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001892/2.299, allocations: 339.8 kB / 1.273 GB, free: 136.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 () * 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.002483/2.301, allocations: 0.8402 MB / 1.274 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001914/2.301, allocations: 122.7 kB / 1.274 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/2.301, allocations: 0 / 1.274 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/2.302, allocations: 111.9 kB / 1.274 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/2.302, allocations: 23.92 kB / 1.274 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004985/2.302, allocations: 385.8 kB / 1.275 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001498/2.303, allocations: 0.7169 MB / 1.275 GB, free: 134 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001177/2.303, allocations: 32.28 kB / 1.275 GB, free: 133.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.415e-05/2.303, allocations: 15.44 kB / 1.275 GB, free: 133.9 MB / 0.6042 GB Notification: Performance of SimCode: time 1.042e-06/2.303, allocations: 0 / 1.275 GB, free: 133.9 MB / 0.6042 GB Notification: Performance of Templates: time 0.01948/2.322, allocations: 16.03 MB / 1.291 GB, free: 117.9 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)