Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.707/1.707, allocations: 292.6 MB / 307.5 MB, free: 5.172 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.0011/0.0011, allocations: 185 kB / 377.1 MB, free: 1.52 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.731/1.731, allocations: 205.4 MB / 0.6367 GB, free: 9.484 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009981/0.0009986, allocations: 95.39 kB / 0.751 GB, free: 62.7 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003898/0.0003906, allocations: 12 kB / 0.8748 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3008, allocations: 116.3 MB / 0.9884 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7809/1.082, allocations: 141.9 MB / 1.127 GB, free: 33.51 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003419/1.082, allocations: 93.34 kB / 1.127 GB, free: 33.43 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01182/1.094, allocations: 4.694 MB / 1.132 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.186e-06/1.094, allocations: 2.562 kB / 1.132 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.616e-05/1.094, allocations: 8 kB / 1.132 GB, free: 30.15 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0006874/1.095, allocations: 0.5214 MB / 1.132 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/1.095, allocations: 12.02 kB / 1.132 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.891e-05/1.095, allocations: 35.56 kB / 1.132 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/1.095, allocations: 272.7 kB / 1.132 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.711e-05/1.095, allocations: 33.38 kB / 1.133 GB, free: 29.26 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.733e-05/1.095, allocations: 33.23 kB / 1.133 GB, free: 29.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005562/1.096, allocations: 306.4 kB / 1.133 GB, free: 28.97 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/1.096, allocations: 0 / 1.133 GB, free: 28.97 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.103e-05/1.096, allocations: 12.7 kB / 1.133 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/1.096, allocations: 9.031 kB / 1.133 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004707/1.096, allocations: 251.8 kB / 1.133 GB, free: 28.74 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/1.098, allocations: 0.9547 MB / 1.134 GB, free: 27.9 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004742/1.098, allocations: 253.2 kB / 1.134 GB, free: 27.67 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/1.098, allocations: 4.234 kB / 1.134 GB, free: 27.66 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002814/1.099, allocations: 165 kB / 1.134 GB, free: 27.52 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=30): time 1.653e-06/1.099, allocations: 0 / 1.134 GB, free: 27.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30): time 0.0006606/1.099, allocations: 333.9 kB / 1.135 GB, free: 27.22 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/1.099, allocations: 56.02 kB / 1.135 GB, free: 27.15 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/1.1, allocations: 182.2 kB / 1.135 GB, free: 26.98 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/1.1, allocations: 39.2 kB / 1.135 GB, free: 26.94 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.553e-05/1.1, allocations: 157 kB / 1.135 GB, free: 26.79 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.156e-05/1.1, allocations: 77.22 kB / 1.135 GB, free: 26.72 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.618e-05/1.1, allocations: 8 kB / 1.135 GB, free: 26.71 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.912e-05/1.1, allocations: 338.7 kB / 1.136 GB, free: 26.38 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/1.1, allocations: 104 kB / 1.136 GB, free: 26.29 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/1.1, allocations: 145.3 kB / 1.136 GB, free: 26.14 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/1.101, allocations: 107.8 kB / 1.136 GB, free: 26.04 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.101, allocations: 0 / 1.136 GB, free: 26.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004979/1.101, allocations: 309.7 kB / 1.136 GB, free: 25.76 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/1.101, allocations: 4.938 kB / 1.136 GB, free: 25.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/1.101, allocations: 4.75 kB / 1.136 GB, free: 25.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/1.101, allocations: 1.719 kB / 1.136 GB, free: 25.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/1.101, allocations: 46.92 kB / 1.136 GB, free: 25.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/1.101, allocations: 0.75 kB / 1.136 GB, free: 25.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/1.102, allocations: 52.09 kB / 1.136 GB, free: 25.67 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-05/1.102, allocations: 13.41 kB / 1.136 GB, free: 25.66 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.heaCon.offToOn.enableFire,$PRE.heaCon.onToOff.enableFire,$whenCondition2,$whenCondition1,$PRE.heaCon.off.localActive,heaCon.off.localActive,$PRE.heaCon.off.newActive,heaCon.off.newActive,$PRE.heaCon.off.oldActive,heaCon.off.oldActive,heaCon.off.active,$PRE.heaCon.on.localActive,heaCon.on.localActive,$PRE.heaCon.on.newActive,heaCon.on.newActive,$PRE.heaCon.on.oldActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.enableFire,heaCon.offToOn.fire,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.enableFire,heaCon.onToOff.fire,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.t_start,heaCon.onToOff.condition,heaCon.stateGraphRoot.activeSteps,heaCon.stateGraphRoot.resume,heaCon.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001537/1.102, allocations: 171.3 kB / 1.136 GB, free: 25.48 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/1.102, allocations: 16.33 kB / 1.136 GB, free: 25.47 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005317/1.102, allocations: 288.2 kB / 1.137 GB, free: 25.22 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/1.102, allocations: 5.828 kB / 1.137 GB, free: 25.21 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/1.102, allocations: 0.5625 kB / 1.137 GB, free: 25.21 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/1.102, allocations: 1.453 kB / 1.137 GB, free: 25.21 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009632/1.103, allocations: 0.7364 MB / 1.138 GB, free: 24.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/1.103, allocations: 0 / 1.138 GB, free: 24.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/1.104, allocations: 36.8 kB / 1.138 GB, free: 24.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/1.104, allocations: 0 / 1.138 GB, free: 24.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/1.104, allocations: 9.453 kB / 1.138 GB, free: 24.49 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/1.104, allocations: 4 kB / 1.138 GB, free: 24.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.104, allocations: 5.016 kB / 1.138 GB, free: 24.48 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004309/1.104, allocations: 360.6 kB / 1.138 GB, free: 24.14 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.262e-05/1.104, allocations: 102.2 kB / 1.138 GB, free: 24.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.408e-05/1.104, allocations: 8.844 kB / 1.138 GB, free: 24.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/1.104, allocations: 33.75 kB / 1.138 GB, free: 23.99 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/1.104, allocations: 38.39 kB / 1.138 GB, free: 23.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/1.104, allocations: 13.78 kB / 1.138 GB, free: 23.95 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.866e-05/1.105, allocations: 138.5 kB / 1.138 GB, free: 23.83 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.21e-07/1.105, allocations: 0 / 1.138 GB, free: 23.83 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003117/1.105, allocations: 61.3 kB / 1.138 GB, free: 23.77 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 21 (heaCon.offToOn.enableFire,heaCon.onToOff.enableFire,heaCon.on.localActive,heaCon.off.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.newActive,heaCon.off.oldActive,heaCon.off.active,heaCon.on.newActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.fire,heaCon.onToOff.t_start,heaCon.onToOff.condition,heaCon.stateGraphRoot.activeSteps) * Number of discrete states: 2 (heaCon.off.newActive,heaCon.on.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001866/1.105, allocations: 127.5 kB / 1.138 GB, free: 23.64 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004975/1.106, allocations: 258.5 kB / 1.139 GB, free: 23.41 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.106, allocations: 0 / 1.139 GB, free: 23.41 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000213/1.106, allocations: 131.7 kB / 1.139 GB, free: 23.29 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/1.106, allocations: 25.95 kB / 1.139 GB, free: 23.27 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007962/1.107, allocations: 0.5326 MB / 1.139 GB, free: 22.76 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/1.107, allocations: 0.7687 MB / 1.14 GB, free: 21.99 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001312/1.107, allocations: 33.08 kB / 1.14 GB, free: 21.97 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.955e-05/1.107, allocations: 25.5 kB / 1.14 GB, free: 21.95 MB / 0.7292 GB Notification: Performance of SimCode: time 2.1e-07/1.107, allocations: 0 / 1.14 GB, free: 21.95 MB / 0.7292 GB Notification: Performance of Templates: time 0.006522/1.114, allocations: 2.552 MB / 1.143 GB, free: 20.54 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)