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.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.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.1-maint.8.1.x/package.mo): time 1.675/1.675, allocations: 293 MB / 309 MB, free: 4.777 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.001165/0.001165, allocations: 179.7 kB / 378.7 MB, free: 1.016 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.912/1.912, allocations: 205.4 MB / 0.6383 GB, free: 8.227 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.0009221/0.0009222, allocations: 90.48 kB / 0.7527 GB, free: 62.78 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005497/0.0005498, allocations: 16 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2955, allocations: 116.4 MB / 0.9904 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7738/1.069, allocations: 142.9 MB / 1.13 GB, free: 31.8 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/1.07, allocations: 84.36 kB / 1.13 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0228/1.092, allocations: 8.936 MB / 1.139 GB, free: 25.8 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.939e-06/1.093, allocations: 1.219 kB / 1.139 GB, free: 25.8 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.026e-05/1.093, allocations: 12 kB / 1.139 GB, free: 25.79 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.002043/1.095, allocations: 0.865 MB / 1.14 GB, free: 24.95 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/1.095, allocations: 8.031 kB / 1.14 GB, free: 24.95 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003112/1.095, allocations: 76.09 kB / 1.14 GB, free: 24.87 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008271/1.096, allocations: 464.9 kB / 1.14 GB, free: 24.42 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.598e-05/1.096, allocations: 42.34 kB / 1.14 GB, free: 24.38 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/1.096, allocations: 53.03 kB / 1.14 GB, free: 24.33 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/1.097, allocations: 0.5695 MB / 1.141 GB, free: 23.84 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/1.097, allocations: 0.7969 kB / 1.141 GB, free: 23.84 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.218e-05/1.097, allocations: 23.94 kB / 1.141 GB, free: 23.81 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/1.097, allocations: 12 kB / 1.141 GB, free: 23.8 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/1.098, allocations: 470 kB / 1.141 GB, free: 23.4 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003176/1.102, allocations: 1.789 MB / 1.143 GB, free: 21.9 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/1.103, allocations: 0.609 MB / 1.144 GB, free: 21.37 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004075/1.104, allocations: 222.6 kB / 1.144 GB, free: 21.18 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.973e-05/1.104, allocations: 6.938 kB / 1.144 GB, free: 21.17 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005517/1.104, allocations: 293.3 kB / 1.144 GB, free: 20.91 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=37): time 3.277e-06/1.104, allocations: 0 / 1.144 GB, free: 20.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37): time 0.001242/1.105, allocations: 0.5872 MB / 1.145 GB, free: 20.38 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/1.106, allocations: 158.8 kB / 1.145 GB, free: 20.18 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006815/1.106, allocations: 0.5355 MB / 1.145 GB, free: 19.71 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.923e-05/1.106, allocations: 41.7 kB / 1.145 GB, free: 19.66 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/1.106, allocations: 293.1 kB / 1.146 GB, free: 19.39 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/1.107, allocations: 112.6 kB / 1.146 GB, free: 19.29 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.82e-05/1.107, allocations: 8 kB / 1.146 GB, free: 19.28 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001202/1.107, allocations: 364.9 kB / 1.146 GB, free: 18.93 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003569/1.107, allocations: 165.6 kB / 1.146 GB, free: 18.79 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003986/1.108, allocations: 259.1 kB / 1.147 GB, free: 18.54 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006906/1.108, allocations: 374.5 kB / 1.147 GB, free: 18.19 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/1.108, allocations: 0 / 1.147 GB, free: 18.19 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008949/1.109, allocations: 486.1 kB / 1.147 GB, free: 17.75 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.494e-05/1.109, allocations: 112.2 kB / 1.148 GB, free: 17.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/1.109, allocations: 9 kB / 1.148 GB, free: 17.61 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/1.109, allocations: 4.031 kB / 1.148 GB, free: 17.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003461/1.11, allocations: 89.91 kB / 1.148 GB, free: 17.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/1.11, allocations: 0.6094 kB / 1.148 GB, free: 17.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003587/1.11, allocations: 95.09 kB / 1.148 GB, free: 17.46 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.852e-05/1.11, allocations: 12.61 kB / 1.148 GB, free: 17.45 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/1.11, allocations: 7.938 kB / 1.148 GB, free: 17.44 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006009/1.111, allocations: 340.2 kB / 1.148 GB, free: 17.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-06/1.111, allocations: 0 / 1.148 GB, free: 17.13 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.161e-06/1.111, allocations: 5.031 kB / 1.148 GB, free: 17.13 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/1.111, allocations: 74.52 kB / 1.148 GB, free: 17.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/1.111, allocations: 4.891 kB / 1.148 GB, free: 17.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002899/1.111, allocations: 68.55 kB / 1.148 GB, free: 17 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/1.111, allocations: 12.75 kB / 1.148 GB, free: 16.99 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.0002954/1.112, allocations: 274.4 kB / 1.149 GB, free: 16.71 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.167e-05/1.112, allocations: 55.34 kB / 1.149 GB, free: 16.66 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008854/1.113, allocations: 465.7 kB / 1.149 GB, free: 16.26 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/1.113, allocations: 4 kB / 1.149 GB, free: 16.26 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/1.113, allocations: 0.9375 kB / 1.149 GB, free: 16.26 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/1.113, allocations: 6.156 kB / 1.149 GB, free: 16.25 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001616/1.114, allocations: 1.177 MB / 1.15 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/1.114, allocations: 0 / 1.15 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003636/1.115, allocations: 85.14 kB / 1.15 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/1.115, allocations: 4 kB / 1.15 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.064e-05/1.115, allocations: 13.77 kB / 1.15 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.151e-06/1.115, allocations: 4.875 kB / 1.15 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.115, allocations: 0 / 1.15 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/1.116, allocations: 0.7654 MB / 1.151 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/1.116, allocations: 141.2 kB / 1.151 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.674e-05/1.116, allocations: 12.7 kB / 1.151 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002957/1.116, allocations: 51.2 kB / 1.151 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/1.117, allocations: 32.8 kB / 1.151 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-05/1.117, allocations: 14 kB / 1.151 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005717/1.117, allocations: 377.1 kB / 1.152 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.117, allocations: 0 / 1.152 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006332/1.118, allocations: 176 kB / 1.152 GB, free: 13.66 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.0002187/1.118, allocations: 115.3 kB / 1.152 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00136/1.119, allocations: 0.573 MB / 1.152 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.119, allocations: 4.062 kB / 1.152 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004389/1.12, allocations: 202.7 kB / 1.153 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007525/1.121, allocations: 103.1 kB / 1.153 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/1.123, allocations: 1.096 MB / 1.154 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004385/1.123, allocations: 0.8642 MB / 1.155 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003341/1.124, allocations: 62.22 kB / 1.155 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/1.124, allocations: 39.09 kB / 1.155 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of SimCode: time 3.1e-07/1.124, allocations: 0 / 1.155 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of Templates: time 0.01235/1.136, allocations: 4.947 MB / 1.16 GB, free: 8.008 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)