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.ConstantSpeedPumpStage.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.ConstantSpeedPumpStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.819/1.819, allocations: 288.3 MB / 303.2 MB, free: 8.117 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.001217/0.001217, allocations: 181 kB / 371.8 MB, free: 10.3 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.844/1.844, allocations: 205.4 MB / 0.6306 GB, free: 9.961 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.0009277/0.0009277, allocations: 94.55 kB / 0.7439 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004953/0.0004954, allocations: 15.84 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2265, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7239/0.9505, allocations: 146.7 MB / 1.123 GB, free: 16.46 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/0.9508, allocations: 97.84 kB / 1.123 GB, free: 16.46 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03817/0.989, allocations: 16.34 MB / 1.139 GB, free: 27.54 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.024e-06/0.989, allocations: 0 / 1.139 GB, free: 27.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.701e-05/0.9891, allocations: 23.31 kB / 1.139 GB, free: 27.53 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.001479/0.9906, allocations: 0.9993 MB / 1.14 GB, free: 26.74 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.9906, allocations: 11.8 kB / 1.14 GB, free: 26.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000136/0.9908, allocations: 85.56 kB / 1.14 GB, free: 26.69 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008428/0.9916, allocations: 0.5595 MB / 1.14 GB, free: 26.34 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.124e-05/0.9917, allocations: 51.14 kB / 1.14 GB, free: 26.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.393e-05/0.9918, allocations: 58.47 kB / 1.14 GB, free: 26.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008704/0.9927, allocations: 0.5717 MB / 1.141 GB, free: 26.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.9927, allocations: 3.953 kB / 1.141 GB, free: 26.13 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.58e-05/0.9927, allocations: 21.56 kB / 1.141 GB, free: 26.13 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.9927, allocations: 11.72 kB / 1.141 GB, free: 26.13 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006618/0.9934, allocations: 451.6 kB / 1.142 GB, free: 26.06 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002073/0.9955, allocations: 1.624 MB / 1.143 GB, free: 25.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000948/0.9965, allocations: 0.5204 MB / 1.144 GB, free: 25.19 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.024e-05/0.9965, allocations: 8.156 kB / 1.144 GB, free: 25.19 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005309/0.9971, allocations: 310.5 kB / 1.144 GB, free: 25.07 MB / 0.698 GB Notification: Performance of pre-optimization done (n=65): time 3.637e-06/0.9971, allocations: 4.344 kB / 1.144 GB, free: 25.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=65): time 0.001246/0.9983, allocations: 0.6911 MB / 1.145 GB, free: 24.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.499e-05/0.9984, allocations: 172.7 kB / 1.145 GB, free: 24.72 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006798/0.9991, allocations: 0.6519 MB / 1.145 GB, free: 24.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.296e-05/0.9992, allocations: 53.52 kB / 1.145 GB, free: 24.47 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.9994, allocations: 294.3 kB / 1.146 GB, free: 24.34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.9995, allocations: 165 kB / 1.146 GB, free: 24.23 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/0.9995, allocations: 17.59 kB / 1.146 GB, free: 24.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.9997, allocations: 377.6 kB / 1.146 GB, free: 23.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000334/1, allocations: 196 kB / 1.146 GB, free: 23.87 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004049/1, allocations: 374.4 kB / 1.147 GB, free: 23.69 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003138/1.001, allocations: 194.2 kB / 1.147 GB, free: 23.67 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/1.001, allocations: 7.875 kB / 1.147 GB, free: 23.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0008357/1.002, allocations: 0.5904 MB / 1.148 GB, free: 23.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/1.002, allocations: 7.656 kB / 1.148 GB, free: 23.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/1.002, allocations: 7.953 kB / 1.148 GB, free: 23.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/1.002, allocations: 7.797 kB / 1.148 GB, free: 23.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003178/1.002, allocations: 84.89 kB / 1.148 GB, free: 23.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/1.002, allocations: 15.69 kB / 1.148 GB, free: 23.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002873/1.002, allocations: 49.77 kB / 1.148 GB, free: 23.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.415e-05/1.002, allocations: 30.3 kB / 1.148 GB, free: 23.46 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.0003669/1.003, allocations: 309.9 kB / 1.148 GB, free: 23.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.238e-05/1.003, allocations: 62.09 kB / 1.148 GB, free: 23.27 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/1.004, allocations: 0.6052 MB / 1.149 GB, free: 23.12 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/1.004, allocations: 11.59 kB / 1.149 GB, free: 23.12 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/1.004, allocations: 3.953 kB / 1.149 GB, free: 23.12 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/1.004, allocations: 3.984 kB / 1.149 GB, free: 23.11 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001937/1.006, allocations: 1.49 MB / 1.15 GB, free: 22.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.006, allocations: 0 / 1.15 GB, free: 22.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/1.006, allocations: 54.41 kB / 1.15 GB, free: 22.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/1.006, allocations: 7.906 kB / 1.15 GB, free: 22.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.662e-05/1.006, allocations: 23.44 kB / 1.15 GB, free: 22.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/1.006, allocations: 3.906 kB / 1.15 GB, free: 22.48 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.006, allocations: 0 / 1.15 GB, free: 22.48 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008006/1.007, allocations: 0.6591 MB / 1.151 GB, free: 22.25 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/1.007, allocations: 176.8 kB / 1.151 GB, free: 22.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.84e-05/1.007, allocations: 21.34 kB / 1.151 GB, free: 22.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002401/1.008, allocations: 38.06 kB / 1.151 GB, free: 22.09 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/1.008, allocations: 84.03 kB / 1.151 GB, free: 22.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.096e-05/1.008, allocations: 22.17 kB / 1.151 GB, free: 22.05 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004922/1.008, allocations: 493.6 kB / 1.152 GB, free: 21.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/1.008, allocations: 0 / 1.152 GB, free: 21.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005569/1.009, allocations: 175 kB / 1.152 GB, free: 21.88 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.001456/1.01, allocations: 0.7501 MB / 1.153 GB, free: 21.51 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008368/1.011, allocations: 0.5661 MB / 1.153 GB, free: 21.41 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/1.011, allocations: 0 / 1.153 GB, free: 21.41 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003732/1.012, allocations: 281.8 kB / 1.153 GB, free: 21.37 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005457/1.012, allocations: 104.9 kB / 1.154 GB, free: 21.35 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/1.014, allocations: 1.384 MB / 1.155 GB, free: 20.63 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004618/1.014, allocations: 0.9568 MB / 1.156 GB, free: 19.82 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003065/1.015, allocations: 129.2 kB / 1.156 GB, free: 19.77 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001838/1.015, allocations: 64.03 kB / 1.156 GB, free: 19.73 MB / 0.698 GB Notification: Performance of SimCode: time 4.51e-07/1.015, allocations: 0 / 1.156 GB, free: 19.73 MB / 0.698 GB Notification: Performance of Templates: time 0.01345/1.028, allocations: 8.512 MB / 1.164 GB, free: 11.31 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.makefile (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.sim & ./Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe 2>&1)