Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.654/1.654, allocations: 285.4 MB / 298 MB, free: 6.008 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.001281/0.001281, allocations: 180.8 kB / 366.4 MB, free: 2.094 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.567/1.567, allocations: 205.1 MB / 0.6248 GB, free: 7.762 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.0008676/0.0008678, allocations: 93.88 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.465e-05/3.468e-05, allocations: 4 kB / 0.8583 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7241/0.7241, allocations: 115.3 MB / 0.9709 GB, free: 77.83 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2048/0.929, allocations: 141.8 MB / 1.109 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/0.9293, allocations: 83.94 kB / 1.109 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02311/0.9524, allocations: 8.898 MB / 1.118 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9525, allocations: 0 / 1.118 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.195e-05/0.9525, allocations: 12 kB / 1.118 GB, free: 1.094 MB / 0.7136 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.001508/0.954, allocations: 0.7829 MB / 1.119 GB, free: 268 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.9541, allocations: 8.031 kB / 1.119 GB, free: 260 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002339/0.9543, allocations: 71.16 kB / 1.119 GB, free: 188 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007923/0.9551, allocations: 448.6 kB / 1.119 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.137e-05/0.9552, allocations: 37.31 kB / 1.119 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.069e-05/0.9553, allocations: 52 kB / 1.12 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009623/0.9563, allocations: 0.5109 MB / 1.12 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.9563, allocations: 0 / 1.12 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.283e-05/0.9563, allocations: 24 kB / 1.12 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.9564, allocations: 13.69 kB / 1.12 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006873/0.9571, allocations: 363.2 kB / 1.12 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002779/0.9599, allocations: 1.788 MB / 1.122 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.9611, allocations: 0.4888 MB / 1.123 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002645/0.9613, allocations: 168.8 kB / 1.123 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.766e-05/0.9614, allocations: 8 kB / 1.123 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003746/0.9618, allocations: 234.9 kB / 1.123 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=37): time 3.086e-06/0.9618, allocations: 0 / 1.123 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37): time 0.0006239/0.9624, allocations: 337.6 kB / 1.123 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.39e-05/0.9625, allocations: 162.2 kB / 1.123 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005921/0.9631, allocations: 476.9 kB / 1.124 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.239e-05/0.9632, allocations: 37.7 kB / 1.124 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/0.9634, allocations: 292.4 kB / 1.124 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.9635, allocations: 118.2 kB / 1.124 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-05/0.9635, allocations: 12 kB / 1.124 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.9637, allocations: 362.8 kB / 1.125 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.9639, allocations: 108 kB / 1.125 GB, free: 9.996 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.9642, allocations: 206.4 kB / 1.125 GB, free: 9.766 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/0.9644, allocations: 118.3 kB / 1.125 GB, free: 9.652 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.9644, allocations: 4 kB / 1.125 GB, free: 9.648 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006157/0.965, allocations: 386 kB / 1.126 GB, free: 9.266 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.000161/0.9652, allocations: 364 kB / 1.126 GB, free: 8.883 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.9652, allocations: 6.562 kB / 1.126 GB, free: 8.879 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.9652, allocations: 4.219 kB / 1.126 GB, free: 8.875 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/0.9656, allocations: 79.89 kB / 1.126 GB, free: 8.797 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.9656, allocations: 7.938 kB / 1.126 GB, free: 8.789 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000367/0.966, allocations: 91.48 kB / 1.126 GB, free: 8.699 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.315e-05/0.9661, allocations: 11.98 kB / 1.126 GB, free: 8.688 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.9661, allocations: 4 kB / 1.126 GB, free: 8.684 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004798/0.9666, allocations: 292.1 kB / 1.126 GB, free: 8.398 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.9666, allocations: 6.297 kB / 1.126 GB, free: 8.395 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.9666, allocations: 7.953 kB / 1.126 GB, free: 8.387 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/0.9669, allocations: 71.89 kB / 1.126 GB, free: 8.316 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.9669, allocations: 2.812 kB / 1.126 GB, free: 8.316 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003132/0.9672, allocations: 75.56 kB / 1.126 GB, free: 8.242 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.9673, allocations: 12 kB / 1.127 GB, free: 8.23 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 () * 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.0001259/0.9674, allocations: 128.9 kB / 1.127 GB, free: 8.098 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.624e-05/0.9675, allocations: 55.34 kB / 1.127 GB, free: 8.043 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006424/0.9681, allocations: 366.4 kB / 1.127 GB, free: 7.68 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.9682, allocations: 7.953 kB / 1.127 GB, free: 7.672 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.9682, allocations: 0 / 1.127 GB, free: 7.672 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.9682, allocations: 11.98 kB / 1.127 GB, free: 7.66 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/0.9695, allocations: 1.068 MB / 1.128 GB, free: 6.531 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.9695, allocations: 0 / 1.128 GB, free: 6.531 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003629/0.9699, allocations: 82.77 kB / 1.128 GB, free: 6.453 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.267e-06/0.9699, allocations: 11.98 kB / 1.128 GB, free: 6.441 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/0.9699, allocations: 4 kB / 1.128 GB, free: 6.438 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.9699, allocations: 4 kB / 1.128 GB, free: 6.434 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.97, allocations: 0 / 1.128 GB, free: 6.434 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008806/0.9708, allocations: 0.6262 MB / 1.129 GB, free: 5.781 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.971, allocations: 140.3 kB / 1.129 GB, free: 5.625 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.424e-05/0.9711, allocations: 16.06 kB / 1.129 GB, free: 5.609 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003117/0.9714, allocations: 51.89 kB / 1.129 GB, free: 5.559 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.336e-05/0.9715, allocations: 27.95 kB / 1.129 GB, free: 5.531 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.9715, allocations: 12 kB / 1.129 GB, free: 5.52 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004485/0.972, allocations: 373.6 kB / 1.129 GB, free: 5.16 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.8e-07/0.972, allocations: 0 / 1.129 GB, free: 5.16 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005485/0.9725, allocations: 183.4 kB / 1.13 GB, free: 4.98 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) * 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.0001793/0.9727, allocations: 111.2 kB / 1.13 GB, free: 4.863 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008149/0.9735, allocations: 481.5 kB / 1.13 GB, free: 4.395 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.9735, allocations: 384 / 1.13 GB, free: 4.395 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002489/0.9738, allocations: 163.8 kB / 1.13 GB, free: 4.234 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005123/0.9743, allocations: 94.2 kB / 1.13 GB, free: 4.145 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.9756, allocations: 0.659 MB / 1.131 GB, free: 3.453 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/0.9761, allocations: 0.8795 MB / 1.132 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0004297/0.9766, allocations: 79.84 kB / 1.132 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.9767, allocations: 39.36 kB / 1.132 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of SimCode: time 4.01e-07/0.9767, allocations: 0 / 1.132 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of Templates: time 0.01241/0.9891, allocations: 5.719 MB / 1.138 GB, free: 12.84 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & ./Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)