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.743/1.743, allocations: 292.6 MB / 307.5 MB, free: 5.18 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.001211/0.001211, allocations: 191.9 kB / 377.1 MB, free: 1.523 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.779/1.779, allocations: 205.4 MB / 0.6367 GB, free: 8.625 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.0008988/0.000899, allocations: 93.59 kB / 0.751 GB, free: 62.9 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003631, allocations: 11.98 kB / 0.8748 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3299, allocations: 116.3 MB / 0.9884 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.834/1.164, allocations: 142.9 MB / 1.128 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003327/1.164, allocations: 82.62 kB / 1.128 GB, free: 32.72 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02629/1.191, allocations: 8.907 MB / 1.137 GB, free: 26.79 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.318e-06/1.191, allocations: 0 / 1.137 GB, free: 26.79 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.704e-05/1.191, allocations: 16 kB / 1.137 GB, free: 26.78 MB / 0.7292 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.00292/1.194, allocations: 0.8729 MB / 1.138 GB, free: 25.95 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.773e-05/1.194, allocations: 12.02 kB / 1.138 GB, free: 25.93 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000469/1.194, allocations: 73.88 kB / 1.138 GB, free: 25.86 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/1.196, allocations: 453 kB / 1.138 GB, free: 25.42 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.192e-05/1.196, allocations: 37.31 kB / 1.138 GB, free: 25.39 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001668/1.196, allocations: 59.34 kB / 1.138 GB, free: 25.33 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/1.198, allocations: 0.5603 MB / 1.139 GB, free: 24.85 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/1.198, allocations: 1.125 kB / 1.139 GB, free: 24.85 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-05/1.198, allocations: 24.56 kB / 1.139 GB, free: 24.82 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/1.198, allocations: 12 kB / 1.139 GB, free: 24.81 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/1.199, allocations: 469.9 kB / 1.139 GB, free: 24.41 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003882/1.203, allocations: 1.785 MB / 1.141 GB, free: 22.92 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/1.205, allocations: 0.5833 MB / 1.141 GB, free: 22.41 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.464e-05/1.205, allocations: 4.516 kB / 1.141 GB, free: 22.4 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006298/1.205, allocations: 296 kB / 1.142 GB, free: 22.14 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=37): time 3.867e-06/1.205, allocations: 0 / 1.142 GB, free: 22.14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37): time 0.001288/1.207, allocations: 0.5766 MB / 1.142 GB, free: 21.62 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.156e-05/1.207, allocations: 163 kB / 1.142 GB, free: 21.42 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006495/1.207, allocations: 480.1 kB / 1.143 GB, free: 21 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/1.207, allocations: 35.25 kB / 1.143 GB, free: 20.96 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/1.208, allocations: 289 kB / 1.143 GB, free: 20.7 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.825e-05/1.208, allocations: 124.2 kB / 1.143 GB, free: 20.58 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.662e-05/1.208, allocations: 4 kB / 1.143 GB, free: 20.58 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001419/1.208, allocations: 369.3 kB / 1.144 GB, free: 20.23 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003589/1.208, allocations: 172.6 kB / 1.144 GB, free: 20.08 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004086/1.209, allocations: 252.8 kB / 1.144 GB, free: 19.83 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003526/1.209, allocations: 176.4 kB / 1.144 GB, free: 19.67 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/1.209, allocations: 0 / 1.144 GB, free: 19.67 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008503/1.21, allocations: 496.8 kB / 1.145 GB, free: 19.22 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001133/1.21, allocations: 364.6 kB / 1.145 GB, free: 18.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/1.21, allocations: 4 kB / 1.145 GB, free: 18.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/1.21, allocations: 0.5625 kB / 1.145 GB, free: 18.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003726/1.21, allocations: 89.67 kB / 1.145 GB, free: 18.76 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/1.211, allocations: 0 / 1.145 GB, free: 18.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003489/1.211, allocations: 92.7 kB / 1.145 GB, free: 18.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/1.211, allocations: 12.8 kB / 1.145 GB, free: 18.67 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.794e-06/1.211, allocations: 4 kB / 1.145 GB, free: 18.67 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006098/1.212, allocations: 343.4 kB / 1.146 GB, free: 18.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/1.212, allocations: 0.5625 kB / 1.146 GB, free: 18.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.547e-06/1.212, allocations: 4 kB / 1.146 GB, free: 18.36 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/1.212, allocations: 78.86 kB / 1.146 GB, free: 18.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/1.212, allocations: 5.453 kB / 1.146 GB, free: 18.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002673/1.212, allocations: 69.44 kB / 1.146 GB, free: 18.23 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/1.212, allocations: 13.64 kB / 1.146 GB, free: 18.21 MB / 0.7292 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 () * Number of clocked 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 0.0002871/1.212, allocations: 261.8 kB / 1.146 GB, free: 17.95 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.965e-05/1.213, allocations: 63.86 kB / 1.146 GB, free: 17.89 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009267/1.213, allocations: 469.6 kB / 1.147 GB, free: 17.48 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/1.213, allocations: 4 kB / 1.147 GB, free: 17.48 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/1.213, allocations: 3.953 kB / 1.147 GB, free: 17.48 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/1.214, allocations: 2.062 kB / 1.147 GB, free: 17.48 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/1.215, allocations: 1.176 MB / 1.148 GB, free: 16.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.215, allocations: 1.5 kB / 1.148 GB, free: 16.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003662/1.215, allocations: 80.45 kB / 1.148 GB, free: 16.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/1.216, allocations: 4.609 kB / 1.148 GB, free: 16.36 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/1.216, allocations: 10.09 kB / 1.148 GB, free: 16.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/1.216, allocations: 4.938 kB / 1.148 GB, free: 16.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.216, allocations: 0 / 1.148 GB, free: 16.34 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/1.217, allocations: 0.775 MB / 1.149 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/1.217, allocations: 146.4 kB / 1.149 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.805e-05/1.217, allocations: 8.656 kB / 1.149 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002928/1.217, allocations: 48.67 kB / 1.149 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/1.217, allocations: 32.61 kB / 1.149 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/1.217, allocations: 13.36 kB / 1.149 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004437/1.218, allocations: 376.6 kB / 1.149 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.052e-06/1.218, allocations: 0 / 1.149 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005275/1.218, allocations: 188 kB / 1.149 GB, free: 14.87 MB / 0.7292 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) * Number of clocked states: 0 () * 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.0001541/1.219, allocations: 113.7 kB / 1.149 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001154/1.22, allocations: 0.5721 MB / 1.15 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/1.22, allocations: 0 / 1.15 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003748/1.22, allocations: 215.4 kB / 1.15 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005465/1.221, allocations: 82.81 kB / 1.15 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/1.222, allocations: 1.097 MB / 1.151 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/1.223, allocations: 0.8767 MB / 1.152 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002784/1.223, allocations: 67.48 kB / 1.152 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/1.223, allocations: 46.34 kB / 1.152 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of SimCode: time 6.21e-07/1.223, allocations: 0 / 1.152 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of Templates: time 0.0106/1.234, allocations: 4.878 MB / 1.157 GB, free: 9.246 MB / 0.7292 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)