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.ChillerStage.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.ChillerStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.322/1.322, allocations: 252 MB / 267.9 MB, free: 10.9 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.0008913/0.0008912, allocations: 179.8 kB / 327.6 MB, free: 2.145 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.509/1.509, allocations: 205.4 MB / 0.5785 GB, free: 20.2 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.0008012/0.0008012, allocations: 96.48 kB / 0.6831 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003664/0.0003665, allocations: 12.72 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1738, allocations: 106.3 MB / 0.9012 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1586/0.3324, allocations: 141.5 MB / 1.039 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.3327, allocations: 99.92 kB / 1.039 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03576/0.3685, allocations: 14.05 MB / 1.053 GB, free: 3.801 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.314e-06/0.3685, allocations: 0 / 1.053 GB, free: 3.801 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.475e-05/0.3686, allocations: 15.98 kB / 1.053 GB, free: 3.785 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001975/0.3706, allocations: 0.9097 MB / 1.054 GB, free: 2.801 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.3706, allocations: 8.031 kB / 1.054 GB, free: 2.793 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002971/0.3709, allocations: 72.09 kB / 1.054 GB, free: 2.723 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009099/0.3718, allocations: 486.9 kB / 1.055 GB, free: 2.207 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.743e-05/0.3719, allocations: 49.38 kB / 1.055 GB, free: 2.16 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.372, allocations: 56.38 kB / 1.055 GB, free: 2.105 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.3732, allocations: 0.5705 MB / 1.055 GB, free: 1.516 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.3732, allocations: 192 / 1.055 GB, free: 1.516 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.703e-05/0.3733, allocations: 27.88 kB / 1.055 GB, free: 1.488 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.3733, allocations: 19.98 kB / 1.055 GB, free: 1.469 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009998/0.3743, allocations: 463.7 kB / 1.056 GB, free: 1.016 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3886/0.7629, allocations: 1.538 MB / 1.057 GB, free: 143.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/0.764, allocations: 0.5086 MB / 1.058 GB, free: 143.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004324/0.7645, allocations: 237.1 kB / 1.058 GB, free: 143.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.112e-05/0.7645, allocations: 11.27 kB / 1.058 GB, free: 143.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005678/0.7651, allocations: 323 kB / 1.058 GB, free: 143.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=63): time 3.797e-06/0.7651, allocations: 0 / 1.058 GB, free: 143.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=63): time 0.001383/0.7665, allocations: 0.6828 MB / 1.059 GB, free: 143.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.7666, allocations: 120.2 kB / 1.059 GB, free: 143.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005902/0.7672, allocations: 0.4945 MB / 1.06 GB, free: 143.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.392e-05/0.7673, allocations: 53.78 kB / 1.06 GB, free: 143.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.7674, allocations: 256.8 kB / 1.06 GB, free: 143.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.7675, allocations: 155.1 kB / 1.06 GB, free: 143.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.7676, allocations: 15.84 kB / 1.06 GB, free: 143.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.422e-05/0.7677, allocations: 369.9 kB / 1.06 GB, free: 142.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004034/0.7681, allocations: 209.2 kB / 1.061 GB, free: 142.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004549/0.7686, allocations: 340.2 kB / 1.061 GB, free: 142.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007252/0.7693, allocations: 457.2 kB / 1.061 GB, free: 142.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.7693, allocations: 0 / 1.061 GB, free: 142.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00106/0.7704, allocations: 0.63 MB / 1.062 GB, free: 142.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.44e-05/0.7704, allocations: 32.81 kB / 1.062 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.7704, allocations: 2.812 kB / 1.062 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.7705, allocations: 5.781 kB / 1.062 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003185/0.7708, allocations: 86.86 kB / 1.062 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.7708, allocations: 6.594 kB / 1.062 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004076/0.7712, allocations: 83.64 kB / 1.062 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.143e-05/0.7713, allocations: 26.22 kB / 1.062 GB, free: 142.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 68 ($PRE.chiStaCon.con1.enableFire,$PRE.chiStaCon.con2.enableFire,$PRE.chiStaCon.con3.enableFire,$PRE.chiStaCon.con4.enableFire,$whenCondition5,$PRE.cooMod.combiTimeTable.nextTimeEvent,chiStaCon.stateGraphRoot.resume,chiStaCon.stateGraphRoot.suspend,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.cooMod,chiStaCon.con1.enableFire,chiStaCon.con1.fire,$PRE.chiStaCon.con1.t_start,chiStaCon.con1.t_start,chiStaCon.con1.condition,$PRE.chiStaCon.oneOn.localActive,chiStaCon.oneOn.localActive,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,$PRE.chiStaCon.oneOn.newActive,chiStaCon.oneOn.newActive,$PRE.chiStaCon.oneOn.oldActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,$PRE.chiStaCon.off.localActive,chiStaCon.off.localActive,$PRE.chiStaCon.off.newActive,chiStaCon.off.newActive,$PRE.chiStaCon.off.oldActive,chiStaCon.off.oldActive,chiStaCon.off.active,$PRE.chiStaCon.twoOn.localActive,chiStaCon.twoOn.localActive,$PRE.chiStaCon.twoOn.newActive,chiStaCon.twoOn.newActive,$PRE.chiStaCon.twoOn.oldActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.enableFire,chiStaCon.con2.fire,$PRE.chiStaCon.con2.t_start,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.enableFire,chiStaCon.con3.fire,$PRE.chiStaCon.con3.t_start,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.enableFire,chiStaCon.con4.fire,$PRE.chiStaCon.con4.t_start,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,$PRE.TCHWSup.T_start,TCHWSup.T_start,$PRE.TCHWSup.count,TCHWSup.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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.0003038/0.7716, allocations: 276.8 kB / 1.062 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.039e-05/0.7717, allocations: 51.28 kB / 1.063 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.7727, allocations: 0.5938 MB / 1.063 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.7727, allocations: 8.531 kB / 1.063 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.7728, allocations: 0 / 1.063 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.7728, allocations: 3.469 kB / 1.063 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002136/0.7749, allocations: 1.379 MB / 1.064 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.7749, allocations: 0.5625 kB / 1.064 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002571/0.7752, allocations: 66.83 kB / 1.065 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.7752, allocations: 2.875 kB / 1.065 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.481e-05/0.7753, allocations: 16.11 kB / 1.065 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.7753, allocations: 8.312 kB / 1.065 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7753, allocations: 0.6094 kB / 1.065 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009397/0.7762, allocations: 0.6416 MB / 1.065 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.7763, allocations: 147.5 kB / 1.065 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.561e-05/0.7764, allocations: 19.16 kB / 1.065 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003432/0.7768, allocations: 62.58 kB / 1.065 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000221/0.777, allocations: 92.78 kB / 1.065 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.431e-05/0.7771, allocations: 23.5 kB / 1.066 GB, free: 141.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004094/0.7775, allocations: 333.5 kB / 1.066 GB, free: 141.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7775, allocations: 4.625 kB / 1.066 GB, free: 141.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006007/0.7781, allocations: 152.3 kB / 1.066 GB, free: 141.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: 51 (chiStaCon.con3.enableFire,chiStaCon.con4.enableFire,chiStaCon.con1.enableFire,chiStaCon.con2.enableFire,chiStaCon.twoOn.localActive,chiStaCon.off.localActive,chiStaCon.oneOn.localActive,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.cooMod,chiStaCon.con1.fire,chiStaCon.con1.t_start,chiStaCon.con1.condition,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,chiStaCon.oneOn.newActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,chiStaCon.off.newActive,chiStaCon.off.oldActive,chiStaCon.off.active,chiStaCon.twoOn.newActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.fire,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.fire,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.fire,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled,TCHWSup.T_start,TCHWSup.count) * Number of discrete states: 6 (TCHWSup.count,cooMod.combiTimeTable.nextTimeEvent,chiStaCon.oneOn.newActive,chiStaCon.off.newActive,chiStaCon.twoOn.newActive,cooMod.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 59 * 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.001537/0.7796, allocations: 0.7378 MB / 1.067 GB, free: 141.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001266/0.7809, allocations: 0.5921 MB / 1.067 GB, free: 141.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.7809, allocations: 4.062 kB / 1.067 GB, free: 141.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006035/0.7815, allocations: 290.7 kB / 1.068 GB, free: 141.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006268/0.7822, allocations: 101.3 kB / 1.068 GB, free: 141.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/0.7843, allocations: 1.166 MB / 1.069 GB, free: 140.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005585/0.7849, allocations: 0.8952 MB / 1.07 GB, free: 139.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003947/0.7853, allocations: 90.78 kB / 1.07 GB, free: 139.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/0.7855, allocations: 56.12 kB / 1.07 GB, free: 139.9 MB / 0.698 GB Notification: Performance of SimCode: time 3.31e-07/0.7855, allocations: 0 / 1.07 GB, free: 139.9 MB / 0.698 GB Notification: Performance of Templates: time 0.01686/0.8023, allocations: 7.351 MB / 1.077 GB, free: 139.4 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.makefile (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe 2>&1)