Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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) 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 Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirProperties") translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.637/1.637, allocations: 293 MB / 309 MB, free: 4.824 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009752/0.0009754, allocations: 168.6 kB / 378.7 MB, free: 1.027 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.583/1.583, allocations: 205.4 MB / 0.6383 GB, free: 8.215 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007951/0.0007951, allocations: 92.5 kB / 0.7527 GB, free: 62.89 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000416/0.0004163, allocations: 8 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.301, allocations: 116.4 MB / 0.9904 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.929/5.23, allocations: 2.078 GB / 3.068 GB, free: 139.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/5.23, allocations: 67.97 kB / 3.068 GB, free: 139.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.09995/5.33, allocations: 50.62 MB / 3.118 GB, free: 88.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.046e-06/5.33, allocations: 0 / 3.118 GB, free: 88.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.297e-05/5.33, allocations: 4 kB / 3.118 GB, free: 88.59 MB / 0.948 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.001136/5.331, allocations: 0.5693 MB / 3.118 GB, free: 87.97 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/5.331, allocations: 12.03 kB / 3.118 GB, free: 87.96 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/5.332, allocations: 128.5 kB / 3.118 GB, free: 87.84 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/5.333, allocations: 220.1 kB / 3.119 GB, free: 87.58 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/5.333, allocations: 12.75 kB / 3.119 GB, free: 87.57 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/5.333, allocations: 16.38 kB / 3.119 GB, free: 87.55 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004817/5.333, allocations: 342.8 kB / 3.119 GB, free: 87.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/5.333, allocations: 192 / 3.119 GB, free: 87.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/5.333, allocations: 11.94 kB / 3.119 GB, free: 87.19 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.741e-05/5.333, allocations: 19.98 kB / 3.119 GB, free: 87.17 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004289/5.334, allocations: 312.1 kB / 3.119 GB, free: 86.86 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/5.335, allocations: 1.165 MB / 3.12 GB, free: 85.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004173/5.335, allocations: 188.3 kB / 3.121 GB, free: 85.41 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/5.336, allocations: 80.81 kB / 3.121 GB, free: 85.32 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003942/5.336, allocations: 461.5 kB / 3.121 GB, free: 84.78 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/5.336, allocations: 38.5 kB / 3.121 GB, free: 84.73 MB / 0.948 GB Notification: Performance of pre-optimization done (n=21): time 1.754e-06/5.336, allocations: 4 kB / 3.121 GB, free: 84.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=21): time 0.0005722/5.337, allocations: 251.7 kB / 3.121 GB, free: 84.48 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/5.337, allocations: 55.41 kB / 3.121 GB, free: 84.41 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/5.337, allocations: 211.4 kB / 3.122 GB, free: 84.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/5.337, allocations: 29.7 kB / 3.122 GB, free: 84.16 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.266e-05/5.337, allocations: 147.9 kB / 3.122 GB, free: 84.01 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.642e-05/5.337, allocations: 70.95 kB / 3.122 GB, free: 83.94 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.127e-05/5.337, allocations: 8 kB / 3.122 GB, free: 83.93 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.964e-05/5.337, allocations: 330.8 kB / 3.122 GB, free: 83.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/5.337, allocations: 68.23 kB / 3.122 GB, free: 83.54 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/5.337, allocations: 167.6 kB / 3.122 GB, free: 83.33 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/5.338, allocations: 249.8 kB / 3.123 GB, free: 83.05 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/5.338, allocations: 0 / 3.123 GB, free: 83.05 MB / 0.948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004276/5.338, allocations: 277.1 kB / 3.123 GB, free: 82.77 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/5.338, allocations: 8 kB / 3.123 GB, free: 82.77 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.964e-06/5.338, allocations: 5.672 kB / 3.123 GB, free: 82.76 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/5.338, allocations: 8.109 kB / 3.123 GB, free: 82.75 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/5.338, allocations: 63.86 kB / 3.123 GB, free: 82.69 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.078e-06/5.338, allocations: 4 kB / 3.123 GB, free: 82.69 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/5.339, allocations: 35.58 kB / 3.123 GB, free: 82.65 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/5.339, allocations: 12 kB / 3.123 GB, free: 82.64 MB / 0.948 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.0001082/5.339, allocations: 145.6 kB / 3.123 GB, free: 82.49 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/5.339, allocations: 23.8 kB / 3.123 GB, free: 82.46 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003895/5.339, allocations: 246.8 kB / 3.123 GB, free: 82.22 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/5.339, allocations: 7.984 kB / 3.123 GB, free: 82.21 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/5.339, allocations: 0 / 3.123 GB, free: 82.21 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/5.339, allocations: 0 / 3.123 GB, free: 82.21 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005337/5.34, allocations: 0.5428 MB / 3.124 GB, free: 81.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/5.34, allocations: 0 / 3.124 GB, free: 81.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/5.34, allocations: 39.92 kB / 3.124 GB, free: 81.57 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/5.34, allocations: 4 kB / 3.124 GB, free: 81.56 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/5.34, allocations: 0 / 3.124 GB, free: 81.56 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/5.34, allocations: 4 kB / 3.124 GB, free: 81.56 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/5.34, allocations: 0 / 3.124 GB, free: 81.56 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003715/5.34, allocations: 332 kB / 3.124 GB, free: 81.21 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.396e-05/5.341, allocations: 112.8 kB / 3.124 GB, free: 81.09 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.206e-05/5.341, allocations: 11.98 kB / 3.125 GB, free: 81.07 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/5.341, allocations: 8 kB / 3.125 GB, free: 81.07 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/5.341, allocations: 11.98 kB / 3.125 GB, free: 81.05 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-05/5.341, allocations: 15.98 kB / 3.125 GB, free: 81.04 MB / 0.948 GB Notification: Performance of sorting global known variables: time 9.481e-05/5.341, allocations: 145.4 kB / 3.125 GB, free: 80.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/5.341, allocations: 0 / 3.125 GB, free: 80.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005775/5.342, allocations: 159.8 kB / 3.125 GB, free: 80.74 MB / 0.948 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.0007974/5.342, allocations: 0.6353 MB / 3.125 GB, free: 80.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003097/5.343, allocations: 197.2 kB / 3.126 GB, free: 79.91 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/5.343, allocations: 3.938 kB / 3.126 GB, free: 79.91 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/5.343, allocations: 89.97 kB / 3.126 GB, free: 79.82 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005853/5.343, allocations: 97.44 kB / 3.126 GB, free: 79.73 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006491/5.344, allocations: 0.5156 MB / 3.126 GB, free: 79.18 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/5.344, allocations: 0.7328 MB / 3.127 GB, free: 78.43 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002984/5.345, allocations: 58.23 kB / 3.127 GB, free: 78.37 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.484e-05/5.345, allocations: 27.44 kB / 3.127 GB, free: 78.34 MB / 0.948 GB Notification: Performance of SimCode: time 2.2e-07/5.345, allocations: 0 / 3.127 GB, free: 78.34 MB / 0.948 GB Notification: Performance of Templates: time 0.01484/5.359, allocations: 12.13 MB / 3.139 GB, free: 66.27 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Media.Examples.AirProperties.makefile (rm -f Buildings_8_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirProperties.sim & ./Buildings_8_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.AirProperties.pipe 2>&1)