Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.479/2.479, allocations: 284.8 MB / 297.3 MB, free: 6.332 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001438/0.001437, allocations: 184.3 kB / 365.7 MB, free: 2.566 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.879/1.879, allocations: 205.2 MB / 0.6241 GB, free: 8.188 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001117/0.001116, allocations: 92.06 kB / 0.7372 GB, free: 40.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.293e-05/3.307e-05, allocations: 4 kB / 0.8574 GB, free: 13.72 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7696/0.7697, allocations: 115.2 MB / 0.97 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2389/1.009, allocations: 141.6 MB / 1.108 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003192/1.009, allocations: 79.94 kB / 1.108 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.05496/1.064, allocations: 8.903 MB / 1.117 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.475e-06/1.064, allocations: 0 / 1.117 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.976e-05/1.064, allocations: 12 kB / 1.117 GB, free: 1.906 MB / 0.7136 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.002876/1.067, allocations: 0.7829 MB / 1.118 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.606e-05/1.067, allocations: 12.03 kB / 1.118 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003264/1.068, allocations: 76.3 kB / 1.118 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/1.069, allocations: 440.7 kB / 1.118 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.882e-05/1.069, allocations: 45.31 kB / 1.118 GB, free: 484 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000178/1.069, allocations: 48 kB / 1.118 GB, free: 436 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00212/1.071, allocations: 0.5073 MB / 1.119 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.035e-05/1.072, allocations: 0 / 1.119 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/1.072, allocations: 23.94 kB / 1.119 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.809e-05/1.072, allocations: 15.94 kB / 1.119 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001711/1.073, allocations: 360 kB / 1.119 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006947/1.08, allocations: 1.791 MB / 1.121 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003209/1.084, allocations: 0.4975 MB / 1.122 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007603/1.085, allocations: 164.9 kB / 1.122 GB, free: 13 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.345e-05/1.085, allocations: 4 kB / 1.122 GB, free: 13 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008809/1.086, allocations: 230.9 kB / 1.122 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=37): time 5.37e-06/1.086, allocations: 0 / 1.122 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37): time 0.001563/1.087, allocations: 339.7 kB / 1.122 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001558/1.087, allocations: 162.2 kB / 1.122 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001514/1.089, allocations: 472.9 kB / 1.123 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001365/1.089, allocations: 37.69 kB / 1.123 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004955/1.09, allocations: 292.4 kB / 1.123 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002392/1.09, allocations: 118.3 kB / 1.123 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.093e-05/1.09, allocations: 8 kB / 1.123 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003218/1.09, allocations: 366.8 kB / 1.124 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005792/1.091, allocations: 112 kB / 1.124 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000717/1.092, allocations: 200.8 kB / 1.124 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006388/1.092, allocations: 126.2 kB / 1.124 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/1.092, allocations: 0 / 1.124 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001647/1.094, allocations: 386 kB / 1.124 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002596/1.094, allocations: 357.1 kB / 1.125 GB, free: 9.703 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/1.094, allocations: 4 kB / 1.125 GB, free: 9.699 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/1.094, allocations: 0 / 1.125 GB, free: 9.699 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/1.096, allocations: 91.88 kB / 1.125 GB, free: 9.609 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/1.096, allocations: 0 / 1.125 GB, free: 9.609 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/1.097, allocations: 95.48 kB / 1.125 GB, free: 9.516 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.437e-05/1.097, allocations: 11.94 kB / 1.125 GB, free: 9.504 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/1.097, allocations: 8 kB / 1.125 GB, free: 9.496 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001314/1.098, allocations: 301.5 kB / 1.125 GB, free: 9.203 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/1.098, allocations: 0 / 1.125 GB, free: 9.203 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/1.098, allocations: 4 kB / 1.125 GB, free: 9.199 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009753/1.099, allocations: 67.91 kB / 1.125 GB, free: 9.133 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.101e-05/1.099, allocations: 7.984 kB / 1.125 GB, free: 9.125 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009546/1.1, allocations: 75.66 kB / 1.125 GB, free: 9.051 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.729e-05/1.1, allocations: 8 kB / 1.125 GB, free: 9.043 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 () * 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.0002942/1.101, allocations: 124.9 kB / 1.126 GB, free: 8.914 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002046/1.101, allocations: 51.34 kB / 1.126 GB, free: 8.863 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001641/1.103, allocations: 386.3 kB / 1.126 GB, free: 8.48 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/1.103, allocations: 4 kB / 1.126 GB, free: 8.477 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/1.103, allocations: 0 / 1.126 GB, free: 8.477 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.968e-05/1.103, allocations: 3.984 kB / 1.126 GB, free: 8.473 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003187/1.106, allocations: 1.074 MB / 1.127 GB, free: 7.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.485e-05/1.106, allocations: 3.953 kB / 1.127 GB, free: 7.336 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/1.107, allocations: 87.91 kB / 1.127 GB, free: 7.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-05/1.107, allocations: 0 / 1.127 GB, free: 7.25 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.073e-05/1.107, allocations: 9.5 kB / 1.127 GB, free: 7.242 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.245e-05/1.107, allocations: 4 kB / 1.127 GB, free: 7.238 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.107, allocations: 0 / 1.127 GB, free: 7.238 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/1.11, allocations: 0.6261 MB / 1.128 GB, free: 6.586 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003242/1.11, allocations: 148.3 kB / 1.128 GB, free: 6.422 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/1.11, allocations: 8 kB / 1.128 GB, free: 6.414 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009258/1.111, allocations: 48.03 kB / 1.128 GB, free: 6.367 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/1.111, allocations: 31.95 kB / 1.128 GB, free: 6.336 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.449e-05/1.111, allocations: 11.98 kB / 1.128 GB, free: 6.324 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001148/1.113, allocations: 373.6 kB / 1.128 GB, free: 5.965 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.012e-06/1.113, allocations: 0 / 1.128 GB, free: 5.965 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001345/1.114, allocations: 171.4 kB / 1.128 GB, free: 5.797 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) * 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.0003088/1.114, allocations: 124.2 kB / 1.129 GB, free: 5.672 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002107/1.116, allocations: 482.9 kB / 1.129 GB, free: 5.199 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/1.116, allocations: 0 / 1.129 GB, free: 5.199 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006844/1.117, allocations: 159.9 kB / 1.129 GB, free: 5.043 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001345/1.119, allocations: 84.23 kB / 1.129 GB, free: 4.961 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/1.121, allocations: 0.6652 MB / 1.13 GB, free: 4.266 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008239/1.122, allocations: 0.8795 MB / 1.131 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00108/1.123, allocations: 92.52 kB / 1.131 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002469/1.124, allocations: 39.42 kB / 1.131 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of SimCode: time 1.893e-06/1.124, allocations: 0 / 1.131 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of Templates: time 0.03009/1.154, allocations: 5.696 MB / 1.136 GB, free: 13.66 MB / 0.7448 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)