Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 87.42 kB / 15.07 MB, free: 1.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009998/0.0009996, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.649/1.649, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.622/1.622, allocations: 252 MB / 0.5102 GB, free: 4.75 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005903/0.0005904, allocations: 12 kB / 0.6243 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6614/0.662, allocations: 106.3 MB / 0.7281 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.003771/0.6659, allocations: 2.725 MB / 0.7308 GB, free: 8.68 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001966/0.6679, allocations: 1.05 MB / 0.7318 GB, free: 7.621 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002825/0.6682, allocations: 19.94 kB / 0.7318 GB, free: 7.602 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002349/0.6684, allocations: 71.3 kB / 0.7319 GB, free: 7.531 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001616/0.6686, allocations: 51.47 kB / 0.732 GB, free: 7.48 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003568/0.6689, allocations: 139.8 kB / 0.7321 GB, free: 7.344 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005723/0.6695, allocations: 0.5905 MB / 0.7327 GB, free: 6.754 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003824/0.6699, allocations: 230.3 kB / 0.7329 GB, free: 6.52 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.6701, allocations: 147.1 kB / 0.733 GB, free: 6.375 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002069/0.6703, allocations: 170.8 kB / 0.7332 GB, free: 6.207 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.125e-05/0.6704, allocations: 12 kB / 0.7332 GB, free: 6.195 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.68e-05/0.6704, allocations: 16 kB / 0.7332 GB, free: 6.18 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.347e-05/0.6705, allocations: 79.56 kB / 0.7333 GB, free: 6.102 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.163e-05/0.6706, allocations: 113.4 kB / 0.7334 GB, free: 5.984 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005423/0.6712, allocations: 0.6525 MB / 0.734 GB, free: 5.332 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.6712, allocations: 8 kB / 0.734 GB, free: 5.324 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6712, allocations: 0 / 0.734 GB, free: 5.324 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.427e-05/0.6712, allocations: 0 / 0.734 GB, free: 5.324 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001315/0.6725, allocations: 0.8103 MB / 0.7348 GB, free: 4.465 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.6726, allocations: 8.031 kB / 0.7348 GB, free: 4.457 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.6727, allocations: 67.16 kB / 0.7349 GB, free: 4.391 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005793/0.6733, allocations: 445.8 kB / 0.7353 GB, free: 3.914 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.572e-05/0.6733, allocations: 37 kB / 0.7354 GB, free: 3.879 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.72e-05/0.6734, allocations: 44 kB / 0.7354 GB, free: 3.836 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008793/0.6743, allocations: 0.5179 MB / 0.7359 GB, free: 3.289 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.6743, allocations: 4 kB / 0.7359 GB, free: 3.285 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.803e-05/0.6743, allocations: 16 kB / 0.7359 GB, free: 3.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.6744, allocations: 12 kB / 0.7359 GB, free: 3.258 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000816/0.6752, allocations: 419.7 kB / 0.7363 GB, free: 2.848 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002426/0.6776, allocations: 2.041 MB / 0.7383 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007522/0.6784, allocations: 388.2 kB / 0.7387 GB, free: 336 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003484/0.6787, allocations: 198.6 kB / 0.7389 GB, free: 136 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.954e-05/0.6788, allocations: 4.297 kB / 0.7389 GB, free: 132 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.6788, allocations: 42.73 kB / 0.7389 GB, free: 80 kB / 0.545 GB Notification: Performance of pre-optimization done (n=27): time 1.333e-06/0.6788, allocations: 0 / 0.7389 GB, free: 80 kB / 0.545 GB Notification: Performance of matching and sorting (n=27): time 0.001031/0.6799, allocations: 487 kB / 0.7394 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.483e-05/0.68, allocations: 110.8 kB / 0.7395 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005658/0.6805, allocations: 0.4942 MB / 0.74 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.6806, allocations: 29.7 kB / 0.74 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002194/0.6808, allocations: 283.8 kB / 0.7403 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.19e-05/0.6809, allocations: 94.66 kB / 0.7404 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.536e-05/0.6809, allocations: 4 kB / 0.7404 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.6811, allocations: 358.8 kB / 0.7407 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003132/0.6814, allocations: 148.6 kB / 0.7409 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003679/0.6818, allocations: 236.8 kB / 0.7411 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003326/0.6821, allocations: 167.8 kB / 0.7413 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.6821, allocations: 0 / 0.7413 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007832/0.6829, allocations: 441.1 kB / 0.7417 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.495e-05/0.683, allocations: 124.6 kB / 0.7418 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.683, allocations: 4 kB / 0.7418 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.683, allocations: 4 kB / 0.7418 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003231/0.6834, allocations: 87.88 kB / 0.7419 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.6834, allocations: 4 kB / 0.7419 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002666/0.6837, allocations: 71.56 kB / 0.742 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.6837, allocations: 12 kB / 0.742 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.917e-06/0.6837, allocations: 7.984 kB / 0.742 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005245/0.6842, allocations: 307.5 kB / 0.7423 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.6842, allocations: 4 kB / 0.7423 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-06/0.6843, allocations: 0 / 0.7423 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/0.6845, allocations: 71.91 kB / 0.7423 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.6845, allocations: 7.984 kB / 0.7424 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.6847, allocations: 59.58 kB / 0.7424 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.6848, allocations: 12 kB / 0.7424 GB, free: 12.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (vavBoxCon.conCoo.I.trigger_internal,vavBoxCon.conHea.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0002417/0.685, allocations: 257 kB / 0.7427 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.647e-05/0.6851, allocations: 51.39 kB / 0.7427 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007577/0.6858, allocations: 386.4 kB / 0.7431 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.6859, allocations: 4 kB / 0.7431 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.6859, allocations: 0 / 0.7431 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.6859, allocations: 3.984 kB / 0.7431 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005232/0.6864, allocations: 0.5166 MB / 0.7436 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.6864, allocations: 0 / 0.7436 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002895/0.6867, allocations: 71.94 kB / 0.7437 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.6867, allocations: 3.984 kB / 0.7437 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.6868, allocations: 15.94 kB / 0.7437 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.6868, allocations: 0 / 0.7437 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.6868, allocations: 0 / 0.7437 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.6879, allocations: 0.6284 MB / 0.7443 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.688, allocations: 132.4 kB / 0.7444 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.812e-05/0.688, allocations: 12.05 kB / 0.7444 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.6883, allocations: 43.92 kB / 0.7445 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.879e-05/0.6884, allocations: 15.98 kB / 0.7445 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.6884, allocations: 7.984 kB / 0.7445 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003972/0.6888, allocations: 358.8 kB / 0.7448 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6888, allocations: 7.938 kB / 0.7448 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004793/0.6893, allocations: 147.4 kB / 0.745 GB, free: 9.664 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (vavBoxCon.conHea.I.y,vavBoxCon.conCoo.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.000142/0.6894, allocations: 111.2 kB / 0.7451 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009736/0.6904, allocations: 0.4937 MB / 0.7456 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.6904, allocations: 0 / 0.7456 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003084/0.6907, allocations: 168.2 kB / 0.7457 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006647/0.6914, allocations: 108.6 kB / 0.7458 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.693, allocations: 0.9801 MB / 0.7468 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.6934, allocations: 0.8353 MB / 0.7476 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002116/0.6936, allocations: 59.42 kB / 0.7477 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.985e-05/0.6937, allocations: 35.42 kB / 0.7477 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.6937, allocations: 0 / 0.7477 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of Templates: time 0.008745/0.7025, allocations: 4.432 MB / 0.752 GB, free: 2.438 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & ./Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1) Environment - environmentSimulation: