Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.575/1.575, allocations: 297.8 MB / 313.7 MB, free: 136 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008793/0.0008794, allocations: 175 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 223.2 MB / 0.6626 GB, free: 4.273 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007773/0.0007774, allocations: 102.9 kB / 0.7808 GB, free: 50.2 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003242/0.0003242, allocations: 8 kB / 0.9088 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5455/0.5458, allocations: 120.3 MB / 1.026 GB, free: 55.8 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1579/0.7038, allocations: 150.8 MB / 1.174 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.7041, allocations: 96.5 kB / 1.174 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03912/0.7432, allocations: 16.67 MB / 1.19 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.824e-06/0.7433, allocations: 192 / 1.19 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.013e-05/0.7433, allocations: 19.94 kB / 1.19 GB, free: 10.46 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.00146/0.7448, allocations: 1.005 MB / 1.191 GB, free: 9.379 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.7448, allocations: 8.031 kB / 1.191 GB, free: 9.371 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001752/0.745, allocations: 87.98 kB / 1.191 GB, free: 9.285 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008437/0.7459, allocations: 0.5825 MB / 1.192 GB, free: 8.66 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.992e-05/0.7459, allocations: 46.36 kB / 1.192 GB, free: 8.617 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.543e-05/0.746, allocations: 56.38 kB / 1.192 GB, free: 8.562 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009368/0.7469, allocations: 0.58 MB / 1.192 GB, free: 7.957 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.747, allocations: 192 / 1.192 GB, free: 7.957 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.873e-05/0.747, allocations: 23.92 kB / 1.192 GB, free: 7.934 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.747, allocations: 12 kB / 1.192 GB, free: 7.922 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007885/0.7478, allocations: 447.8 kB / 1.193 GB, free: 7.484 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002221/0.7501, allocations: 1.616 MB / 1.194 GB, free: 5.824 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009613/0.751, allocations: 0.5293 MB / 1.195 GB, free: 5.293 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003754/0.7514, allocations: 236.6 kB / 1.195 GB, free: 5.062 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.559e-05/0.7515, allocations: 8.562 kB / 1.195 GB, free: 5.055 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004978/0.752, allocations: 320.1 kB / 1.195 GB, free: 4.73 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=65): time 3.006e-06/0.752, allocations: 0.8906 kB / 1.195 GB, free: 4.73 MB / 0.7605 GB Notification: Performance of matching and sorting (n=65): time 0.001205/0.7532, allocations: 0.6859 MB / 1.196 GB, free: 4.039 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.366e-05/0.7533, allocations: 170.8 kB / 1.196 GB, free: 3.836 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00076/0.7541, allocations: 0.7094 MB / 1.197 GB, free: 3.117 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.412e-05/0.7541, allocations: 57.69 kB / 1.197 GB, free: 3.055 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.7543, allocations: 301.2 kB / 1.197 GB, free: 2.754 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.7545, allocations: 157.9 kB / 1.197 GB, free: 2.598 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.589e-05/0.7545, allocations: 12 kB / 1.197 GB, free: 2.586 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.7547, allocations: 384.2 kB / 1.198 GB, free: 2.203 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003512/0.755, allocations: 193.9 kB / 1.198 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004728/0.7555, allocations: 380.2 kB / 1.198 GB, free: 1.598 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006564/0.7562, allocations: 429.1 kB / 1.199 GB, free: 1.145 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.7562, allocations: 0 / 1.199 GB, free: 1.145 MB / 0.7605 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0009481/0.7571, allocations: 0.594 MB / 1.199 GB, free: 0.543 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.7571, allocations: 8 kB / 1.199 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.7572, allocations: 0 / 1.199 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.7572, allocations: 8 kB / 1.199 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002941/0.7575, allocations: 87.75 kB / 1.199 GB, free: 452 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.7575, allocations: 8 kB / 1.199 GB, free: 444 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002578/0.7578, allocations: 60.64 kB / 1.199 GB, free: 384 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.818e-05/0.7578, allocations: 31.98 kB / 1.199 GB, free: 352 kB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 69 ($PRE.conSpePumSta.con1.enableFire,$PRE.conSpePumSta.con2.enableFire,$PRE.conSpePumSta.con3.enableFire,$PRE.conSpePumSta.con4.enableFire,$whenCondition6,$PRE.chiNumOn.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.cooMod.combiTimeTable.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,conSpePumSta.cooMod,conSpePumSta.con1.enableFire,conSpePumSta.con1.fire,$PRE.conSpePumSta.con1.t_start,conSpePumSta.con1.t_start,conSpePumSta.con1.condition,$PRE.conSpePumSta.oneOn.localActive,conSpePumSta.oneOn.localActive,conSpePumSta.oneOn.inPort[2].occupied,conSpePumSta.oneOn.outPort[2].available,$PRE.conSpePumSta.oneOn.newActive,conSpePumSta.oneOn.newActive,$PRE.conSpePumSta.oneOn.oldActive,conSpePumSta.oneOn.oldActive,conSpePumSta.oneOn.active,$PRE.conSpePumSta.off.localActive,conSpePumSta.off.localActive,$PRE.conSpePumSta.off.newActive,conSpePumSta.off.newActive,$PRE.conSpePumSta.off.oldActive,conSpePumSta.off.oldActive,conSpePumSta.off.active,$PRE.conSpePumSta.twoOn.localActive,conSpePumSta.twoOn.localActive,$PRE.conSpePumSta.twoOn.newActive,conSpePumSta.twoOn.newActive,$PRE.conSpePumSta.twoOn.oldActive,conSpePumSta.twoOn.oldActive,conSpePumSta.twoOn.active,conSpePumSta.con2.enableFire,conSpePumSta.con2.fire,$PRE.conSpePumSta.con2.t_start,conSpePumSta.con2.t_start,conSpePumSta.con2.condition,conSpePumSta.con3.enableFire,conSpePumSta.con3.fire,$PRE.conSpePumSta.con3.t_start,conSpePumSta.con3.t_start,conSpePumSta.con3.condition,conSpePumSta.con4.enableFire,conSpePumSta.con4.fire,$PRE.conSpePumSta.con4.t_start,conSpePumSta.con4.t_start,conSpePumSta.con4.condition,conSpePumSta.stateGraphRoot.activeSteps,conSpePumSta.addInt.u1,conSpePumSta.addInt.u2,conSpePumSta.addInt.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,$PRE.chiNumOn.combiTimeTable.nextTimeEventScaled,chiNumOn.combiTimeTable.nextTimeEventScaled,conSpePumSta.stateGraphRoot.resume,conSpePumSta.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 89 * 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.0003144/0.7581, allocations: 298.8 kB / 1.2 GB, free: 40 kB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.625e-05/0.7582, allocations: 71.28 kB / 1.2 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009931/0.7592, allocations: 0.6116 MB / 1.2 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.7593, allocations: 8 kB / 1.2 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.7593, allocations: 0 / 1.2 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.7593, allocations: 5.953 kB / 1.2 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001994/0.7613, allocations: 1.487 MB / 1.202 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.7613, allocations: 1 kB / 1.202 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.7615, allocations: 63.83 kB / 1.202 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.7615, allocations: 4 kB / 1.202 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.702e-05/0.7616, allocations: 19.94 kB / 1.202 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.7616, allocations: 4.75 kB / 1.202 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.7616, allocations: 3.984 kB / 1.202 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008775/0.7625, allocations: 0.65 MB / 1.203 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/0.7626, allocations: 173 kB / 1.203 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.882e-05/0.7627, allocations: 23.94 kB / 1.203 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002401/0.763, allocations: 35.97 kB / 1.203 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.7631, allocations: 88.47 kB / 1.203 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.022e-05/0.7632, allocations: 23.98 kB / 1.203 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0005136/0.7637, allocations: 496.3 kB / 1.203 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7637, allocations: 3.938 kB / 1.203 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004914/0.7642, allocations: 179.8 kB / 1.204 GB, free: 12.02 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 52 (conSpePumSta.con3.enableFire,conSpePumSta.con4.enableFire,conSpePumSta.con1.enableFire,conSpePumSta.con2.enableFire,conSpePumSta.twoOn.localActive,conSpePumSta.off.localActive,conSpePumSta.oneOn.localActive,$cse3,$cse4,$cse5,$cse6,$cse7,$cse8,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,conSpePumSta.cooMod,conSpePumSta.con1.fire,conSpePumSta.con1.t_start,conSpePumSta.con1.condition,conSpePumSta.oneOn.inPort[2].occupied,conSpePumSta.oneOn.outPort[2].available,conSpePumSta.oneOn.newActive,conSpePumSta.oneOn.oldActive,conSpePumSta.oneOn.active,conSpePumSta.off.newActive,conSpePumSta.off.oldActive,conSpePumSta.off.active,conSpePumSta.twoOn.newActive,conSpePumSta.twoOn.oldActive,conSpePumSta.twoOn.active,conSpePumSta.con2.fire,conSpePumSta.con2.t_start,conSpePumSta.con2.condition,conSpePumSta.con3.fire,conSpePumSta.con3.t_start,conSpePumSta.con3.condition,conSpePumSta.con4.fire,conSpePumSta.con4.t_start,conSpePumSta.con4.condition,conSpePumSta.stateGraphRoot.activeSteps,conSpePumSta.addInt.u1,conSpePumSta.addInt.u2,conSpePumSta.addInt.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,chiNumOn.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 7 (chiNumOn.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEvent,conSpePumSta.oneOn.newActive,conSpePumSta.off.newActive,conSpePumSta.twoOn.newActive,chiNumOn.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.001455/0.7657, allocations: 0.7341 MB / 1.204 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0008886/0.7666, allocations: 0.5599 MB / 1.205 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.7666, allocations: 0 / 1.205 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004357/0.767, allocations: 289 kB / 1.205 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005928/0.7676, allocations: 115 kB / 1.205 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.7694, allocations: 1.395 MB / 1.207 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004631/0.7699, allocations: 0.944 MB / 1.208 GB, free: 8.379 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003251/0.7702, allocations: 119.5 kB / 1.208 GB, free: 8.27 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.7704, allocations: 64.83 kB / 1.208 GB, free: 8.211 MB / 0.7761 GB Notification: Performance of SimCode: time 3.71e-07/0.7704, allocations: 0 / 1.208 GB, free: 8.211 MB / 0.7761 GB Notification: Performance of Templates: time 0.01451/0.7849, allocations: 8.611 MB / 1.216 GB, free: 15.88 MB / 0.7917 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe 2>&1)