Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.717/1.717, allocations: 293 MB / 309 MB, free: 4.805 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 181 kB / 378.7 MB, free: 1.016 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.604/1.604, allocations: 205.4 MB / 0.6383 GB, free: 9.16 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008764/0.0008769, allocations: 95.27 kB / 0.7527 GB, free: 62.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004868/0.0004872, allocations: 16 kB / 0.8768 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2933, allocations: 116.4 MB / 0.9905 GB, free: 6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8182/1.112, allocations: 144.9 MB / 1.132 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/1.112, allocations: 103.9 kB / 1.132 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02788/1.14, allocations: 9.587 MB / 1.141 GB, free: 23.68 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.545e-06/1.14, allocations: 0 / 1.141 GB, free: 23.68 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.726e-05/1.14, allocations: 19.98 kB / 1.141 GB, free: 23.66 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.001842/1.142, allocations: 0.7591 MB / 1.142 GB, free: 22.91 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/1.142, allocations: 8.031 kB / 1.142 GB, free: 22.9 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003099/1.142, allocations: 56.94 kB / 1.142 GB, free: 22.84 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008082/1.143, allocations: 393.6 kB / 1.143 GB, free: 22.46 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-05/1.143, allocations: 46.72 kB / 1.143 GB, free: 22.42 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/1.143, allocations: 57.08 kB / 1.143 GB, free: 22.37 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/1.145, allocations: 0.5217 MB / 1.143 GB, free: 21.93 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/1.145, allocations: 1.172 kB / 1.143 GB, free: 21.93 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/1.145, allocations: 21.2 kB / 1.143 GB, free: 21.91 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/1.145, allocations: 12 kB / 1.143 GB, free: 21.9 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/1.146, allocations: 458.9 kB / 1.144 GB, free: 21.52 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002702/1.149, allocations: 1.429 MB / 1.145 GB, free: 20.33 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009995/1.15, allocations: 496.7 kB / 1.146 GB, free: 19.89 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004034/1.15, allocations: 229.5 kB / 1.146 GB, free: 19.7 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.562e-05/1.15, allocations: 13.08 kB / 1.146 GB, free: 19.68 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000588/1.151, allocations: 298.3 kB / 1.146 GB, free: 19.44 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=58): time 3.456e-06/1.151, allocations: 0 / 1.146 GB, free: 19.44 MB / 0.7292 GB Notification: Performance of matching and sorting (n=58): time 0.001269/1.152, allocations: 0.6179 MB / 1.147 GB, free: 18.88 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/1.152, allocations: 65.23 kB / 1.147 GB, free: 18.81 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004179/1.152, allocations: 342 kB / 1.147 GB, free: 18.5 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.327e-05/1.153, allocations: 51.72 kB / 1.147 GB, free: 18.45 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/1.153, allocations: 219.9 kB / 1.147 GB, free: 18.25 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/1.153, allocations: 153.1 kB / 1.148 GB, free: 18.11 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/1.153, allocations: 8 kB / 1.148 GB, free: 18.1 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001281/1.153, allocations: 356.7 kB / 1.148 GB, free: 17.75 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004216/1.153, allocations: 190.6 kB / 1.148 GB, free: 17.59 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004619/1.154, allocations: 285 kB / 1.148 GB, free: 17.32 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000745/1.155, allocations: 422.9 kB / 1.149 GB, free: 16.91 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/1.155, allocations: 0.9375 kB / 1.149 GB, free: 16.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001099/1.156, allocations: 0.5897 MB / 1.149 GB, free: 16.36 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.898e-05/1.156, allocations: 30.31 kB / 1.149 GB, free: 16.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/1.156, allocations: 4 kB / 1.149 GB, free: 16.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/1.156, allocations: 4.75 kB / 1.149 GB, free: 16.31 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000313/1.156, allocations: 76.3 kB / 1.149 GB, free: 16.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.728e-05/1.156, allocations: 8.781 kB / 1.149 GB, free: 16.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004189/1.157, allocations: 87.22 kB / 1.15 GB, free: 16.17 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-05/1.157, allocations: 21.59 kB / 1.15 GB, free: 16.15 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 () * Number of clocked 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.000318/1.157, allocations: 240.3 kB / 1.15 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.973e-05/1.157, allocations: 41.62 kB / 1.15 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/1.158, allocations: 0.5345 MB / 1.15 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/1.158, allocations: 4.656 kB / 1.15 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.158, allocations: 3.938 kB / 1.15 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/1.158, allocations: 7.375 kB / 1.15 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002036/1.16, allocations: 1.241 MB / 1.152 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/1.16, allocations: 0 / 1.152 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/1.161, allocations: 63.11 kB / 1.152 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/1.161, allocations: 0.7031 kB / 1.152 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.508e-05/1.161, allocations: 13.92 kB / 1.152 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/1.161, allocations: 4.797 kB / 1.152 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.161, allocations: 7.938 kB / 1.152 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008959/1.162, allocations: 0.5887 MB / 1.152 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.761e-05/1.162, allocations: 121.3 kB / 1.152 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.455e-05/1.162, allocations: 13.17 kB / 1.152 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003191/1.162, allocations: 68.3 kB / 1.152 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002059/1.162, allocations: 84.23 kB / 1.152 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.209e-05/1.162, allocations: 18.48 kB / 1.152 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002315/1.163, allocations: 217 kB / 1.153 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.163, allocations: 0 / 1.153 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004721/1.163, allocations: 118.2 kB / 1.153 GB, free: 13.11 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) * Number of clocked states: 0 () * 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.0009292/1.164, allocations: 410.3 kB / 1.153 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001041/1.165, allocations: 0.5528 MB / 1.154 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.165, allocations: 0 / 1.154 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004677/1.166, allocations: 274.4 kB / 1.154 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004831/1.166, allocations: 65.34 kB / 1.154 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/1.168, allocations: 0.9729 MB / 1.155 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/1.168, allocations: 0.8489 MB / 1.156 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002901/1.168, allocations: 71.08 kB / 1.156 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/1.168, allocations: 44.41 kB / 1.156 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of SimCode: time 5.31e-07/1.169, allocations: 3.938 kB / 1.156 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of Templates: time 0.01318/1.182, allocations: 5.271 MB / 1.161 GB, free: 6.75 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.makefile (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.sim & ./Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe 2>&1)