Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.603/1.603, allocations: 289.7 MB / 302.2 MB, free: 2.16 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.001158/0.001158, allocations: 182.3 kB / 371.6 MB, free: 3.402 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.665/1.665, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0008438/0.0008437, allocations: 88.73 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.532e-05/3.587e-05, allocations: 0 / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2546, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7373/0.992, allocations: 142.8 MB / 1.119 GB, free: 41.94 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/0.9922, allocations: 82.45 kB / 1.119 GB, free: 41.9 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01988/1.012, allocations: 8.889 MB / 1.128 GB, free: 37.39 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.253e-06/1.012, allocations: 0 / 1.128 GB, free: 37.39 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.449e-05/1.012, allocations: 16 kB / 1.128 GB, free: 37.37 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001309/1.014, allocations: 0.7845 MB / 1.129 GB, free: 36.67 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/1.014, allocations: 8.031 kB / 1.129 GB, free: 36.66 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002307/1.014, allocations: 73.62 kB / 1.129 GB, free: 36.59 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006744/1.015, allocations: 445 kB / 1.129 GB, free: 36.23 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.48e-05/1.015, allocations: 43.52 kB / 1.129 GB, free: 36.21 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-05/1.015, allocations: 51.38 kB / 1.129 GB, free: 36.18 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000846/1.016, allocations: 0.5071 MB / 1.13 GB, free: 35.88 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/1.016, allocations: 0 / 1.13 GB, free: 35.88 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.665e-05/1.016, allocations: 24.12 kB / 1.13 GB, free: 35.88 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/1.016, allocations: 12 kB / 1.13 GB, free: 35.86 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005973/1.016, allocations: 364.6 kB / 1.13 GB, free: 35.66 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002456/1.019, allocations: 1.781 MB / 1.132 GB, free: 34.62 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/1.02, allocations: 497.1 kB / 1.132 GB, free: 34.3 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002397/1.02, allocations: 176.9 kB / 1.133 GB, free: 34.2 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.534e-05/1.02, allocations: 7.062 kB / 1.133 GB, free: 34.2 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00033/1.02, allocations: 243.1 kB / 1.133 GB, free: 34.04 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=37): time 2.645e-06/1.02, allocations: 0 / 1.133 GB, free: 34.04 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37): time 0.0005753/1.021, allocations: 337.6 kB / 1.133 GB, free: 33.81 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/1.021, allocations: 162.2 kB / 1.133 GB, free: 33.62 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00051/1.022, allocations: 470.2 kB / 1.134 GB, free: 33.29 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.758e-05/1.022, allocations: 40.25 kB / 1.134 GB, free: 33.26 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000166/1.022, allocations: 291.7 kB / 1.134 GB, free: 33.1 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.264e-05/1.022, allocations: 118.9 kB / 1.134 GB, free: 33.01 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.817e-05/1.022, allocations: 7.5 kB / 1.134 GB, free: 33 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.243e-05/1.022, allocations: 365.4 kB / 1.135 GB, free: 32.68 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/1.022, allocations: 116 kB / 1.135 GB, free: 32.62 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/1.022, allocations: 192.8 kB / 1.135 GB, free: 32.46 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/1.023, allocations: 132.5 kB / 1.135 GB, free: 32.39 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.023, allocations: 4 kB / 1.135 GB, free: 32.39 MB / 0.7448 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005198/1.023, allocations: 371.4 kB / 1.135 GB, free: 32.14 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001087/1.023, allocations: 369.2 kB / 1.136 GB, free: 31.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/1.023, allocations: 0 / 1.136 GB, free: 31.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/1.023, allocations: 4.656 kB / 1.136 GB, free: 31.76 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003538/1.024, allocations: 85.75 kB / 1.136 GB, free: 31.69 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/1.024, allocations: 8 kB / 1.136 GB, free: 31.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003356/1.024, allocations: 84.44 kB / 1.136 GB, free: 31.62 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.81e-05/1.024, allocations: 20.67 kB / 1.136 GB, free: 31.61 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/1.024, allocations: 4 kB / 1.136 GB, free: 31.6 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004102/1.025, allocations: 288.5 kB / 1.136 GB, free: 31.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-06/1.025, allocations: 0.8438 kB / 1.136 GB, free: 31.44 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.133e-06/1.025, allocations: 7.953 kB / 1.136 GB, free: 31.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002841/1.025, allocations: 73.92 kB / 1.136 GB, free: 31.37 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/1.025, allocations: 6.891 kB / 1.136 GB, free: 31.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002783/1.025, allocations: 73.14 kB / 1.136 GB, free: 31.31 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/1.025, allocations: 11.56 kB / 1.136 GB, free: 31.3 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,$PRE.vavBoxCon.hysWitHol.y,vavBoxCon.hysWitHol.y,vavBoxCon.assMes.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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 9.508e-05/1.025, allocations: 128 kB / 1.136 GB, free: 31.18 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.692e-05/1.025, allocations: 57.34 kB / 1.137 GB, free: 31.13 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005509/1.026, allocations: 368.4 kB / 1.137 GB, free: 30.93 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/1.026, allocations: 8.797 kB / 1.137 GB, free: 30.92 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/1.026, allocations: 0 / 1.137 GB, free: 30.92 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/1.026, allocations: 7.469 kB / 1.137 GB, free: 30.91 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/1.027, allocations: 1.072 MB / 1.138 GB, free: 30.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/1.027, allocations: 0 / 1.138 GB, free: 30.22 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003379/1.027, allocations: 82.17 kB / 1.138 GB, free: 30.15 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/1.027, allocations: 7.953 kB / 1.138 GB, free: 30.14 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.773e-05/1.027, allocations: 7.438 kB / 1.138 GB, free: 30.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/1.027, allocations: 4 kB / 1.138 GB, free: 30.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.027, allocations: 5.531 kB / 1.138 GB, free: 30.14 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007024/1.028, allocations: 0.6173 MB / 1.139 GB, free: 29.7 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.852e-05/1.028, allocations: 149.6 kB / 1.139 GB, free: 29.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.91e-05/1.028, allocations: 10.5 kB / 1.139 GB, free: 29.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002972/1.029, allocations: 54.91 kB / 1.139 GB, free: 29.51 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.429e-05/1.029, allocations: 29.33 kB / 1.139 GB, free: 29.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/1.029, allocations: 11.19 kB / 1.139 GB, free: 29.49 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003832/1.029, allocations: 373.8 kB / 1.139 GB, free: 29.24 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2e-07/1.029, allocations: 0 / 1.139 GB, free: 29.24 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004865/1.03, allocations: 176.2 kB / 1.139 GB, free: 29.08 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vavBoxCon.conHea.I.y,vavBoxCon.conCoo.I.y) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,vavBoxCon.hysWitHol.y,vavBoxCon.assMes.u) * Number of discrete states: 1 (vavBoxCon.hysWitHol.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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 Backend phase and start with SimCode phase: time 0.0001388/1.03, allocations: 116.7 kB / 1.14 GB, free: 28.96 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006857/1.031, allocations: 483.5 kB / 1.14 GB, free: 28.66 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/1.031, allocations: 3.828 kB / 1.14 GB, free: 28.66 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002088/1.031, allocations: 156.7 kB / 1.14 GB, free: 28.56 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/1.031, allocations: 95.23 kB / 1.14 GB, free: 28.51 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/1.032, allocations: 0.659 MB / 1.141 GB, free: 27.97 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/1.033, allocations: 0.8793 MB / 1.142 GB, free: 27.15 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004005/1.033, allocations: 89.48 kB / 1.142 GB, free: 27.09 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.035e-05/1.033, allocations: 31.44 kB / 1.142 GB, free: 27.06 MB / 0.7448 GB Notification: Performance of SimCode: time 3.71e-07/1.033, allocations: 0 / 1.142 GB, free: 27.06 MB / 0.7448 GB Notification: Performance of Templates: time 0.01198/1.045, allocations: 5.704 MB / 1.147 GB, free: 23.78 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.makefile (rm -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & ./Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)