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.662/1.662, allocations: 288.3 MB / 303.2 MB, free: 8.203 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.001427/0.001427, allocations: 177.1 kB / 371.8 MB, free: 10.26 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.837/1.837, allocations: 205.4 MB / 0.6306 GB, free: 9.992 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.001026/0.001027, allocations: 109.3 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007235/0.0007238, allocations: 14.06 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3177, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8943/1.212, allocations: 141.9 MB / 1.118 GB, free: 16.42 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/1.212, allocations: 82.47 kB / 1.118 GB, free: 16.42 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02072/1.233, allocations: 8.907 MB / 1.127 GB, free: 31.23 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.074e-06/1.233, allocations: 0 / 1.127 GB, free: 31.23 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.025e-05/1.233, allocations: 11.53 kB / 1.127 GB, free: 31.23 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.001517/1.235, allocations: 0.879 MB / 1.128 GB, free: 30.58 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/1.235, allocations: 7.781 kB / 1.128 GB, free: 30.58 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/1.235, allocations: 69.91 kB / 1.128 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006049/1.236, allocations: 447.4 kB / 1.128 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.592e-05/1.236, allocations: 41.09 kB / 1.128 GB, free: 30.22 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.042e-05/1.236, allocations: 57.66 kB / 1.128 GB, free: 30.22 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009718/1.237, allocations: 0.5676 MB / 1.129 GB, free: 30.05 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/1.237, allocations: 0 / 1.129 GB, free: 30.05 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.325e-05/1.237, allocations: 22.97 kB / 1.129 GB, free: 30.05 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/1.237, allocations: 11.69 kB / 1.129 GB, free: 30.05 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008527/1.238, allocations: 462.5 kB / 1.129 GB, free: 29.98 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002449/1.24, allocations: 1.784 MB / 1.131 GB, free: 29.06 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/1.241, allocations: 0.5869 MB / 1.132 GB, free: 28.94 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.01e-05/1.242, allocations: 11.59 kB / 1.132 GB, free: 28.94 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005608/1.242, allocations: 289.9 kB / 1.132 GB, free: 28.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 2.635e-06/1.242, allocations: 4 kB / 1.132 GB, free: 28.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.001225/1.243, allocations: 0.5748 MB / 1.132 GB, free: 28.67 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/1.243, allocations: 162 kB / 1.133 GB, free: 28.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005313/1.244, allocations: 478.6 kB / 1.133 GB, free: 28.31 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.43e-05/1.244, allocations: 35.55 kB / 1.133 GB, free: 28.28 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000216/1.244, allocations: 293.7 kB / 1.133 GB, free: 28.13 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.523e-05/1.244, allocations: 119.1 kB / 1.133 GB, free: 28.04 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.786e-05/1.244, allocations: 12 kB / 1.133 GB, free: 28.04 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002012/1.245, allocations: 371.6 kB / 1.134 GB, free: 27.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/1.245, allocations: 165.7 kB / 1.134 GB, free: 27.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003738/1.245, allocations: 255 kB / 1.134 GB, free: 27.56 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003626/1.246, allocations: 179.5 kB / 1.134 GB, free: 27.54 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/1.246, allocations: 0 / 1.134 GB, free: 27.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008504/1.247, allocations: 491.1 kB / 1.135 GB, free: 27.42 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001854/1.247, allocations: 366 kB / 1.135 GB, free: 27.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/1.247, allocations: 64 / 1.135 GB, free: 27.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/1.247, allocations: 7.875 kB / 1.135 GB, free: 27.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003499/1.247, allocations: 85.14 kB / 1.135 GB, free: 27.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/1.247, allocations: 3.938 kB / 1.135 GB, free: 27.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003218/1.248, allocations: 88.83 kB / 1.135 GB, free: 26.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/1.248, allocations: 15.3 kB / 1.135 GB, free: 26.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.003e-06/1.248, allocations: 3.844 kB / 1.135 GB, free: 26.98 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005627/1.248, allocations: 331.9 kB / 1.136 GB, free: 26.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-06/1.248, allocations: 0 / 1.136 GB, free: 26.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.937e-06/1.248, allocations: 3.844 kB / 1.136 GB, free: 26.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/1.248, allocations: 81 kB / 1.136 GB, free: 26.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/1.248, allocations: 7.797 kB / 1.136 GB, free: 26.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/1.249, allocations: 65.28 kB / 1.136 GB, free: 26.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/1.249, allocations: 14 kB / 1.136 GB, free: 26.89 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.0003589/1.249, allocations: 275.1 kB / 1.136 GB, free: 26.69 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.058e-05/1.249, allocations: 57.97 kB / 1.136 GB, free: 26.66 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008549/1.25, allocations: 459.5 kB / 1.137 GB, free: 26.55 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/1.25, allocations: 7.906 kB / 1.137 GB, free: 26.54 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/1.25, allocations: 7.766 kB / 1.137 GB, free: 26.54 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/1.25, allocations: 0 / 1.137 GB, free: 26.54 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001427/1.252, allocations: 1.17 MB / 1.138 GB, free: 25.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.252, allocations: 4.031 kB / 1.138 GB, free: 25.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003331/1.252, allocations: 80.89 kB / 1.138 GB, free: 25.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/1.252, allocations: 3.875 kB / 1.138 GB, free: 25.93 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/1.252, allocations: 7.516 kB / 1.138 GB, free: 25.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/1.252, allocations: 7.859 kB / 1.138 GB, free: 25.93 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/1.252, allocations: 0 / 1.138 GB, free: 25.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/1.253, allocations: 0.7751 MB / 1.139 GB, free: 25.65 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/1.253, allocations: 142.5 kB / 1.139 GB, free: 25.52 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.055e-05/1.253, allocations: 10.56 kB / 1.139 GB, free: 25.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002835/1.254, allocations: 57.14 kB / 1.139 GB, free: 25.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.255e-05/1.254, allocations: 30.55 kB / 1.139 GB, free: 25.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/1.254, allocations: 14.81 kB / 1.139 GB, free: 25.48 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003881/1.254, allocations: 381.7 kB / 1.139 GB, free: 25.35 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.254, allocations: 0 / 1.139 GB, free: 25.35 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005425/1.255, allocations: 173.8 kB / 1.139 GB, free: 25.32 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.0001886/1.255, allocations: 129.4 kB / 1.14 GB, free: 25.21 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001035/1.256, allocations: 0.568 MB / 1.14 GB, free: 25.12 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.256, allocations: 3.812 kB / 1.14 GB, free: 25.12 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003331/1.256, allocations: 209.8 kB / 1.14 GB, free: 25.08 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004863/1.257, allocations: 85.58 kB / 1.14 GB, free: 25.07 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/1.258, allocations: 1.104 MB / 1.141 GB, free: 24.38 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/1.259, allocations: 0.8751 MB / 1.142 GB, free: 23.59 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000266/1.259, allocations: 66.77 kB / 1.142 GB, free: 23.56 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/1.259, allocations: 38.16 kB / 1.142 GB, free: 23.56 MB / 0.698 GB Notification: Performance of SimCode: time 5.91e-07/1.259, allocations: 0 / 1.142 GB, free: 23.56 MB / 0.698 GB Notification: Performance of Templates: time 0.008739/1.268, allocations: 4.883 MB / 1.147 GB, free: 21.23 MB / 0.698 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)