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.4/2.4, allocations: 285 MB / 292.5 MB, free: 10.54 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.00146/0.00146, allocations: 184.9 kB / 360.7 MB, free: 7.234 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.915/1.915, allocations: 205.3 MB / 0.6192 GB, free: 12.13 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.001087/0.001087, allocations: 94.38 kB / 0.7322 GB, free: 44.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.246e-05/2.258e-05, allocations: 4 kB / 0.8509 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7803/0.7804, allocations: 115.3 MB / 0.9634 GB, free: 78.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2351/1.015, allocations: 141 MB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003267/1.016, allocations: 86.16 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03602/1.052, allocations: 8.813 MB / 1.11 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.623e-06/1.052, allocations: 2.719 kB / 1.11 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.464e-05/1.052, allocations: 15.98 kB / 1.11 GB, free: 6.66 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.001905/1.054, allocations: 0.7791 MB / 1.111 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/1.054, allocations: 8.031 kB / 1.111 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002291/1.054, allocations: 76.34 kB / 1.111 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000943/1.055, allocations: 450.8 kB / 1.111 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.487e-05/1.055, allocations: 19.98 kB / 1.111 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/1.055, allocations: 32 kB / 1.111 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001064/1.056, allocations: 330.8 kB / 1.111 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/1.058, allocations: 441.1 kB / 1.112 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/1.058, allocations: 7.938 kB / 1.112 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-05/1.058, allocations: 0 / 1.112 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.262e-05/1.058, allocations: 15.98 kB / 1.112 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004186/1.062, allocations: 1.652 MB / 1.114 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001914/1.064, allocations: 475.3 kB / 1.114 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004108/1.064, allocations: 165.5 kB / 1.114 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.822e-05/1.065, allocations: 4 kB / 1.114 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005358/1.065, allocations: 225.9 kB / 1.114 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=37): time 2.855e-06/1.065, allocations: 0 / 1.114 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37): time 0.000925/1.066, allocations: 305.9 kB / 1.115 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.33e-05/1.066, allocations: 162.2 kB / 1.115 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006358/1.067, allocations: 349.2 kB / 1.115 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.558e-05/1.067, allocations: 29.69 kB / 1.115 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003314/1.067, allocations: 296.5 kB / 1.115 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/1.067, allocations: 110.3 kB / 1.116 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/1.067, allocations: 0 / 1.116 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001841/1.068, allocations: 358.8 kB / 1.116 GB, free: 208 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000305/1.068, allocations: 108 kB / 1.116 GB, free: 100 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004148/1.068, allocations: 191 kB / 1.116 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003449/1.069, allocations: 126.9 kB / 1.116 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/1.069, allocations: 0 / 1.116 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009158/1.07, allocations: 346.1 kB / 1.117 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001878/1.07, allocations: 365 kB / 1.117 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/1.07, allocations: 1.375 kB / 1.117 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/1.07, allocations: 4 kB / 1.117 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007581/1.071, allocations: 91.81 kB / 1.117 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/1.071, allocations: 4 kB / 1.117 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006074/1.071, allocations: 71.64 kB / 1.117 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.243e-05/1.071, allocations: 15.94 kB / 1.117 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/1.071, allocations: 8 kB / 1.117 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007032/1.072, allocations: 247.8 kB / 1.117 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/1.072, allocations: 4 kB / 1.117 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/1.072, allocations: 3.953 kB / 1.117 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000573/1.073, allocations: 71.91 kB / 1.117 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/1.073, allocations: 4 kB / 1.117 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005055/1.073, allocations: 57.95 kB / 1.118 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.345e-05/1.073, allocations: 8 kB / 1.118 GB, free: 14.46 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.0001752/1.073, allocations: 117.2 kB / 1.118 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/1.074, allocations: 43.44 kB / 1.118 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009267/1.075, allocations: 326.2 kB / 1.118 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/1.075, allocations: 9.359 kB / 1.118 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/1.075, allocations: 0 / 1.118 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/1.075, allocations: 3.984 kB / 1.118 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001801/1.076, allocations: 0.9785 MB / 1.119 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/1.076, allocations: 0 / 1.119 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006952/1.077, allocations: 79.92 kB / 1.119 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.229e-05/1.077, allocations: 4 kB / 1.119 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.181e-05/1.077, allocations: 11.94 kB / 1.119 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-06/1.077, allocations: 4 kB / 1.119 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.077, allocations: 0 / 1.119 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/1.079, allocations: 0.5794 MB / 1.12 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/1.079, allocations: 128.5 kB / 1.12 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.578e-05/1.079, allocations: 7.953 kB / 1.12 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005318/1.079, allocations: 45.39 kB / 1.12 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/1.08, allocations: 35.89 kB / 1.12 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.1e-05/1.08, allocations: 14.25 kB / 1.12 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004737/1.08, allocations: 267 kB / 1.12 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.71e-07/1.08, allocations: 0 / 1.12 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008324/1.081, allocations: 167.1 kB / 1.12 GB, free: 11.56 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.0002032/1.081, allocations: 111.2 kB / 1.12 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001209/1.082, allocations: 459.3 kB / 1.121 GB, free: 11 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.082, allocations: 0 / 1.121 GB, free: 11 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003804/1.083, allocations: 147.9 kB / 1.121 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007742/1.084, allocations: 74.5 kB / 1.121 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/1.085, allocations: 0.6303 MB / 1.122 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006039/1.086, allocations: 0.8786 MB / 1.122 GB, free: 9.219 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0006205/1.087, allocations: 79.31 kB / 1.123 GB, free: 9.141 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/1.087, allocations: 39.42 kB / 1.123 GB, free: 9.102 MB / 0.7292 GB Notification: Performance of SimCode: time 1.192e-06/1.087, allocations: 0 / 1.123 GB, free: 9.102 MB / 0.7292 GB Notification: Performance of Templates: time 0.01634/1.103, allocations: 4.661 MB / 1.127 GB, free: 4.57 MB / 0.7292 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)