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.001414/0.001414, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.001723/0.001723, allocations: 177.3 kB / 15.95 MB, free: 216 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.881/1.881, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.759/1.759, allocations: 251.9 MB / 0.51 GB, free: 4.906 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.0005392/0.0005392, allocations: 16 kB / 0.6241 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7038/0.7043, allocations: 106.3 MB / 0.728 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.003764/0.7081, allocations: 2.733 MB / 0.7306 GB, free: 8.664 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002152/0.7103, allocations: 1.054 MB / 0.7317 GB, free: 7.602 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003345/0.7107, allocations: 15.94 kB / 0.7317 GB, free: 7.586 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.7108, allocations: 47.44 kB / 0.7317 GB, free: 7.539 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004505/0.7113, allocations: 107.6 kB / 0.7318 GB, free: 7.434 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003708/0.7116, allocations: 155.8 kB / 0.732 GB, free: 7.281 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005712/0.7122, allocations: 405.2 kB / 0.7324 GB, free: 6.887 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003893/0.7126, allocations: 218.3 kB / 0.7326 GB, free: 6.664 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002487/0.7129, allocations: 143.2 kB / 0.7327 GB, free: 6.523 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/0.7131, allocations: 174.8 kB / 0.7329 GB, free: 6.352 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.087e-05/0.7131, allocations: 16 kB / 0.7329 GB, free: 6.336 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.838e-05/0.7132, allocations: 12 kB / 0.7329 GB, free: 6.324 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.982e-05/0.7133, allocations: 75.59 kB / 0.733 GB, free: 6.25 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.7134, allocations: 117.4 kB / 0.7331 GB, free: 6.129 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005972/0.714, allocations: 0.6564 MB / 0.7337 GB, free: 5.473 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.714, allocations: 0 / 0.7337 GB, free: 5.473 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.853e-06/0.714, allocations: 3.938 kB / 0.7337 GB, free: 5.469 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.714, allocations: 0 / 0.7337 GB, free: 5.469 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.001484/0.7155, allocations: 0.8181 MB / 0.7345 GB, free: 4.602 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.869e-05/0.7156, allocations: 12.03 kB / 0.7345 GB, free: 4.59 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.7157, allocations: 67.16 kB / 0.7346 GB, free: 4.523 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000678/0.7164, allocations: 441.8 kB / 0.735 GB, free: 4.051 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.836e-05/0.7165, allocations: 37 kB / 0.7351 GB, free: 4.016 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.95e-05/0.7165, allocations: 44 kB / 0.7351 GB, free: 3.973 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009944/0.7175, allocations: 0.514 MB / 0.7356 GB, free: 3.43 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.7176, allocations: 0 / 0.7356 GB, free: 3.43 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.499e-05/0.7176, allocations: 20 kB / 0.7356 GB, free: 3.41 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.7176, allocations: 12 kB / 0.7356 GB, free: 3.398 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009068/0.7185, allocations: 427.6 kB / 0.736 GB, free: 2.98 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002998/0.7216, allocations: 2.038 MB / 0.738 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008895/0.7225, allocations: 393.5 kB / 0.7384 GB, free: 472 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.704e-05/0.7225, allocations: 8.234 kB / 0.7384 GB, free: 464 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.7226, allocations: 30.8 kB / 0.7385 GB, free: 424 kB / 0.545 GB Notification: Performance of pre-optimization done (n=27): time 2.044e-06/0.7226, allocations: 3.938 kB / 0.7385 GB, free: 420 kB / 0.545 GB Notification: Performance of matching and sorting (n=27): time 0.00121/0.7238, allocations: 485.4 kB / 0.7389 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.596e-05/0.7239, allocations: 110.8 kB / 0.739 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006806/0.7246, allocations: 0.4942 MB / 0.7395 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/0.7246, allocations: 33.7 kB / 0.7395 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002297/0.7248, allocations: 287.8 kB / 0.7398 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.117e-05/0.7249, allocations: 94.72 kB / 0.7399 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.678e-05/0.7249, allocations: 4 kB / 0.7399 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001948/0.7251, allocations: 358.8 kB / 0.7402 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003323/0.7255, allocations: 148.6 kB / 0.7404 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004262/0.7259, allocations: 224.9 kB / 0.7406 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003647/0.7263, allocations: 163.8 kB / 0.7408 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.7263, allocations: 7.891 kB / 0.7408 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009189/0.7272, allocations: 445.2 kB / 0.7412 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003054/0.7276, allocations: 453 kB / 0.7416 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.7276, allocations: 0 / 0.7416 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.7276, allocations: 4 kB / 0.7416 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003757/0.728, allocations: 83.89 kB / 0.7417 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.728, allocations: 4 kB / 0.7417 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002933/0.7283, allocations: 75.55 kB / 0.7418 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.7283, allocations: 12 kB / 0.7418 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.7284, allocations: 4 kB / 0.7418 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005756/0.7289, allocations: 303.6 kB / 0.7421 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.729, allocations: 4 kB / 0.7421 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.146e-06/0.729, allocations: 0 / 0.7421 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002854/0.7293, allocations: 75.89 kB / 0.7422 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.7293, allocations: 4 kB / 0.7422 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.7295, allocations: 59.56 kB / 0.7422 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.7295, allocations: 15.98 kB / 0.7422 GB, free: 12.41 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.0003842/0.7299, allocations: 260.9 kB / 0.7425 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.836e-05/0.73, allocations: 47.44 kB / 0.7425 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008634/0.7309, allocations: 387.4 kB / 0.7429 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.7309, allocations: 7.938 kB / 0.7429 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.7309, allocations: 0 / 0.7429 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/0.7309, allocations: 4 kB / 0.7429 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00068/0.7316, allocations: 0.5205 MB / 0.7434 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.7316, allocations: 0 / 0.7434 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002997/0.7319, allocations: 67.89 kB / 0.7435 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.7319, allocations: 4 kB / 0.7435 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.732, allocations: 12 kB / 0.7435 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.732, allocations: 0 / 0.7435 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.732, allocations: 0 / 0.7435 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.7332, allocations: 0.6362 MB / 0.7441 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.7333, allocations: 132.4 kB / 0.7443 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.499e-05/0.7334, allocations: 4 kB / 0.7443 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002707/0.7337, allocations: 47.97 kB / 0.7443 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.061e-05/0.7337, allocations: 19.97 kB / 0.7443 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.7338, allocations: 4 kB / 0.7443 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004335/0.7342, allocations: 362.8 kB / 0.7447 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7342, allocations: 0 / 0.7447 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000541/0.7348, allocations: 155.4 kB / 0.7448 GB, free: 9.66 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.000156/0.7349, allocations: 99.25 kB / 0.7449 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001115/0.736, allocations: 0.4893 MB / 0.7454 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.7361, allocations: 4 kB / 0.7454 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003377/0.7364, allocations: 168 kB / 0.7456 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006389/0.7371, allocations: 100.6 kB / 0.7457 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.7386, allocations: 0.9771 MB / 0.7466 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005043/0.7392, allocations: 0.8548 MB / 0.7474 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002247/0.7394, allocations: 63.34 kB / 0.7475 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.7395, allocations: 43.42 kB / 0.7475 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of SimCode: time 6.31e-07/0.7395, allocations: 0 / 0.7475 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of Templates: time 0.009456/0.749, allocations: 4.412 MB / 0.7519 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: