Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.103/2.103, allocations: 251.1 MB / 266.7 MB, free: 11.62 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.001429/0.001428, allocations: 178.3 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.449/2.449, allocations: 205.4 MB / 0.5772 GB, free: 21.13 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.0009262/0.0009258, allocations: 105.7 kB / 0.6817 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004576/0.0004577, allocations: 15.28 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2004, allocations: 106.3 MB / 0.8995 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2397/0.4402, allocations: 141.2 MB / 1.037 GB, free: 4.586 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003775/0.4406, allocations: 103.9 kB / 1.037 GB, free: 4.484 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06245/0.5031, allocations: 14.04 MB / 1.051 GB, free: 6.383 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.324e-06/0.5031, allocations: 4 kB / 1.051 GB, free: 6.379 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.678e-05/0.5032, allocations: 23.94 kB / 1.051 GB, free: 6.355 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.002591/0.5058, allocations: 0.9137 MB / 1.052 GB, free: 5.367 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.5059, allocations: 8.031 kB / 1.052 GB, free: 5.359 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003167/0.5062, allocations: 76.03 kB / 1.052 GB, free: 5.285 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.5075, allocations: 471.2 kB / 1.053 GB, free: 4.785 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.001e-05/0.5076, allocations: 41.38 kB / 1.053 GB, free: 4.746 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/0.5078, allocations: 56.38 kB / 1.053 GB, free: 4.691 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/0.5096, allocations: 0.5744 MB / 1.053 GB, free: 4.098 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.5097, allocations: 192 / 1.053 GB, free: 4.098 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.302e-05/0.5098, allocations: 27.92 kB / 1.053 GB, free: 4.07 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2e-05/0.5098, allocations: 12 kB / 1.053 GB, free: 4.059 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/0.5116, allocations: 471.7 kB / 1.054 GB, free: 3.598 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004579/0.5163, allocations: 1.54 MB / 1.055 GB, free: 2.004 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/0.5181, allocations: 0.5099 MB / 1.056 GB, free: 1.484 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008338/0.519, allocations: 238.4 kB / 1.056 GB, free: 1.246 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.329e-05/0.5191, allocations: 12.55 kB / 1.056 GB, free: 1.234 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001041/0.5201, allocations: 326.9 kB / 1.056 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of pre-optimization done (n=63): time 4.077e-06/0.5202, allocations: 0 / 1.056 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of matching and sorting (n=63): time 0.002633/0.5228, allocations: 0.6857 MB / 1.057 GB, free: 216 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.523, allocations: 119.4 kB / 1.057 GB, free: 72 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6183/1.141, allocations: 498.5 kB / 1.058 GB, free: 146.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002276/1.142, allocations: 53.44 kB / 1.058 GB, free: 146.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002867/1.142, allocations: 255.3 kB / 1.058 GB, free: 146.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002357/1.142, allocations: 159.1 kB / 1.058 GB, free: 146.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.243e-05/1.142, allocations: 15.12 kB / 1.058 GB, free: 146.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000135/1.142, allocations: 368 kB / 1.058 GB, free: 146.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000826/1.143, allocations: 204.2 kB / 1.059 GB, free: 146.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008835/1.144, allocations: 346 kB / 1.059 GB, free: 146 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007551/1.145, allocations: 224 kB / 1.059 GB, free: 145.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/1.145, allocations: 3 kB / 1.059 GB, free: 145.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001908/1.147, allocations: 0.6251 MB / 1.06 GB, free: 145.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.262e-05/1.147, allocations: 40.84 kB / 1.06 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/1.147, allocations: 2.625 kB / 1.06 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.072e-05/1.147, allocations: 5.812 kB / 1.06 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006401/1.148, allocations: 88.72 kB / 1.06 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.805e-05/1.148, allocations: 8.531 kB / 1.06 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008121/1.148, allocations: 81.8 kB / 1.06 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.51e-05/1.149, allocations: 26.06 kB / 1.06 GB, free: 145.8 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.0005891/1.149, allocations: 264 kB / 1.06 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/1.149, allocations: 48.28 kB / 1.06 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001888/1.151, allocations: 0.6017 MB / 1.061 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/1.151, allocations: 10.47 kB / 1.061 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/1.151, allocations: 0 / 1.061 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/1.151, allocations: 3.328 kB / 1.061 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003495/1.155, allocations: 1.374 MB / 1.062 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/1.155, allocations: 2.406 kB / 1.062 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000465/1.155, allocations: 65.17 kB / 1.062 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.698e-06/1.155, allocations: 3.781 kB / 1.062 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.637e-05/1.155, allocations: 17.34 kB / 1.062 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.664e-06/1.155, allocations: 3.125 kB / 1.062 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.156, allocations: 0.75 kB / 1.062 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/1.157, allocations: 0.6454 MB / 1.063 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/1.158, allocations: 144.8 kB / 1.063 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/1.158, allocations: 23.03 kB / 1.063 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006747/1.158, allocations: 61.88 kB / 1.063 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003285/1.159, allocations: 94.38 kB / 1.063 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.905e-05/1.159, allocations: 22.5 kB / 1.063 GB, free: 145 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006185/1.159, allocations: 332.6 kB / 1.064 GB, free: 144.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.92e-07/1.159, allocations: 0 / 1.064 GB, free: 144.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009011/1.16, allocations: 157.3 kB / 1.064 GB, free: 144.9 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.002076/1.162, allocations: 0.7316 MB / 1.064 GB, free: 144.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002039/1.165, allocations: 0.6046 MB / 1.065 GB, free: 144.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.165, allocations: 0 / 1.065 GB, free: 144.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001031/1.166, allocations: 292 kB / 1.065 GB, free: 144.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/1.167, allocations: 95.73 kB / 1.065 GB, free: 144.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003029/1.17, allocations: 1.168 MB / 1.067 GB, free: 144.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005676/1.17, allocations: 0.8976 MB / 1.067 GB, free: 143.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006826/1.171, allocations: 89.84 kB / 1.068 GB, free: 143.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003222/1.171, allocations: 56.12 kB / 1.068 GB, free: 143.4 MB / 0.698 GB Notification: Performance of SimCode: time 1.213e-06/1.171, allocations: 0.6875 kB / 1.068 GB, free: 143.4 MB / 0.698 GB Notification: Performance of Templates: time 0.02561/1.197, allocations: 7.3 MB / 1.075 GB, free: 142.9 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.makefile (rm -f Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.sim & ./Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe 2>&1)