Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.373/1.373, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001007/0.001006, allocations: 186.8 kB / 327.6 MB, free: 2.152 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.4 MB / 0.5785 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007673/0.0007673, allocations: 86.5 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.0003659, allocations: 16.59 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1763, allocations: 106.3 MB / 0.9012 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1637/0.3401, allocations: 140.5 MB / 1.038 GB, free: 2.988 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000308/0.3404, allocations: 103.9 kB / 1.039 GB, free: 2.887 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04131/0.3818, allocations: 16.41 MB / 1.055 GB, free: 2.406 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3818, allocations: 0 / 1.055 GB, free: 2.406 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.763e-05/0.3819, allocations: 28.05 kB / 1.055 GB, free: 2.379 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.00206/0.384, allocations: 0.9912 MB / 1.056 GB, free: 1.316 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.384, allocations: 12.03 kB / 1.056 GB, free: 1.305 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000327/0.3844, allocations: 80 kB / 1.056 GB, free: 1.227 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.3855, allocations: 0.5826 MB / 1.056 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-05/0.3856, allocations: 49.36 kB / 1.056 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.3857, allocations: 64.36 kB / 1.056 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3795/0.7652, allocations: 0.5638 MB / 1.057 GB, free: 143.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.7653, allocations: 5.406 kB / 1.057 GB, free: 143.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.866e-05/0.7654, allocations: 19.7 kB / 1.057 GB, free: 143.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.7654, allocations: 12.31 kB / 1.057 GB, free: 143.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.7665, allocations: 454.9 kB / 1.057 GB, free: 143.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002663/0.7691, allocations: 1.618 MB / 1.059 GB, free: 142.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009178/0.7701, allocations: 0.5129 MB / 1.059 GB, free: 142.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003434/0.7704, allocations: 234.2 kB / 1.06 GB, free: 142.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.826e-05/0.7705, allocations: 15.19 kB / 1.06 GB, free: 142.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004685/0.771, allocations: 311 kB / 1.06 GB, free: 142.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=65): time 2.675e-06/0.771, allocations: 0 / 1.06 GB, free: 142.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=65): time 0.001232/0.7722, allocations: 0.6897 MB / 1.061 GB, free: 142.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.7723, allocations: 174.7 kB / 1.061 GB, free: 142.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008518/0.7731, allocations: 0.7097 MB / 1.062 GB, free: 142.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.497e-05/0.7732, allocations: 52.75 kB / 1.062 GB, free: 142.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000188/0.7734, allocations: 297 kB / 1.062 GB, free: 142.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.7735, allocations: 163.8 kB / 1.062 GB, free: 142.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/0.7736, allocations: 12.66 kB / 1.062 GB, free: 142.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.7737, allocations: 386.8 kB / 1.062 GB, free: 141.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003297/0.774, allocations: 192.2 kB / 1.063 GB, free: 141.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004351/0.7745, allocations: 381.8 kB / 1.063 GB, free: 141.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005827/0.7751, allocations: 423.9 kB / 1.063 GB, free: 141.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.7751, allocations: 6.688 kB / 1.063 GB, free: 141.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0008683/0.7759, allocations: 0.5923 MB / 1.064 GB, free: 141.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.776, allocations: 6.422 kB / 1.064 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.776, allocations: 4.562 kB / 1.064 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.776, allocations: 6.406 kB / 1.064 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002901/0.7763, allocations: 91.81 kB / 1.064 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.571e-05/0.7763, allocations: 12.53 kB / 1.064 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.7766, allocations: 56.56 kB / 1.064 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.487e-05/0.7766, allocations: 24.3 kB / 1.064 GB, free: 141.6 MB / 0.698 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.000302/0.777, allocations: 309.6 kB / 1.064 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.461e-05/0.777, allocations: 66.59 kB / 1.064 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009566/0.778, allocations: 0.6158 MB / 1.065 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.778, allocations: 7.844 kB / 1.065 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.778, allocations: 3.844 kB / 1.065 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.778, allocations: 7.828 kB / 1.065 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00204/0.7801, allocations: 1.479 MB / 1.067 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.7801, allocations: 0 / 1.067 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002295/0.7803, allocations: 58.05 kB / 1.067 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.261e-06/0.7804, allocations: 6.906 kB / 1.067 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.952e-05/0.7804, allocations: 19.52 kB / 1.067 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.7804, allocations: 4.438 kB / 1.067 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.7804, allocations: 5.297 kB / 1.067 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009671/0.7814, allocations: 0.6634 MB / 1.067 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.7815, allocations: 167.9 kB / 1.067 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.825e-05/0.7816, allocations: 15.97 kB / 1.067 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.7819, allocations: 36.05 kB / 1.067 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001881/0.7821, allocations: 88.22 kB / 1.068 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.603e-05/0.7821, allocations: 22.16 kB / 1.068 GB, free: 140.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006176/0.7827, allocations: 497.6 kB / 1.068 GB, free: 140.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7828, allocations: 0 / 1.068 GB, free: 140.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005796/0.7833, allocations: 177 kB / 1.068 GB, free: 140.6 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: 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.001552/0.7849, allocations: 0.7395 MB / 1.069 GB, free: 140.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001073/0.786, allocations: 0.5544 MB / 1.069 GB, free: 140.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.786, allocations: 0.6875 kB / 1.07 GB, free: 140.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005141/0.7865, allocations: 287.1 kB / 1.07 GB, free: 140.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006762/0.7872, allocations: 137.7 kB / 1.07 GB, free: 140.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/0.7894, allocations: 1.394 MB / 1.071 GB, free: 139.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005602/0.79, allocations: 0.9418 MB / 1.072 GB, free: 139 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004291/0.7904, allocations: 116.7 kB / 1.072 GB, free: 139 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/0.7906, allocations: 65.69 kB / 1.072 GB, free: 139 MB / 0.698 GB Notification: Performance of SimCode: time 3.81e-07/0.7906, allocations: 0.9062 kB / 1.072 GB, free: 139 MB / 0.698 GB Notification: Performance of Templates: time 0.01718/0.8078, allocations: 8.594 MB / 1.081 GB, free: 138.4 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.makefile (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe 2>&1)