Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck") translateModel(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8336/0.8336, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 179.5 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.561/1.561, allocations: 221.3 MB / 441.4 MB, free: 4.613 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009597/0.0009594, allocations: 98.58 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001975/0.001975, allocations: 264.5 kB / 0.5939 GB, free: 7.98 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.952e-05/3.954e-05, allocations: 4 kB / 0.6834 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5397/0.5397, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.618/2.157, allocations: 0.6502 GB / 1.414 GB, free: 32.21 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/2.158, allocations: 81.83 kB / 1.415 GB, free: 32.17 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.6528/2.811, allocations: 64.79 MB / 1.478 GB, free: 219.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.523e-06/2.811, allocations: 4 kB / 1.478 GB, free: 219.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.167e-06/2.811, allocations: 3.969 kB / 1.478 GB, free: 219.1 MB / 0.698 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.002023/2.813, allocations: 485.7 kB / 1.478 GB, free: 218.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/2.813, allocations: 7.906 kB / 1.478 GB, free: 218.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003873/2.813, allocations: 26.31 kB / 1.478 GB, free: 218.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.817e-05/2.813, allocations: 166.3 kB / 1.478 GB, free: 218.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.815e-05/2.813, allocations: 39.98 kB / 1.478 GB, free: 218.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/2.813, allocations: 11.06 kB / 1.478 GB, free: 218.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003766/2.814, allocations: 129.8 kB / 1.479 GB, free: 218.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/2.814, allocations: 0 / 1.479 GB, free: 218.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/2.814, allocations: 4.094 kB / 1.479 GB, free: 218.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/2.814, allocations: 1.312 kB / 1.479 GB, free: 218.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003424/2.814, allocations: 118 kB / 1.479 GB, free: 218.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004546/2.815, allocations: 330.7 kB / 1.479 GB, free: 218.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/2.815, allocations: 130.4 kB / 1.479 GB, free: 218.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.688e-05/2.815, allocations: 52.34 kB / 1.479 GB, free: 218.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01191/2.827, allocations: 4.17 MB / 1.483 GB, free: 216.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.152e-05/2.827, allocations: 36.78 kB / 1.483 GB, free: 216.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 2.595e-06/2.827, allocations: 0 / 1.483 GB, free: 216.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0005305/2.828, allocations: 146.5 kB / 1.483 GB, free: 216.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/2.828, allocations: 55.22 kB / 1.484 GB, free: 216.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.225e-05/2.828, allocations: 94.12 kB / 1.484 GB, free: 216.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/2.828, allocations: 25.7 kB / 1.484 GB, free: 216.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.176e-05/2.828, allocations: 86.45 kB / 1.484 GB, free: 216 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.325e-05/2.828, allocations: 47.48 kB / 1.484 GB, free: 216 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-06/2.828, allocations: 0 / 1.484 GB, free: 216 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.744e-05/2.828, allocations: 321.5 kB / 1.484 GB, free: 215.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.973e-05/2.828, allocations: 23.06 kB / 1.484 GB, free: 215.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.906e-05/2.828, allocations: 24.5 kB / 1.484 GB, free: 215.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.169e-05/2.828, allocations: 34.77 kB / 1.484 GB, free: 215.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/2.828, allocations: 0 / 1.484 GB, free: 215.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001522/2.828, allocations: 105.9 kB / 1.484 GB, free: 215.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/2.828, allocations: 12.12 kB / 1.484 GB, free: 215.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/2.828, allocations: 0 / 1.484 GB, free: 215.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/2.828, allocations: 3.938 kB / 1.484 GB, free: 215.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/2.828, allocations: 26.22 kB / 1.484 GB, free: 215.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/2.828, allocations: 0 / 1.484 GB, free: 215.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.416e-05/2.829, allocations: 5.875 kB / 1.484 GB, free: 215.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/2.829, allocations: 3.047 kB / 1.484 GB, free: 215.6 MB / 0.698 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.534e-05/2.829, allocations: 116.5 kB / 1.484 GB, free: 215.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/2.829, allocations: 7.75 kB / 1.484 GB, free: 215.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004031/2.829, allocations: 371.7 kB / 1.485 GB, free: 215.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/2.829, allocations: 2.688 kB / 1.485 GB, free: 215.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/2.829, allocations: 0 / 1.485 GB, free: 215.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/2.829, allocations: 7.844 kB / 1.485 GB, free: 215.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/2.829, allocations: 279.3 kB / 1.485 GB, free: 215.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/2.829, allocations: 6.812 kB / 1.485 GB, free: 215.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.807e-05/2.829, allocations: 22.03 kB / 1.485 GB, free: 215.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/2.829, allocations: 3.938 kB / 1.485 GB, free: 215.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/2.829, allocations: 2.688 kB / 1.485 GB, free: 215.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/2.829, allocations: 0 / 1.485 GB, free: 215.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/2.829, allocations: 0 / 1.485 GB, free: 215.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/2.83, allocations: 327 kB / 1.485 GB, free: 215.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.765e-05/2.83, allocations: 109.8 kB / 1.486 GB, free: 215 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/2.83, allocations: 4 kB / 1.486 GB, free: 215 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/2.83, allocations: 9.406 kB / 1.486 GB, free: 215 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.423e-05/2.83, allocations: 7.688 kB / 1.486 GB, free: 215 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/2.83, allocations: 10.42 kB / 1.486 GB, free: 215 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.395e-05/2.83, allocations: 79.22 kB / 1.486 GB, free: 214.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/2.83, allocations: 0 / 1.486 GB, free: 214.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001994/2.832, allocations: 338.3 kB / 1.486 GB, free: 214.9 MB / 0.698 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.001861/2.834, allocations: 0.8439 MB / 1.487 GB, free: 214.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002231/2.834, allocations: 126.9 kB / 1.487 GB, free: 214.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/2.834, allocations: 0 / 1.487 GB, free: 214.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001133/2.834, allocations: 110 kB / 1.487 GB, free: 214.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/2.835, allocations: 15.45 kB / 1.487 GB, free: 214.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003716/2.835, allocations: 220.4 kB / 1.487 GB, free: 214.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/2.835, allocations: 0.7235 MB / 1.488 GB, free: 213.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00011/2.835, allocations: 30.3 kB / 1.488 GB, free: 213.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.143e-05/2.835, allocations: 17.03 kB / 1.488 GB, free: 213.9 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/2.835, allocations: 0 / 1.488 GB, free: 213.9 MB / 0.698 GB Notification: Performance of Templates: time 0.02171/2.857, allocations: 17.38 MB / 1.505 GB, free: 212.7 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)