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.598/1.598, allocations: 285.6 MB / 293.1 MB, free: 10.29 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.001324/0.001324, allocations: 188.9 kB / 361.4 MB, free: 6.895 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.703/1.703, allocations: 205.2 MB / 0.62 GB, free: 11.68 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.0009126/0.0009124, allocations: 100 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.932e-05/1.934e-05, allocations: 4 kB / 0.8517 GB, free: 2.762 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6472/0.6472, allocations: 115.3 MB / 0.9644 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1991/0.8463, allocations: 141.1 MB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/0.8467, allocations: 78.86 kB / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02466/0.8714, allocations: 8.824 MB / 1.111 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8714, allocations: 4 kB / 1.111 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.262e-05/0.8715, allocations: 13.31 kB / 1.111 GB, free: 5.883 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.00175/0.8733, allocations: 0.7838 MB / 1.112 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.8733, allocations: 12.03 kB / 1.112 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002845/0.8736, allocations: 72.19 kB / 1.112 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009175/0.8745, allocations: 454.8 kB / 1.112 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.602e-05/0.8746, allocations: 16 kB / 1.112 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.8747, allocations: 28 kB / 1.112 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007765/0.8755, allocations: 330.6 kB / 1.113 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009191/0.8764, allocations: 441.1 kB / 1.113 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.8764, allocations: 0 / 1.113 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.697e-05/0.8765, allocations: 11.5 kB / 1.113 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.938e-05/0.8765, allocations: 15.98 kB / 1.113 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002998/0.8795, allocations: 1.652 MB / 1.115 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/0.8808, allocations: 474.8 kB / 1.115 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002754/0.8811, allocations: 161.7 kB / 1.115 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.244e-05/0.8811, allocations: 4 kB / 1.115 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004009/0.8815, allocations: 237.7 kB / 1.115 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=37): time 2.905e-06/0.8816, allocations: 0 / 1.115 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37): time 0.000632/0.8822, allocations: 301.9 kB / 1.116 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.8823, allocations: 162.2 kB / 1.116 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004837/0.8828, allocations: 349.2 kB / 1.116 GB, free: 232 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.41e-05/0.8829, allocations: 25.7 kB / 1.116 GB, free: 200 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000295/0.8832, allocations: 300.5 kB / 1.117 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.8833, allocations: 110.3 kB / 1.117 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.743e-05/0.8833, allocations: 0 / 1.117 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002051/0.8835, allocations: 362.8 kB / 1.117 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.8837, allocations: 104 kB / 1.117 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002818/0.884, allocations: 196.8 kB / 1.117 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.8843, allocations: 123 kB / 1.117 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.8843, allocations: 0 / 1.117 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005444/0.8848, allocations: 346.1 kB / 1.118 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001755/0.885, allocations: 364 kB / 1.118 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.885, allocations: 0 / 1.118 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.885, allocations: 4 kB / 1.118 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003797/0.8854, allocations: 92.03 kB / 1.118 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.8855, allocations: 4 kB / 1.118 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00032/0.8858, allocations: 75.58 kB / 1.118 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.8858, allocations: 13.69 kB / 1.118 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.8858, allocations: 5.406 kB / 1.118 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004179/0.8863, allocations: 249 kB / 1.118 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.8863, allocations: 4 kB / 1.118 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.258e-06/0.8863, allocations: 0 / 1.118 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/0.8866, allocations: 71.91 kB / 1.119 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.8866, allocations: 16.03 kB / 1.119 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002677/0.8869, allocations: 47.81 kB / 1.119 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.8869, allocations: 12 kB / 1.119 GB, free: 13.68 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.000114/0.887, allocations: 112.9 kB / 1.119 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.506e-05/0.8871, allocations: 43.44 kB / 1.119 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005603/0.8877, allocations: 330.2 kB / 1.119 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.8877, allocations: 4 kB / 1.119 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.8877, allocations: 3.953 kB / 1.119 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.8877, allocations: 0 / 1.119 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.8888, allocations: 0.9751 MB / 1.12 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.8888, allocations: 1.75 kB / 1.12 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003664/0.8892, allocations: 87.91 kB / 1.12 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.8892, allocations: 4 kB / 1.12 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.8893, allocations: 0 / 1.12 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.8893, allocations: 7.953 kB / 1.12 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.8893, allocations: 1.125 kB / 1.12 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007798/0.8901, allocations: 0.583 MB / 1.121 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.8902, allocations: 124.5 kB / 1.121 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.044e-05/0.8903, allocations: 7.953 kB / 1.121 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002937/0.8906, allocations: 47.95 kB / 1.121 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.628e-05/0.8906, allocations: 31.95 kB / 1.121 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.8907, allocations: 12 kB / 1.121 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000284/0.891, allocations: 267 kB / 1.121 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.91e-07/0.891, allocations: 0 / 1.121 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00052/0.8915, allocations: 167.1 kB / 1.121 GB, free: 10.79 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.0001643/0.8917, allocations: 126.4 kB / 1.121 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007227/0.8924, allocations: 451.3 kB / 1.122 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.8924, allocations: 0 / 1.122 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000211/0.8926, allocations: 152.5 kB / 1.122 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004758/0.8931, allocations: 79.78 kB / 1.122 GB, free: 9.996 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.8943, allocations: 0.6305 MB / 1.123 GB, free: 9.34 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000455/0.8948, allocations: 0.8747 MB / 1.124 GB, free: 8.438 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003467/0.8951, allocations: 75.8 kB / 1.124 GB, free: 8.363 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.299e-05/0.8952, allocations: 35.42 kB / 1.124 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of SimCode: time 3.4e-07/0.8952, allocations: 0 / 1.124 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of Templates: time 0.009701/0.9049, allocations: 4.652 MB / 1.128 GB, free: 3.801 MB / 0.7292 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)