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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.7888/0.7888, allocations: 140.1 MB / 156 MB, free: 5.152 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001122/0.001123, allocations: 167.2 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.4 MB / 426.3 MB, free: 8.441 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001105/0.001104, allocations: 102.3 kB / 0.4945 GB, free: 8.395 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001674/0.001674, allocations: 276.8 kB / 0.5729 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004423/0.0004423, allocations: 16 kB / 0.662 GB, free: 6.824 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4038, allocations: 79.3 MB / 0.7394 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.222/1.626, allocations: 0.6485 GB / 1.388 GB, free: 34.11 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/1.626, allocations: 69.47 kB / 1.388 GB, free: 34.07 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4701/2.096, allocations: 64.1 MB / 1.451 GB, free: 221.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.304e-06/2.096, allocations: 0 / 1.451 GB, free: 221.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.963e-06/2.096, allocations: 0 / 1.451 GB, free: 221.8 MB / 0.6823 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.00157/2.098, allocations: 0.493 MB / 1.451 GB, free: 221.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/2.098, allocations: 11.56 kB / 1.451 GB, free: 221.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000372/2.098, allocations: 27.92 kB / 1.451 GB, free: 221.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.792e-05/2.098, allocations: 164.9 kB / 1.451 GB, free: 221.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.217e-05/2.099, allocations: 36.31 kB / 1.451 GB, free: 221.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/2.099, allocations: 4.156 kB / 1.451 GB, free: 221.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003258/2.099, allocations: 118.9 kB / 1.451 GB, free: 221.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/2.099, allocations: 15.72 kB / 1.451 GB, free: 221.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/2.099, allocations: 2.875 kB / 1.451 GB, free: 221.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/2.099, allocations: 0 / 1.451 GB, free: 221.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002702/2.099, allocations: 122 kB / 1.452 GB, free: 221.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000375/2.1, allocations: 328.3 kB / 1.452 GB, free: 220.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/2.1, allocations: 127.3 kB / 1.452 GB, free: 220.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.391e-05/2.1, allocations: 57.66 kB / 1.452 GB, free: 220.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009156/2.109, allocations: 4.145 MB / 1.456 GB, free: 219 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/2.109, allocations: 44.77 kB / 1.456 GB, free: 219 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=13): time 2.364e-06/2.109, allocations: 0 / 1.456 GB, free: 219 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13): time 0.0004917/2.11, allocations: 159 kB / 1.456 GB, free: 218.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/2.11, allocations: 55.34 kB / 1.456 GB, free: 218.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.694e-05/2.11, allocations: 100.4 kB / 1.456 GB, free: 218.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/2.11, allocations: 27.95 kB / 1.456 GB, free: 218.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.938e-05/2.11, allocations: 83.89 kB / 1.457 GB, free: 218.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/2.11, allocations: 44.75 kB / 1.457 GB, free: 218.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/2.11, allocations: 2.875 kB / 1.457 GB, free: 218.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.059e-05/2.11, allocations: 329.4 kB / 1.457 GB, free: 218.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.089e-05/2.11, allocations: 24.44 kB / 1.457 GB, free: 218.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.829e-05/2.11, allocations: 26.84 kB / 1.457 GB, free: 218.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.067e-05/2.11, allocations: 69.3 kB / 1.457 GB, free: 218.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/2.11, allocations: 0 / 1.457 GB, free: 218.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001624/2.11, allocations: 103.9 kB / 1.457 GB, free: 218.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/2.11, allocations: 9.5 kB / 1.457 GB, free: 218.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/2.11, allocations: 0 / 1.457 GB, free: 218.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/2.11, allocations: 0 / 1.457 GB, free: 218.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/2.11, allocations: 25.28 kB / 1.457 GB, free: 218.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/2.11, allocations: 7.969 kB / 1.457 GB, free: 218.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.165e-05/2.111, allocations: 9.812 kB / 1.457 GB, free: 218.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/2.111, allocations: 7.453 kB / 1.457 GB, free: 218.3 MB / 0.6823 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 6.038e-05/2.111, allocations: 115.4 kB / 1.457 GB, free: 218.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.383e-05/2.111, allocations: 3.938 kB / 1.457 GB, free: 218.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003663/2.111, allocations: 371.6 kB / 1.458 GB, free: 218.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/2.111, allocations: 3.969 kB / 1.458 GB, free: 218.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/2.111, allocations: 2 kB / 1.458 GB, free: 218.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/2.111, allocations: 6.328 kB / 1.458 GB, free: 218.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/2.111, allocations: 282.8 kB / 1.458 GB, free: 217.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/2.111, allocations: 0 / 1.458 GB, free: 217.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.181e-05/2.111, allocations: 22.91 kB / 1.458 GB, free: 217.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/2.111, allocations: 0 / 1.458 GB, free: 217.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/2.111, allocations: 3.812 kB / 1.458 GB, free: 217.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/2.111, allocations: 4 kB / 1.458 GB, free: 217.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/2.111, allocations: 3.875 kB / 1.458 GB, free: 217.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/2.112, allocations: 333.1 kB / 1.458 GB, free: 217.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-05/2.112, allocations: 107.1 kB / 1.458 GB, free: 217.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/2.112, allocations: 3.969 kB / 1.458 GB, free: 217.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/2.112, allocations: 6.906 kB / 1.458 GB, free: 217.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.191e-05/2.112, allocations: 11.33 kB / 1.458 GB, free: 217.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/2.112, allocations: 14.08 kB / 1.458 GB, free: 217.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.072e-05/2.112, allocations: 75.28 kB / 1.459 GB, free: 217.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.2e-07/2.112, allocations: 3.938 kB / 1.459 GB, free: 217.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001545/2.114, allocations: 342.8 kB / 1.459 GB, free: 217.5 MB / 0.6823 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.002702/2.116, allocations: 0.833 MB / 1.46 GB, free: 217.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001944/2.117, allocations: 124.2 kB / 1.46 GB, free: 217.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/2.117, allocations: 0 / 1.46 GB, free: 217.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/2.117, allocations: 112.4 kB / 1.46 GB, free: 217.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/2.117, allocations: 21.81 kB / 1.46 GB, free: 217.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004775/2.117, allocations: 391.2 kB / 1.46 GB, free: 217.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/2.118, allocations: 0.7119 MB / 1.461 GB, free: 216.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001158/2.118, allocations: 31.12 kB / 1.461 GB, free: 216.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.022e-05/2.118, allocations: 24.59 kB / 1.461 GB, free: 216.4 MB / 0.6823 GB Notification: Performance of SimCode: time 5.01e-07/2.118, allocations: 0 / 1.461 GB, free: 216.4 MB / 0.6823 GB Notification: Performance of Templates: time 0.02092/2.139, allocations: 16 MB / 1.477 GB, free: 215.2 MB / 0.6823 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)