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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009189/0.0009191, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4791/0.4791, allocations: 90.91 MB / 99.34 MB, free: 2.215 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 221.5 MB / 343.2 MB, free: 1.625 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009129/0.0009129, allocations: 106.9 kB / 416 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.149e-05/1.151e-05, allocations: 0 / 494.5 MB, free: 52.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1497, allocations: 72.31 MB / 0.5535 GB, free: 12.32 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.695/1.845, allocations: 0.6426 GB / 1.196 GB, free: 94.14 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/1.845, allocations: 67.97 kB / 1.196 GB, free: 94.08 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1449/1.99, allocations: 63.86 MB / 1.259 GB, free: 30.08 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.695e-06/1.99, allocations: 0 / 1.259 GB, free: 30.08 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.604e-06/1.99, allocations: 3.938 kB / 1.259 GB, free: 30.07 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.001719/1.992, allocations: 0.4947 MB / 1.259 GB, free: 29.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/1.992, allocations: 8.031 kB / 1.259 GB, free: 29.53 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003644/1.992, allocations: 27.88 kB / 1.259 GB, free: 29.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.894e-05/1.992, allocations: 170.9 kB / 1.259 GB, free: 29.29 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.569e-05/1.992, allocations: 29.7 kB / 1.259 GB, free: 29.26 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/1.992, allocations: 4 kB / 1.259 GB, free: 29.25 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001676/1.992, allocations: 91.89 kB / 1.259 GB, free: 29.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/1.992, allocations: 73.66 kB / 1.259 GB, free: 29.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/1.993, allocations: 4 kB / 1.259 GB, free: 29.08 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/1.993, allocations: 3.938 kB / 1.259 GB, free: 29.08 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/1.993, allocations: 4 kB / 1.259 GB, free: 29.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003566/1.993, allocations: 293.3 kB / 1.26 GB, free: 28.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/1.993, allocations: 106.6 kB / 1.26 GB, free: 28.64 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.736e-05/1.993, allocations: 52.84 kB / 1.26 GB, free: 28.58 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009305/2.002, allocations: 4.164 MB / 1.264 GB, free: 24.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/2.002, allocations: 42.56 kB / 1.264 GB, free: 24.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 2.344e-06/2.002, allocations: 0 / 1.264 GB, free: 24.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0004815/2.003, allocations: 121.5 kB / 1.264 GB, free: 23.92 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.545e-05/2.003, allocations: 51.41 kB / 1.264 GB, free: 23.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.149e-05/2.003, allocations: 92.98 kB / 1.264 GB, free: 23.76 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/2.003, allocations: 25.7 kB / 1.264 GB, free: 23.73 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.076e-05/2.003, allocations: 84.14 kB / 1.264 GB, free: 23.64 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/2.003, allocations: 43.5 kB / 1.264 GB, free: 23.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-06/2.003, allocations: 0 / 1.264 GB, free: 23.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.493e-05/2.003, allocations: 314.8 kB / 1.265 GB, free: 23.29 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.072e-05/2.003, allocations: 23.98 kB / 1.265 GB, free: 23.26 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.835e-05/2.003, allocations: 20 kB / 1.265 GB, free: 23.24 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/2.003, allocations: 29.73 kB / 1.265 GB, free: 23.21 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/2.003, allocations: 0 / 1.265 GB, free: 23.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001902/2.004, allocations: 97.61 kB / 1.265 GB, free: 23.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/2.004, allocations: 9.359 kB / 1.265 GB, free: 23.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/2.004, allocations: 4 kB / 1.265 GB, free: 23.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/2.004, allocations: 3.938 kB / 1.265 GB, free: 23.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/2.004, allocations: 27.98 kB / 1.265 GB, free: 23.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/2.004, allocations: 4 kB / 1.265 GB, free: 23.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.352e-05/2.004, allocations: 11.84 kB / 1.265 GB, free: 23.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/2.004, allocations: 3.984 kB / 1.265 GB, free: 23.05 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 4.754e-05/2.004, allocations: 105 kB / 1.265 GB, free: 22.94 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.682e-05/2.004, allocations: 0 / 1.265 GB, free: 22.94 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003942/2.004, allocations: 372.2 kB / 1.265 GB, free: 22.57 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/2.004, allocations: 7.984 kB / 1.265 GB, free: 22.56 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/2.004, allocations: 0 / 1.265 GB, free: 22.56 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/2.004, allocations: 0 / 1.265 GB, free: 22.56 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/2.005, allocations: 238 kB / 1.266 GB, free: 22.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/2.005, allocations: 0 / 1.266 GB, free: 22.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.054e-05/2.005, allocations: 23.98 kB / 1.266 GB, free: 22.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/2.005, allocations: 0 / 1.266 GB, free: 22.27 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/2.005, allocations: 4 kB / 1.266 GB, free: 22.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/2.005, allocations: 7.953 kB / 1.266 GB, free: 22.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/2.005, allocations: 0 / 1.266 GB, free: 22.26 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/2.005, allocations: 323 kB / 1.266 GB, free: 21.93 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.074e-05/2.005, allocations: 108.8 kB / 1.266 GB, free: 21.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/2.005, allocations: 0 / 1.266 GB, free: 21.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/2.005, allocations: 7.953 kB / 1.266 GB, free: 21.79 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.99e-05/2.005, allocations: 7.984 kB / 1.266 GB, free: 21.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/2.005, allocations: 12 kB / 1.266 GB, free: 21.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.023e-05/2.005, allocations: 83.27 kB / 1.266 GB, free: 21.69 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/2.005, allocations: 0 / 1.266 GB, free: 21.69 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001494/2.007, allocations: 331.8 kB / 1.266 GB, free: 21.37 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.001566/2.008, allocations: 0.9194 MB / 1.267 GB, free: 20.45 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001538/2.009, allocations: 108 kB / 1.267 GB, free: 20.34 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/2.009, allocations: 0 / 1.267 GB, free: 20.34 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.716e-05/2.009, allocations: 111.9 kB / 1.268 GB, free: 20.23 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/2.009, allocations: 11.98 kB / 1.268 GB, free: 20.22 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003336/2.009, allocations: 216.7 kB / 1.268 GB, free: 19.99 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/2.009, allocations: 0.7166 MB / 1.268 GB, free: 19.24 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001007/2.009, allocations: 36.22 kB / 1.268 GB, free: 19.21 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.839e-05/2.01, allocations: 27.42 kB / 1.269 GB, free: 19.18 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/2.01, allocations: 0 / 1.269 GB, free: 19.18 MB / 0.6042 GB Notification: Performance of Templates: time 0.01474/2.024, allocations: 11.63 MB / 1.28 GB, free: 7.547 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)