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.708/1.708, allocations: 288.4 MB / 304.3 MB, free: 7.992 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.001279/0.001279, allocations: 184.4 kB / 373 MB, free: 10.16 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.77/1.77, allocations: 205.4 MB / 0.6317 GB, free: 9.93 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.0008577/0.0008577, allocations: 104 kB / 0.7451 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004379/0.000438, allocations: 12.38 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2272, allocations: 115.3 MB / 0.9807 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6848/0.9121, allocations: 141.9 MB / 1.119 GB, free: 16.57 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.9124, allocations: 83.62 kB / 1.119 GB, free: 16.57 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01986/0.9322, allocations: 8.924 MB / 1.128 GB, free: 31.29 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.904e-06/0.9323, allocations: 0 / 1.128 GB, free: 31.29 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.368e-05/0.9323, allocations: 19.25 kB / 1.128 GB, free: 31.29 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.001255/0.9336, allocations: 0.8623 MB / 1.129 GB, free: 30.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.9337, allocations: 7.719 kB / 1.129 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.867e-05/0.9338, allocations: 74.84 kB / 1.129 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005231/0.9343, allocations: 466.7 kB / 1.129 GB, free: 30.27 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.121e-05/0.9343, allocations: 38.44 kB / 1.13 GB, free: 30.27 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.349e-05/0.9344, allocations: 52.97 kB / 1.13 GB, free: 30.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000887/0.9353, allocations: 0.5668 MB / 1.13 GB, free: 30.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.9353, allocations: 192 / 1.13 GB, free: 30.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.541e-05/0.9354, allocations: 28.44 kB / 1.13 GB, free: 30.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.9354, allocations: 19.47 kB / 1.13 GB, free: 30.09 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000807/0.9362, allocations: 474.1 kB / 1.131 GB, free: 30.01 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002136/0.9383, allocations: 1.783 MB / 1.132 GB, free: 29.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/0.9397, allocations: 0.6096 MB / 1.133 GB, free: 28.96 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003627/0.9401, allocations: 224.2 kB / 1.133 GB, free: 28.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.627e-05/0.9401, allocations: 7.641 kB / 1.133 GB, free: 28.93 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004913/0.9406, allocations: 282.5 kB / 1.133 GB, free: 28.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 1.654e-06/0.9406, allocations: 0 / 1.133 GB, free: 28.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.001148/0.9418, allocations: 0.5875 MB / 1.134 GB, free: 28.66 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.9419, allocations: 166.2 kB / 1.134 GB, free: 28.46 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000525/0.9424, allocations: 0.5304 MB / 1.135 GB, free: 28.28 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.57e-05/0.9425, allocations: 32.42 kB / 1.135 GB, free: 28.25 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.9427, allocations: 296.6 kB / 1.135 GB, free: 28.09 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.255e-05/0.9428, allocations: 115.9 kB / 1.135 GB, free: 28.01 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.609e-05/0.9428, allocations: 7.375 kB / 1.135 GB, free: 28.01 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.943, allocations: 366.4 kB / 1.135 GB, free: 27.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003409/0.9433, allocations: 165.9 kB / 1.136 GB, free: 27.65 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003586/0.9437, allocations: 256.7 kB / 1.136 GB, free: 27.54 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006181/0.9443, allocations: 370.2 kB / 1.136 GB, free: 27.46 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.9443, allocations: 3.781 kB / 1.136 GB, free: 27.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007743/0.9451, allocations: 485.2 kB / 1.137 GB, free: 27.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.826e-05/0.9452, allocations: 122 kB / 1.137 GB, free: 27.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.9452, allocations: 7.875 kB / 1.137 GB, free: 27.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.9452, allocations: 3.844 kB / 1.137 GB, free: 27.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003303/0.9455, allocations: 84.77 kB / 1.137 GB, free: 27.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.9456, allocations: 3.875 kB / 1.137 GB, free: 27.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003036/0.9459, allocations: 93.06 kB / 1.137 GB, free: 27.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/0.9459, allocations: 14.88 kB / 1.137 GB, free: 27.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.861e-06/0.9459, allocations: 3.844 kB / 1.137 GB, free: 27.14 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005579/0.9465, allocations: 337.7 kB / 1.137 GB, free: 27.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.9465, allocations: 0 / 1.137 GB, free: 27.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.316e-06/0.9465, allocations: 7.625 kB / 1.137 GB, free: 27.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.9468, allocations: 73.5 kB / 1.137 GB, free: 27.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.9468, allocations: 0 / 1.137 GB, free: 27.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/0.947, allocations: 77.98 kB / 1.138 GB, free: 27.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.9471, allocations: 15.25 kB / 1.138 GB, free: 27.05 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.0002803/0.9473, allocations: 266.6 kB / 1.138 GB, free: 26.85 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.427e-05/0.9474, allocations: 54.03 kB / 1.138 GB, free: 26.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008107/0.9482, allocations: 467.9 kB / 1.138 GB, free: 26.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.9482, allocations: 3.812 kB / 1.138 GB, free: 26.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.9483, allocations: 0 / 1.138 GB, free: 26.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.9483, allocations: 3.875 kB / 1.138 GB, free: 26.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.9496, allocations: 1.178 MB / 1.139 GB, free: 26.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.9496, allocations: 3.75 kB / 1.139 GB, free: 26.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003167/0.9499, allocations: 79.8 kB / 1.14 GB, free: 26.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.9499, allocations: 0 / 1.14 GB, free: 26.09 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/0.9499, allocations: 14.3 kB / 1.14 GB, free: 26.08 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.9499, allocations: 7.938 kB / 1.14 GB, free: 26.07 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.95, allocations: 8.016 kB / 1.14 GB, free: 26.07 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.9511, allocations: 0.7629 MB / 1.14 GB, free: 25.81 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.9512, allocations: 138.5 kB / 1.14 GB, free: 25.68 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.803e-05/0.9513, allocations: 11.28 kB / 1.14 GB, free: 25.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002763/0.9516, allocations: 54.61 kB / 1.14 GB, free: 25.66 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.936e-05/0.9516, allocations: 31.2 kB / 1.141 GB, free: 25.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.9517, allocations: 15.33 kB / 1.141 GB, free: 25.64 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003627/0.952, allocations: 377 kB / 1.141 GB, free: 25.52 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.952, allocations: 0 / 1.141 GB, free: 25.52 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004723/0.9525, allocations: 172.6 kB / 1.141 GB, free: 25.48 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.0001525/0.9527, allocations: 121.2 kB / 1.141 GB, free: 25.39 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001007/0.9537, allocations: 0.569 MB / 1.142 GB, free: 25.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.9537, allocations: 3.938 kB / 1.142 GB, free: 25.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003404/0.9541, allocations: 214.4 kB / 1.142 GB, free: 25.26 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006079/0.9547, allocations: 96.86 kB / 1.142 GB, free: 25.23 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.956, allocations: 1.096 MB / 1.143 GB, free: 24.57 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.9564, allocations: 0.8619 MB / 1.144 GB, free: 23.79 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002426/0.9566, allocations: 71.06 kB / 1.144 GB, free: 23.75 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.9568, allocations: 37.94 kB / 1.144 GB, free: 23.75 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/0.9568, allocations: 0 / 1.144 GB, free: 23.75 MB / 0.698 GB Notification: Performance of Templates: time 0.00798/0.9647, allocations: 4.944 MB / 1.149 GB, free: 21.4 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)