Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.463/2.463, allocations: 287.5 MB / 303.2 MB, free: 8.176 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.001355/0.001355, allocations: 175.5 kB / 371.8 MB, free: 10.77 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.078/2.078, allocations: 205.4 MB / 0.6305 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009611/0.0009611, allocations: 89.25 kB / 0.7438 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004771/0.0004772, allocations: 10.14 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2044, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8931/1.098, allocations: 141.7 MB / 1.118 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000321/1.098, allocations: 88.92 kB / 1.118 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03182/1.13, allocations: 8.917 MB / 1.126 GB, free: 31 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.703e-06/1.13, allocations: 0 / 1.126 GB, free: 31 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.717e-05/1.13, allocations: 15.41 kB / 1.127 GB, free: 31 MB / 0.698 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.001931/1.132, allocations: 0.8622 MB / 1.127 GB, free: 30.43 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/1.132, allocations: 11.5 kB / 1.127 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/1.132, allocations: 73.41 kB / 1.127 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007458/1.133, allocations: 465.1 kB / 1.128 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.547e-05/1.133, allocations: 41.78 kB / 1.128 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/1.133, allocations: 54.86 kB / 1.128 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/1.134, allocations: 0.5725 MB / 1.129 GB, free: 30.03 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/1.134, allocations: 192 / 1.129 GB, free: 30.03 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.432e-05/1.135, allocations: 28.19 kB / 1.129 GB, free: 30.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/1.135, allocations: 11.78 kB / 1.129 GB, free: 30.02 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/1.136, allocations: 460.9 kB / 1.129 GB, free: 30.02 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003385/1.139, allocations: 1.791 MB / 1.131 GB, free: 29.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002442/1.142, allocations: 0.6194 MB / 1.131 GB, free: 29.15 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006418/1.142, allocations: 220.8 kB / 1.132 GB, free: 29.11 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.568e-05/1.143, allocations: 3.812 kB / 1.132 GB, free: 29.11 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007718/1.143, allocations: 289.4 kB / 1.132 GB, free: 28.98 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 3.797e-06/1.143, allocations: 4 kB / 1.132 GB, free: 28.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.001922/1.145, allocations: 0.5836 MB / 1.132 GB, free: 28.84 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.556e-05/1.145, allocations: 166 kB / 1.133 GB, free: 28.65 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007996/1.146, allocations: 0.5298 MB / 1.133 GB, free: 28.46 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.842e-05/1.146, allocations: 35.92 kB / 1.133 GB, free: 28.43 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/1.147, allocations: 288.2 kB / 1.133 GB, free: 28.28 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/1.147, allocations: 118.3 kB / 1.134 GB, free: 28.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/1.147, allocations: 6.75 kB / 1.134 GB, free: 28.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001666/1.147, allocations: 372.7 kB / 1.134 GB, free: 27.86 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00058/1.147, allocations: 164.7 kB / 1.134 GB, free: 27.84 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006425/1.148, allocations: 249.9 kB / 1.134 GB, free: 27.73 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/1.149, allocations: 381.8 kB / 1.135 GB, free: 27.64 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/1.149, allocations: 0 / 1.135 GB, free: 27.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001414/1.151, allocations: 478.5 kB / 1.135 GB, free: 27.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.083e-05/1.151, allocations: 122.9 kB / 1.135 GB, free: 27.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/1.151, allocations: 3.938 kB / 1.135 GB, free: 27.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/1.151, allocations: 3.656 kB / 1.135 GB, free: 27.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006446/1.152, allocations: 92.16 kB / 1.135 GB, free: 27.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/1.152, allocations: 3.969 kB / 1.135 GB, free: 27.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005634/1.152, allocations: 88.05 kB / 1.135 GB, free: 27.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-05/1.152, allocations: 15.22 kB / 1.135 GB, free: 27.33 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.356e-06/1.152, allocations: 5.875 kB / 1.135 GB, free: 27.33 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009521/1.153, allocations: 335.8 kB / 1.136 GB, free: 27.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/1.153, allocations: 3.969 kB / 1.136 GB, free: 27.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.178e-06/1.153, allocations: 0 / 1.136 GB, free: 27.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005259/1.154, allocations: 75.31 kB / 1.136 GB, free: 27.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/1.154, allocations: 7.609 kB / 1.136 GB, free: 27.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004558/1.154, allocations: 72.53 kB / 1.136 GB, free: 27.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.004e-05/1.154, allocations: 10.62 kB / 1.136 GB, free: 27.24 MB / 0.698 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.0004194/1.155, allocations: 271.1 kB / 1.136 GB, free: 27.04 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.004e-05/1.155, allocations: 53.78 kB / 1.136 GB, free: 27.02 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/1.156, allocations: 464.4 kB / 1.137 GB, free: 26.89 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/1.156, allocations: 3.875 kB / 1.137 GB, free: 26.89 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.156, allocations: 3.719 kB / 1.137 GB, free: 26.89 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/1.156, allocations: 3.984 kB / 1.137 GB, free: 26.89 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/1.158, allocations: 1.178 MB / 1.138 GB, free: 26.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/1.158, allocations: 0 / 1.138 GB, free: 26.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006219/1.159, allocations: 84.91 kB / 1.138 GB, free: 26.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/1.159, allocations: 4.031 kB / 1.138 GB, free: 26.27 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.569e-05/1.159, allocations: 14.28 kB / 1.138 GB, free: 26.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/1.159, allocations: 7.781 kB / 1.138 GB, free: 26.26 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/1.159, allocations: 4.047 kB / 1.138 GB, free: 26.26 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/1.161, allocations: 0.7578 MB / 1.139 GB, free: 26.01 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/1.161, allocations: 146.6 kB / 1.139 GB, free: 25.87 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.736e-05/1.161, allocations: 7.562 kB / 1.139 GB, free: 25.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005148/1.162, allocations: 53.81 kB / 1.139 GB, free: 25.86 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/1.162, allocations: 26.64 kB / 1.139 GB, free: 25.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.501e-05/1.162, allocations: 19.33 kB / 1.139 GB, free: 25.84 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005802/1.163, allocations: 378.9 kB / 1.139 GB, free: 25.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.01e-07/1.163, allocations: 3.938 kB / 1.139 GB, free: 25.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007178/1.163, allocations: 176.2 kB / 1.139 GB, free: 25.67 MB / 0.698 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.0001912/1.164, allocations: 113.2 kB / 1.14 GB, free: 25.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001754/1.165, allocations: 0.574 MB / 1.14 GB, free: 25.48 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.165, allocations: 3.625 kB / 1.14 GB, free: 25.48 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006189/1.166, allocations: 204.4 kB / 1.14 GB, free: 25.45 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000921/1.167, allocations: 107 kB / 1.14 GB, free: 25.42 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/1.169, allocations: 1.088 MB / 1.141 GB, free: 24.75 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004678/1.169, allocations: 0.8611 MB / 1.142 GB, free: 23.98 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003933/1.17, allocations: 62.84 kB / 1.142 GB, free: 23.95 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/1.17, allocations: 45.61 kB / 1.142 GB, free: 23.94 MB / 0.698 GB Notification: Performance of SimCode: time 8.32e-07/1.17, allocations: 0 / 1.142 GB, free: 23.94 MB / 0.698 GB Notification: Performance of Templates: time 0.01379/1.184, allocations: 4.886 MB / 1.147 GB, free: 21.61 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.makefile (rm -f Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & ./Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)