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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.688/1.688, allocations: 289.7 MB / 302.2 MB, free: 2.098 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.001135/0.001135, allocations: 180.5 kB / 371.6 MB, free: 3.422 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.796/1.796, allocations: 205.1 MB / 0.6309 GB, free: 11.72 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.0008843/0.0008848, allocations: 92.02 kB / 0.745 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.261e-05/5.268e-05, allocations: 4 kB / 0.8662 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3272, allocations: 116.3 MB / 0.9798 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9166/1.244, allocations: 144.8 MB / 1.121 GB, free: 40.27 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/1.244, allocations: 96.66 kB / 1.121 GB, free: 40.24 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02384/1.268, allocations: 9.544 MB / 1.131 GB, free: 35.2 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.417e-06/1.268, allocations: 0 / 1.131 GB, free: 35.2 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.006e-05/1.268, allocations: 12 kB / 1.131 GB, free: 35.19 MB / 0.7448 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.001379/1.27, allocations: 0.7148 MB / 1.131 GB, free: 34.53 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.866e-05/1.27, allocations: 12.03 kB / 1.131 GB, free: 34.52 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/1.27, allocations: 61.89 kB / 1.131 GB, free: 34.46 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006093/1.27, allocations: 374.8 kB / 1.132 GB, free: 34.16 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.658e-05/1.271, allocations: 44.25 kB / 1.132 GB, free: 34.14 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/1.271, allocations: 53.19 kB / 1.132 GB, free: 34.1 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009015/1.272, allocations: 496.1 kB / 1.132 GB, free: 33.83 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/1.272, allocations: 0 / 1.132 GB, free: 33.83 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.402e-05/1.272, allocations: 21.75 kB / 1.132 GB, free: 33.82 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/1.272, allocations: 18.3 kB / 1.132 GB, free: 33.81 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006782/1.272, allocations: 395.7 kB / 1.133 GB, free: 33.59 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002359/1.275, allocations: 1.429 MB / 1.134 GB, free: 32.79 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007918/1.276, allocations: 457.9 kB / 1.135 GB, free: 32.51 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/1.276, allocations: 206.5 kB / 1.135 GB, free: 32.39 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.119e-05/1.276, allocations: 4.438 kB / 1.135 GB, free: 32.39 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004383/1.276, allocations: 261.9 kB / 1.135 GB, free: 32.23 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=58): time 2.084e-06/1.276, allocations: 4.562 kB / 1.135 GB, free: 32.22 MB / 0.7448 GB Notification: Performance of matching and sorting (n=58): time 0.0006701/1.277, allocations: 398.3 kB / 1.135 GB, free: 31.94 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/1.277, allocations: 67.12 kB / 1.135 GB, free: 31.87 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003025/1.277, allocations: 316.2 kB / 1.136 GB, free: 31.65 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.793e-05/1.278, allocations: 51.91 kB / 1.136 GB, free: 31.61 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/1.278, allocations: 213.8 kB / 1.136 GB, free: 31.46 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.768e-05/1.278, allocations: 143.1 kB / 1.136 GB, free: 31.35 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/1.278, allocations: 15.19 kB / 1.136 GB, free: 31.34 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001069/1.278, allocations: 354.4 kB / 1.136 GB, free: 31.02 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000257/1.278, allocations: 165.7 kB / 1.137 GB, free: 30.92 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002903/1.278, allocations: 243.6 kB / 1.137 GB, free: 30.74 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002843/1.279, allocations: 185.5 kB / 1.137 GB, free: 30.62 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.279, allocations: 4 kB / 1.137 GB, free: 30.62 MB / 0.7448 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.000718/1.279, allocations: 0.521 MB / 1.138 GB, free: 30.24 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/1.28, allocations: 37.73 kB / 1.138 GB, free: 30.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/1.28, allocations: 4.688 kB / 1.138 GB, free: 30.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/1.28, allocations: 7.609 kB / 1.138 GB, free: 30.19 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003082/1.28, allocations: 77 kB / 1.138 GB, free: 30.13 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/1.28, allocations: 7.938 kB / 1.138 GB, free: 30.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003423/1.28, allocations: 87.64 kB / 1.138 GB, free: 30.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.306e-05/1.28, allocations: 23.27 kB / 1.138 GB, free: 30.05 MB / 0.7448 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.0001374/1.28, allocations: 175.1 kB / 1.138 GB, free: 29.9 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.254e-05/1.281, allocations: 39.53 kB / 1.138 GB, free: 29.86 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007265/1.281, allocations: 480.6 kB / 1.138 GB, free: 29.58 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/1.281, allocations: 8 kB / 1.138 GB, free: 29.57 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.281, allocations: 0 / 1.138 GB, free: 29.57 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/1.281, allocations: 3.469 kB / 1.138 GB, free: 29.57 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/1.283, allocations: 1.184 MB / 1.14 GB, free: 28.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/1.283, allocations: 4 kB / 1.14 GB, free: 28.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002331/1.283, allocations: 58.06 kB / 1.14 GB, free: 28.76 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/1.283, allocations: 7.469 kB / 1.14 GB, free: 28.76 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.426e-05/1.283, allocations: 14.83 kB / 1.14 GB, free: 28.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/1.283, allocations: 4 kB / 1.14 GB, free: 28.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/1.283, allocations: 2.391 kB / 1.14 GB, free: 28.75 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006578/1.284, allocations: 0.5363 MB / 1.14 GB, free: 28.34 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.097e-05/1.284, allocations: 120.5 kB / 1.14 GB, free: 28.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.796e-05/1.284, allocations: 14.34 kB / 1.14 GB, free: 28.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003169/1.284, allocations: 68.62 kB / 1.14 GB, free: 28.16 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001822/1.284, allocations: 81.66 kB / 1.14 GB, free: 28.12 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.832e-05/1.284, allocations: 15.44 kB / 1.141 GB, free: 28.11 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002196/1.285, allocations: 223 kB / 1.141 GB, free: 27.95 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/1.285, allocations: 4 kB / 1.141 GB, free: 27.95 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004362/1.285, allocations: 115.5 kB / 1.141 GB, free: 27.86 MB / 0.7448 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.001048/1.286, allocations: 366.7 kB / 1.141 GB, free: 27.63 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007928/1.287, allocations: 0.4908 MB / 1.142 GB, free: 27.27 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/1.287, allocations: 0 / 1.142 GB, free: 27.27 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000326/1.287, allocations: 240.5 kB / 1.142 GB, free: 27.11 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/1.288, allocations: 64.72 kB / 1.142 GB, free: 27.07 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/1.289, allocations: 0.6267 MB / 1.143 GB, free: 26.59 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/1.289, allocations: 0.8547 MB / 1.143 GB, free: 25.77 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002327/1.29, allocations: 70.34 kB / 1.143 GB, free: 25.73 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/1.29, allocations: 46.19 kB / 1.144 GB, free: 25.69 MB / 0.7448 GB Notification: Performance of SimCode: time 2.4e-07/1.29, allocations: 4 kB / 1.144 GB, free: 25.68 MB / 0.7448 GB Notification: Performance of Templates: time 0.01287/1.303, allocations: 5.234 MB / 1.149 GB, free: 22.67 MB / 0.7448 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)