Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV") translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.831/1.831, allocations: 297.8 MB / 313.7 MB, free: 124 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 180.5 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.685/1.685, allocations: 223.2 MB / 0.6626 GB, free: 4.27 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009183/0.0009181, allocations: 90.78 kB / 0.7808 GB, free: 50.36 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004647/0.0004649, allocations: 14.78 kB / 0.9088 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8958/0.8963, allocations: 120.3 MB / 1.026 GB, free: 55.78 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2182/1.115, allocations: 145.7 MB / 1.169 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/1.115, allocations: 91.36 kB / 1.169 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0245/1.139, allocations: 8.975 MB / 1.177 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.346e-06/1.139, allocations: 0 / 1.177 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.443e-05/1.139, allocations: 15.98 kB / 1.177 GB, free: 7.215 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.002005/1.141, allocations: 0.8618 MB / 1.178 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/1.142, allocations: 8.031 kB / 1.178 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002339/1.142, allocations: 76.03 kB / 1.178 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000758/1.143, allocations: 465.6 kB / 1.179 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.549e-05/1.143, allocations: 41.48 kB / 1.179 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-05/1.143, allocations: 52.38 kB / 1.179 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/1.144, allocations: 0.5699 MB / 1.179 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/1.144, allocations: 4.188 kB / 1.179 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.403e-05/1.144, allocations: 27.94 kB / 1.179 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/1.144, allocations: 15.94 kB / 1.179 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/1.145, allocations: 459.8 kB / 1.18 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002915/1.148, allocations: 1.79 MB / 1.182 GB, free: 2.715 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/1.15, allocations: 0.6041 MB / 1.182 GB, free: 2.105 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000442/1.15, allocations: 220.8 kB / 1.182 GB, free: 1.887 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.644e-05/1.15, allocations: 4 kB / 1.182 GB, free: 1.883 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006309/1.151, allocations: 287.8 kB / 1.183 GB, free: 1.582 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=37): time 3.246e-06/1.151, allocations: 4 kB / 1.183 GB, free: 1.578 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37): time 0.001332/1.152, allocations: 0.5893 MB / 1.183 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.301e-05/1.152, allocations: 158.2 kB / 1.183 GB, free: 0.793 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006959/1.153, allocations: 0.5263 MB / 1.184 GB, free: 264 kB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.931e-05/1.153, allocations: 45.53 kB / 1.184 GB, free: 216 kB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/1.153, allocations: 289.3 kB / 1.184 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001/1.153, allocations: 118.3 kB / 1.184 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/1.153, allocations: 11.94 kB / 1.184 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001565/1.153, allocations: 374.8 kB / 1.185 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003812/1.154, allocations: 159.9 kB / 1.185 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004426/1.154, allocations: 252.3 kB / 1.185 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007391/1.155, allocations: 375.9 kB / 1.186 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.155, allocations: 0 / 1.186 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009335/1.156, allocations: 480.6 kB / 1.186 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.281e-05/1.156, allocations: 123.7 kB / 1.186 GB, free: 14 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/1.156, allocations: 5.688 kB / 1.186 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/1.156, allocations: 4 kB / 1.186 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003667/1.156, allocations: 87.83 kB / 1.186 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/1.157, allocations: 4 kB / 1.186 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003582/1.157, allocations: 87.58 kB / 1.186 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.648e-05/1.157, allocations: 15.98 kB / 1.186 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 6.963e-06/1.157, allocations: 4 kB / 1.186 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006566/1.158, allocations: 336.1 kB / 1.187 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/1.158, allocations: 4 kB / 1.187 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.937e-06/1.158, allocations: 0 / 1.187 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002944/1.158, allocations: 71.89 kB / 1.187 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/1.158, allocations: 7.938 kB / 1.187 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003842/1.158, allocations: 75.59 kB / 1.187 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.144e-05/1.158, allocations: 12 kB / 1.187 GB, free: 13.3 MB / 0.7605 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.0004027/1.159, allocations: 270.9 kB / 1.187 GB, free: 13.02 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.22e-05/1.159, allocations: 55.25 kB / 1.187 GB, free: 12.97 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/1.16, allocations: 476.3 kB / 1.188 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/1.16, allocations: 9.938 kB / 1.188 GB, free: 12.49 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/1.16, allocations: 0 / 1.188 GB, free: 12.49 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/1.16, allocations: 0 / 1.188 GB, free: 12.49 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/1.162, allocations: 1.181 MB / 1.189 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/1.162, allocations: 0 / 1.189 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003519/1.162, allocations: 79.89 kB / 1.189 GB, free: 11.17 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.746e-06/1.162, allocations: 4.031 kB / 1.189 GB, free: 11.17 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.138e-05/1.162, allocations: 11.98 kB / 1.189 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/1.162, allocations: 7.938 kB / 1.189 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/1.162, allocations: 3.938 kB / 1.189 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/1.164, allocations: 0.7567 MB / 1.19 GB, free: 10.37 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/1.164, allocations: 136.4 kB / 1.19 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.677e-05/1.164, allocations: 13.56 kB / 1.19 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003115/1.164, allocations: 55.89 kB / 1.19 GB, free: 10.15 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/1.164, allocations: 28.95 kB / 1.19 GB, free: 10.12 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/1.164, allocations: 8 kB / 1.19 GB, free: 10.11 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0005102/1.165, allocations: 390.8 kB / 1.19 GB, free: 9.734 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.2e-07/1.165, allocations: 0 / 1.19 GB, free: 9.734 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006003/1.165, allocations: 171.4 kB / 1.19 GB, free: 9.566 MB / 0.7605 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.000193/1.166, allocations: 121 kB / 1.19 GB, free: 9.441 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001224/1.167, allocations: 0.5703 MB / 1.191 GB, free: 8.871 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/1.167, allocations: 4 kB / 1.191 GB, free: 8.867 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003957/1.167, allocations: 211.9 kB / 1.191 GB, free: 8.66 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000647/1.168, allocations: 97.28 kB / 1.191 GB, free: 8.562 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/1.17, allocations: 1.091 MB / 1.192 GB, free: 7.441 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004666/1.171, allocations: 0.8628 MB / 1.193 GB, free: 6.551 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002852/1.171, allocations: 60.47 kB / 1.193 GB, free: 6.492 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/1.171, allocations: 44.55 kB / 1.193 GB, free: 6.449 MB / 0.7605 GB Notification: Performance of SimCode: time 6.01e-07/1.171, allocations: 0 / 1.193 GB, free: 6.449 MB / 0.7605 GB Notification: Performance of Templates: time 0.01115/1.182, allocations: 4.947 MB / 1.198 GB, free: 1.715 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.makefile (rm -f Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.sim & ./Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe 2>&1)