Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.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.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.423/2.423, allocations: 284.8 MB / 297.3 MB, free: 6.355 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.001512/0.001512, allocations: 172.9 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.902/1.902, allocations: 205.2 MB / 0.6241 GB, free: 8.168 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.001129/0.001128, allocations: 98.88 kB / 0.7372 GB, free: 40.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.135e-05/4.15e-05, allocations: 4 kB / 0.8574 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8818/0.8819, allocations: 115.2 MB / 0.97 GB, free: 78.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2537/1.136, allocations: 143.6 MB / 1.11 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003352/1.136, allocations: 88.47 kB / 1.11 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04086/1.177, allocations: 9.543 MB / 1.12 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.773e-06/1.177, allocations: 7.938 kB / 1.12 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.906e-05/1.177, allocations: 12 kB / 1.12 GB, free: 15.18 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001788/1.179, allocations: 0.7225 MB / 1.12 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/1.179, allocations: 12.03 kB / 1.12 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001956/1.179, allocations: 55.34 kB / 1.12 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008013/1.18, allocations: 374.2 kB / 1.121 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.149e-05/1.18, allocations: 45 kB / 1.121 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/1.18, allocations: 48 kB / 1.121 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/1.182, allocations: 494.2 kB / 1.121 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/1.182, allocations: 3.938 kB / 1.121 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.119e-05/1.182, allocations: 33.53 kB / 1.121 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.881e-05/1.182, allocations: 12 kB / 1.121 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/1.183, allocations: 391.9 kB / 1.122 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003693/1.187, allocations: 1.425 MB / 1.123 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/1.188, allocations: 456.5 kB / 1.124 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005155/1.189, allocations: 203.4 kB / 1.124 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.467e-05/1.189, allocations: 4.438 kB / 1.124 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006982/1.189, allocations: 267.7 kB / 1.124 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=58): time 3.346e-06/1.189, allocations: 0 / 1.124 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=58): time 0.001219/1.191, allocations: 394.6 kB / 1.124 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.951e-05/1.191, allocations: 75.91 kB / 1.125 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005628/1.191, allocations: 315 kB / 1.125 GB, free: 9.707 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001049/1.191, allocations: 51.48 kB / 1.125 GB, free: 9.652 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/1.192, allocations: 213.2 kB / 1.125 GB, free: 9.438 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/1.192, allocations: 142.2 kB / 1.125 GB, free: 9.297 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.591e-05/1.192, allocations: 8 kB / 1.125 GB, free: 9.289 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001665/1.192, allocations: 358.8 kB / 1.126 GB, free: 8.93 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000511/1.193, allocations: 157.6 kB / 1.126 GB, free: 8.773 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005828/1.193, allocations: 255.4 kB / 1.126 GB, free: 8.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004879/1.194, allocations: 179.8 kB / 1.126 GB, free: 8.32 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/1.194, allocations: 4 kB / 1.126 GB, free: 8.316 MB / 0.7292 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00146/1.195, allocations: 0.5247 MB / 1.127 GB, free: 7.781 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.347e-05/1.195, allocations: 41.69 kB / 1.127 GB, free: 7.734 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/1.195, allocations: 0 / 1.127 GB, free: 7.734 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.696e-05/1.195, allocations: 11.94 kB / 1.127 GB, free: 7.723 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006019/1.196, allocations: 76.05 kB / 1.127 GB, free: 7.648 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.807e-05/1.196, allocations: 8.75 kB / 1.127 GB, free: 7.641 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007073/1.197, allocations: 79.64 kB / 1.127 GB, free: 7.562 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.069e-05/1.197, allocations: 28 kB / 1.127 GB, free: 7.535 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 62 ($PRE.varSpePumSta.con1.enableFire,$PRE.varSpePumSta.con2.enableFire,$PRE.varSpePumSta.con3.enableFire,$PRE.varSpePumSta.con4.enableFire,varSpePumSta.stateGraphRoot.resume,varSpePumSta.stateGraphRoot.suspend,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varSpePumSta.con1.enableFire,varSpePumSta.con1.fire,$PRE.varSpePumSta.con1.t_start,varSpePumSta.con1.t_start,varSpePumSta.con1.condition,$PRE.varSpePumSta.oneOn.localActive,varSpePumSta.oneOn.localActive,varSpePumSta.oneOn.inPort[2].occupied,varSpePumSta.oneOn.outPort[2].available,$PRE.varSpePumSta.oneOn.newActive,varSpePumSta.oneOn.newActive,$PRE.varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.active,$PRE.varSpePumSta.off.localActive,varSpePumSta.off.localActive,$PRE.varSpePumSta.off.newActive,varSpePumSta.off.newActive,$PRE.varSpePumSta.off.oldActive,varSpePumSta.off.oldActive,varSpePumSta.off.active,$PRE.varSpePumSta.twoOn.localActive,varSpePumSta.twoOn.localActive,$PRE.varSpePumSta.twoOn.newActive,varSpePumSta.twoOn.newActive,$PRE.varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.active,varSpePumSta.con2.enableFire,varSpePumSta.con2.fire,$PRE.varSpePumSta.con2.t_start,varSpePumSta.con2.t_start,varSpePumSta.con2.condition,varSpePumSta.con3.enableFire,varSpePumSta.con3.fire,$PRE.varSpePumSta.con3.t_start,varSpePumSta.con3.t_start,varSpePumSta.con3.condition,varSpePumSta.con4.enableFire,varSpePumSta.con4.fire,$PRE.varSpePumSta.con4.t_start,varSpePumSta.con4.t_start,varSpePumSta.con4.condition,varSpePumSta.stateGraphRoot.activeSteps,varSpePumSta.addInt.u1,varSpePumSta.addInt.u2,varSpePumSta.addInt.y,$PRE.speSig.T_start,speSig.T_start,$PRE.speSig.count,speSig.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * 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.0002495/1.197, allocations: 170.3 kB / 1.127 GB, free: 7.363 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/1.197, allocations: 39.53 kB / 1.127 GB, free: 7.324 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/1.199, allocations: 490.2 kB / 1.128 GB, free: 6.844 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/1.199, allocations: 8 kB / 1.128 GB, free: 6.836 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.199, allocations: 0 / 1.128 GB, free: 6.836 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/1.199, allocations: 3.984 kB / 1.128 GB, free: 6.832 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00281/1.201, allocations: 1.176 MB / 1.129 GB, free: 5.602 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/1.201, allocations: 2.938 kB / 1.129 GB, free: 5.602 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004783/1.202, allocations: 63.83 kB / 1.129 GB, free: 5.539 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-05/1.202, allocations: 3.953 kB / 1.129 GB, free: 5.535 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.246e-05/1.202, allocations: 15.98 kB / 1.129 GB, free: 5.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/1.202, allocations: 4 kB / 1.129 GB, free: 5.516 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.202, allocations: 0 / 1.129 GB, free: 5.516 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/1.203, allocations: 0.5344 MB / 1.129 GB, free: 4.965 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/1.203, allocations: 112.6 kB / 1.129 GB, free: 4.836 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/1.204, allocations: 27.88 kB / 1.129 GB, free: 4.809 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006291/1.204, allocations: 65.83 kB / 1.129 GB, free: 4.746 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002735/1.205, allocations: 76.44 kB / 1.13 GB, free: 4.672 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-05/1.205, allocations: 19.98 kB / 1.13 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003667/1.205, allocations: 219.1 kB / 1.13 GB, free: 4.438 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.21e-07/1.205, allocations: 0 / 1.13 GB, free: 4.438 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000673/1.206, allocations: 119.8 kB / 1.13 GB, free: 4.32 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 47 (varSpePumSta.con3.enableFire,varSpePumSta.con4.enableFire,varSpePumSta.con1.enableFire,varSpePumSta.con2.enableFire,varSpePumSta.twoOn.localActive,varSpePumSta.off.localActive,varSpePumSta.oneOn.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varSpePumSta.con1.fire,varSpePumSta.con1.t_start,varSpePumSta.con1.condition,varSpePumSta.oneOn.inPort[2].occupied,varSpePumSta.oneOn.outPort[2].available,varSpePumSta.oneOn.newActive,varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.active,varSpePumSta.off.newActive,varSpePumSta.off.oldActive,varSpePumSta.off.active,varSpePumSta.twoOn.newActive,varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.active,varSpePumSta.con2.fire,varSpePumSta.con2.t_start,varSpePumSta.con2.condition,varSpePumSta.con3.fire,varSpePumSta.con3.t_start,varSpePumSta.con3.condition,varSpePumSta.con4.fire,varSpePumSta.con4.t_start,varSpePumSta.con4.condition,varSpePumSta.stateGraphRoot.activeSteps,varSpePumSta.addInt.u1,varSpePumSta.addInt.u2,varSpePumSta.addInt.y,speSig.T_start,speSig.count) * Number of discrete states: 4 (speSig.count,varSpePumSta.oneOn.newActive,varSpePumSta.off.newActive,varSpePumSta.twoOn.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.001137/1.207, allocations: 370.1 kB / 1.13 GB, free: 4.098 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001384/1.208, allocations: 0.4967 MB / 1.131 GB, free: 3.586 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.208, allocations: 0 / 1.131 GB, free: 3.586 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006135/1.209, allocations: 244.7 kB / 1.131 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006136/1.21, allocations: 49.84 kB / 1.131 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001884/1.211, allocations: 0.6273 MB / 1.132 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005281/1.212, allocations: 0.8636 MB / 1.132 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0004768/1.212, allocations: 72.52 kB / 1.133 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/1.213, allocations: 44.92 kB / 1.133 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of SimCode: time 3.116e-06/1.213, allocations: 0 / 1.133 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of Templates: time 0.01774/1.231, allocations: 5.223 MB / 1.138 GB, free: 12.55 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.makefile (rm -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe ; mkfifo Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe >> ../files/Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.sim & ./Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe 2>&1)