Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.561/1.561, allocations: 288.4 MB / 304.3 MB, free: 8.062 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.001095/0.001095, allocations: 183.4 kB / 373 MB, free: 10.16 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.413/1.413, allocations: 205.4 MB / 0.6317 GB, free: 9.887 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008432/0.000843, allocations: 98.3 kB / 0.745 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003587/0.0003587, allocations: 15.5 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.196, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6458/0.8418, allocations: 143.9 MB / 1.121 GB, free: 16.35 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.8421, allocations: 98.22 kB / 1.121 GB, free: 16.35 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02196/0.8641, allocations: 9.581 MB / 1.131 GB, free: 30.56 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.834e-06/0.8641, allocations: 0 / 1.131 GB, free: 30.56 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.743e-05/0.8642, allocations: 11.69 kB / 1.131 GB, free: 30.55 MB / 0.698 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.001519/0.8657, allocations: 0.7574 MB / 1.131 GB, free: 29.94 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.8657, allocations: 11.59 kB / 1.131 GB, free: 29.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001833/0.8659, allocations: 63.19 kB / 1.132 GB, free: 29.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005546/0.8665, allocations: 388.6 kB / 1.132 GB, free: 29.61 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.701e-05/0.8666, allocations: 47.73 kB / 1.132 GB, free: 29.61 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.458e-05/0.8667, allocations: 53.78 kB / 1.132 GB, free: 29.61 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008858/0.8675, allocations: 0.5298 MB / 1.133 GB, free: 29.44 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.8676, allocations: 4.188 kB / 1.133 GB, free: 29.44 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.125e-05/0.8676, allocations: 18.91 kB / 1.133 GB, free: 29.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.8676, allocations: 11.34 kB / 1.133 GB, free: 29.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008206/0.8685, allocations: 456 kB / 1.133 GB, free: 29.36 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002086/0.8706, allocations: 1.426 MB / 1.134 GB, free: 28.64 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008753/0.8715, allocations: 498.8 kB / 1.135 GB, free: 28.55 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003663/0.8718, allocations: 225.2 kB / 1.135 GB, free: 28.52 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.112e-05/0.8719, allocations: 12.27 kB / 1.135 GB, free: 28.51 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004942/0.8724, allocations: 299.7 kB / 1.135 GB, free: 28.39 MB / 0.698 GB Notification: Performance of pre-optimization done (n=58): time 4.348e-06/0.8724, allocations: 0 / 1.135 GB, free: 28.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=58): time 0.001157/0.8736, allocations: 0.624 MB / 1.136 GB, free: 28.25 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.8736, allocations: 59.84 kB / 1.136 GB, free: 28.19 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003332/0.874, allocations: 353.2 kB / 1.136 GB, free: 28.02 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.279e-05/0.874, allocations: 50.86 kB / 1.136 GB, free: 27.99 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.8742, allocations: 212.7 kB / 1.137 GB, free: 27.86 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.8743, allocations: 151.6 kB / 1.137 GB, free: 27.76 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-05/0.8743, allocations: 10.31 kB / 1.137 GB, free: 27.76 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.8745, allocations: 351.2 kB / 1.137 GB, free: 27.44 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003904/0.8749, allocations: 198.4 kB / 1.137 GB, free: 27.41 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000387/0.8753, allocations: 279.6 kB / 1.138 GB, free: 27.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000644/0.8759, allocations: 428.5 kB / 1.138 GB, free: 27.16 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.8759, allocations: 0 / 1.138 GB, free: 27.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0009548/0.8769, allocations: 0.5831 MB / 1.139 GB, free: 27 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.302e-05/0.877, allocations: 36.39 kB / 1.139 GB, free: 26.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.877, allocations: 3.812 kB / 1.139 GB, free: 26.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.877, allocations: 4.156 kB / 1.139 GB, free: 26.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003138/0.8773, allocations: 77.52 kB / 1.139 GB, free: 26.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.8773, allocations: 7.781 kB / 1.139 GB, free: 26.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003566/0.8777, allocations: 84.59 kB / 1.139 GB, free: 26.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-05/0.8778, allocations: 23.34 kB / 1.139 GB, free: 26.91 MB / 0.698 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.0002948/0.8781, allocations: 241.9 kB / 1.139 GB, free: 26.76 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.027e-05/0.8781, allocations: 42.53 kB / 1.139 GB, free: 26.74 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008893/0.879, allocations: 0.53 MB / 1.14 GB, free: 26.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.879, allocations: 7.656 kB / 1.14 GB, free: 26.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.879, allocations: 4 kB / 1.14 GB, free: 26.59 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.8791, allocations: 0 / 1.14 GB, free: 26.59 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/0.8806, allocations: 1.249 MB / 1.141 GB, free: 26.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.8807, allocations: 0 / 1.141 GB, free: 26.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.8809, allocations: 53.78 kB / 1.141 GB, free: 26.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/0.8809, allocations: 7.688 kB / 1.141 GB, free: 26.03 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/0.8809, allocations: 15.02 kB / 1.141 GB, free: 26.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.8809, allocations: 0 / 1.141 GB, free: 26.02 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.8809, allocations: 7.625 kB / 1.141 GB, free: 26.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007693/0.8817, allocations: 0.5902 MB / 1.141 GB, free: 25.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.993e-05/0.8818, allocations: 119.9 kB / 1.142 GB, free: 25.68 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.742e-05/0.8819, allocations: 18.78 kB / 1.142 GB, free: 25.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003059/0.8822, allocations: 65.38 kB / 1.142 GB, free: 25.65 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.8823, allocations: 85.72 kB / 1.142 GB, free: 25.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/0.8824, allocations: 15.31 kB / 1.142 GB, free: 25.62 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001899/0.8826, allocations: 218.6 kB / 1.142 GB, free: 25.52 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8826, allocations: 3.844 kB / 1.142 GB, free: 25.52 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004039/0.883, allocations: 113.2 kB / 1.142 GB, free: 25.5 MB / 0.698 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.0007837/0.8838, allocations: 420.8 kB / 1.142 GB, free: 25.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008595/0.8847, allocations: 0.5533 MB / 1.143 GB, free: 25.16 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8847, allocations: 448 / 1.143 GB, free: 25.16 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003931/0.8851, allocations: 269.6 kB / 1.143 GB, free: 25.12 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.8855, allocations: 60.88 kB / 1.143 GB, free: 25.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.8868, allocations: 0.9727 MB / 1.144 GB, free: 24.55 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/0.8872, allocations: 0.8487 MB / 1.145 GB, free: 23.79 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002209/0.8874, allocations: 69.19 kB / 1.145 GB, free: 23.77 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.8875, allocations: 44.77 kB / 1.145 GB, free: 23.75 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.8875, allocations: 0 / 1.145 GB, free: 23.75 MB / 0.698 GB Notification: Performance of Templates: time 0.008536/0.8961, allocations: 5.27 MB / 1.15 GB, free: 21.21 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.makefile (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.sim & ./Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe 2>&1)