Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirProperties.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.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirProperties") translateModel(BuildingSystems.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9307/0.9307, allocations: 140.1 MB / 156 MB, free: 5.156 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.001109/0.001109, allocations: 179.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.711/1.711, allocations: 205.4 MB / 426.3 MB, free: 8.469 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.0009064/0.0009064, allocations: 78.42 kB / 0.4945 GB, free: 8.414 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001764/0.001764, allocations: 282.2 kB / 0.5729 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000531/0.0005312, allocations: 20 kB / 0.662 GB, free: 6.816 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4343/0.4348, allocations: 79.29 MB / 0.7394 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.94/5.375, allocations: 2.047 GB / 2.786 GB, free: 161 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/5.375, allocations: 75.95 kB / 2.786 GB, free: 160.9 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.1021/5.477, allocations: 50.78 MB / 2.836 GB, free: 109.6 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.434e-06/5.477, allocations: 4 kB / 2.836 GB, free: 109.6 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 9.328e-06/5.477, allocations: 0 / 2.836 GB, free: 109.6 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001133/5.479, allocations: 0.5773 MB / 2.836 GB, free: 108.9 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/5.479, allocations: 16.03 kB / 2.836 GB, free: 108.9 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/5.48, allocations: 124.5 kB / 2.837 GB, free: 108.8 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/5.48, allocations: 220 kB / 2.837 GB, free: 108.6 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/5.48, allocations: 16.75 kB / 2.837 GB, free: 108.5 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.658e-05/5.48, allocations: 24.31 kB / 2.837 GB, free: 108.5 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005175/5.481, allocations: 330.9 kB / 2.837 GB, free: 108.2 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/5.481, allocations: 192 / 2.837 GB, free: 108.2 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.51e-05/5.481, allocations: 15.92 kB / 2.837 GB, free: 108.2 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.428e-05/5.481, allocations: 23.94 kB / 2.837 GB, free: 108.1 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000496/5.481, allocations: 320.1 kB / 2.837 GB, free: 107.8 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001405/5.483, allocations: 1.148 MB / 2.839 GB, free: 106.6 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004285/5.483, allocations: 192.2 kB / 2.839 GB, free: 106.4 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/5.483, allocations: 80.8 kB / 2.839 GB, free: 106.3 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003991/5.484, allocations: 453.5 kB / 2.839 GB, free: 105.8 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/5.484, allocations: 38.56 kB / 2.839 GB, free: 105.7 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=21): time 3.055e-06/5.484, allocations: 112 / 2.839 GB, free: 105.7 MB / 0.6667 GB Notification: Performance of matching and sorting (n=21): time 0.0006052/5.484, allocations: 267 kB / 2.84 GB, free: 105.4 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/5.484, allocations: 59.41 kB / 2.84 GB, free: 105.4 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/5.485, allocations: 206.8 kB / 2.84 GB, free: 105.2 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/5.485, allocations: 33.7 kB / 2.84 GB, free: 105.1 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 5.997e-05/5.485, allocations: 144 kB / 2.84 GB, free: 105 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 4.314e-05/5.485, allocations: 74.89 kB / 2.84 GB, free: 104.9 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-05/5.485, allocations: 8 kB / 2.84 GB, free: 104.9 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 6.14e-05/5.485, allocations: 330.8 kB / 2.84 GB, free: 104.6 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/5.485, allocations: 68.22 kB / 2.84 GB, free: 104.5 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/5.485, allocations: 159.7 kB / 2.841 GB, free: 104.3 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002871/5.485, allocations: 250.4 kB / 2.841 GB, free: 104 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/5.485, allocations: 0 / 2.841 GB, free: 104 MB / 0.6667 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004468/5.486, allocations: 281.4 kB / 2.841 GB, free: 103.7 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/5.486, allocations: 12 kB / 2.841 GB, free: 103.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/5.486, allocations: 7.875 kB / 2.841 GB, free: 103.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/5.486, allocations: 4 kB / 2.841 GB, free: 103.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/5.486, allocations: 59.91 kB / 2.841 GB, free: 103.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/5.486, allocations: 4 kB / 2.841 GB, free: 103.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/5.486, allocations: 27.69 kB / 2.841 GB, free: 103.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-05/5.486, allocations: 16 kB / 2.841 GB, free: 103.6 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0001174/5.486, allocations: 145.6 kB / 2.841 GB, free: 103.5 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/5.487, allocations: 27.8 kB / 2.841 GB, free: 103.4 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003902/5.487, allocations: 254.7 kB / 2.842 GB, free: 103.2 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/5.487, allocations: 0 / 2.842 GB, free: 103.2 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/5.487, allocations: 0 / 2.842 GB, free: 103.2 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/5.487, allocations: 3.984 kB / 2.842 GB, free: 103.2 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005681/5.488, allocations: 0.557 MB / 2.842 GB, free: 102.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/5.488, allocations: 0 / 2.842 GB, free: 102.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/5.488, allocations: 31.98 kB / 2.842 GB, free: 102.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/5.488, allocations: 0 / 2.842 GB, free: 102.5 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/5.488, allocations: 8 kB / 2.842 GB, free: 102.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/5.488, allocations: 4 kB / 2.842 GB, free: 102.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/5.488, allocations: 7.938 kB / 2.842 GB, free: 102.5 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000382/5.488, allocations: 313 kB / 2.843 GB, free: 102.2 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/5.488, allocations: 124.7 kB / 2.843 GB, free: 102 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.798e-05/5.488, allocations: 7.984 kB / 2.843 GB, free: 102 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/5.489, allocations: 12 kB / 2.843 GB, free: 102 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.224e-05/5.489, allocations: 15.98 kB / 2.843 GB, free: 102 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.527e-05/5.489, allocations: 11.98 kB / 2.843 GB, free: 102 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 9.451e-05/5.489, allocations: 153.4 kB / 2.843 GB, free: 101.8 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.41e-07/5.489, allocations: 4 kB / 2.843 GB, free: 101.8 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006525/5.489, allocations: 163.8 kB / 2.843 GB, free: 101.7 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.000913/5.49, allocations: 0.6324 MB / 2.844 GB, free: 101 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.000328/5.491, allocations: 196.3 kB / 2.844 GB, free: 100.9 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/5.491, allocations: 0 / 2.844 GB, free: 100.9 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001096/5.491, allocations: 87.89 kB / 2.844 GB, free: 100.8 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006279/5.492, allocations: 96.66 kB / 2.844 GB, free: 100.7 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006942/5.492, allocations: 0.5221 MB / 2.844 GB, free: 100.1 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001783/5.492, allocations: 0.733 MB / 2.845 GB, free: 99.36 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003145/5.493, allocations: 58.19 kB / 2.845 GB, free: 99.3 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.932e-05/5.493, allocations: 27.42 kB / 2.845 GB, free: 99.27 MB / 0.6667 GB Notification: Performance of SimCode: time 2.5e-07/5.493, allocations: 0 / 2.845 GB, free: 99.27 MB / 0.6667 GB Notification: Performance of Templates: time 0.01636/5.509, allocations: 12.23 MB / 2.857 GB, free: 87.09 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirProperties.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe 2>&1)