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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.627/1.627, allocations: 293 MB / 309 MB, free: 4.754 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.0009141/0.0009143, allocations: 184.5 kB / 378.7 MB, free: 0.9883 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.611/1.611, allocations: 205.4 MB / 0.6383 GB, free: 8.113 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.0007798/0.0007798, allocations: 97.12 kB / 0.7527 GB, free: 62.71 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003913/0.0003913, allocations: 16 kB / 0.8768 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.288, allocations: 116.4 MB / 0.9904 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7869/1.075, allocations: 142 MB / 1.129 GB, free: 32.39 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/1.075, allocations: 98.22 kB / 1.129 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01164/1.087, allocations: 4.703 MB / 1.134 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.033e-06/1.087, allocations: 0 / 1.134 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.749e-05/1.087, allocations: 8 kB / 1.134 GB, free: 29.02 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.0007352/1.088, allocations: 0.5212 MB / 1.134 GB, free: 28.49 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/1.088, allocations: 11.97 kB / 1.134 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.795e-05/1.088, allocations: 34.2 kB / 1.134 GB, free: 28.45 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/1.088, allocations: 266 kB / 1.135 GB, free: 28.17 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.624e-05/1.088, allocations: 29.69 kB / 1.135 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.564e-05/1.088, allocations: 30.7 kB / 1.135 GB, free: 28.12 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005783/1.089, allocations: 321 kB / 1.135 GB, free: 27.84 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/1.089, allocations: 4.5 kB / 1.135 GB, free: 27.84 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/1.089, allocations: 8.516 kB / 1.135 GB, free: 27.83 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/1.089, allocations: 8.656 kB / 1.135 GB, free: 27.82 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004635/1.089, allocations: 242.4 kB / 1.135 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001562/1.091, allocations: 0.9623 MB / 1.136 GB, free: 26.77 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000477/1.091, allocations: 257.5 kB / 1.136 GB, free: 26.54 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/1.092, allocations: 122.4 kB / 1.137 GB, free: 26.43 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/1.092, allocations: 8.172 kB / 1.137 GB, free: 26.42 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000288/1.092, allocations: 163.9 kB / 1.137 GB, free: 26.28 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=30): time 2.094e-06/1.092, allocations: 0 / 1.137 GB, free: 26.28 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30): time 0.0006454/1.093, allocations: 339.1 kB / 1.137 GB, free: 25.97 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/1.093, allocations: 56.62 kB / 1.137 GB, free: 25.91 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/1.093, allocations: 198.5 kB / 1.137 GB, free: 25.72 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/1.093, allocations: 38.92 kB / 1.137 GB, free: 25.68 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.202e-05/1.093, allocations: 153.3 kB / 1.137 GB, free: 25.53 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.936e-05/1.093, allocations: 81.05 kB / 1.138 GB, free: 25.46 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.568e-05/1.093, allocations: 12 kB / 1.138 GB, free: 25.45 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.976e-05/1.093, allocations: 330.4 kB / 1.138 GB, free: 25.12 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/1.093, allocations: 100.6 kB / 1.138 GB, free: 25.04 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/1.094, allocations: 153.8 kB / 1.138 GB, free: 24.88 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003369/1.094, allocations: 223.2 kB / 1.138 GB, free: 24.66 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.094, allocations: 4 kB / 1.138 GB, free: 24.65 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000482/1.094, allocations: 313.3 kB / 1.139 GB, free: 24.36 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/1.095, allocations: 4.703 kB / 1.139 GB, free: 24.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/1.095, allocations: 1.219 kB / 1.139 GB, free: 24.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/1.095, allocations: 4.156 kB / 1.139 GB, free: 24.36 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/1.095, allocations: 43.94 kB / 1.139 GB, free: 24.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/1.095, allocations: 8.594 kB / 1.139 GB, free: 24.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/1.095, allocations: 48.52 kB / 1.139 GB, free: 24.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.691e-05/1.095, allocations: 13.88 kB / 1.139 GB, free: 24.26 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.0001568/1.095, allocations: 183.2 kB / 1.139 GB, free: 24.08 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/1.095, allocations: 16.61 kB / 1.139 GB, free: 24.06 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005728/1.096, allocations: 279.4 kB / 1.139 GB, free: 23.82 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/1.096, allocations: 5.594 kB / 1.139 GB, free: 23.82 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/1.096, allocations: 7.938 kB / 1.139 GB, free: 23.81 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/1.096, allocations: 1.5 kB / 1.139 GB, free: 23.81 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009472/1.097, allocations: 0.7298 MB / 1.14 GB, free: 23.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/1.097, allocations: 1.922 kB / 1.14 GB, free: 23.13 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/1.097, allocations: 33.05 kB / 1.14 GB, free: 23.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/1.097, allocations: 4 kB / 1.14 GB, free: 23.1 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/1.097, allocations: 2.734 kB / 1.14 GB, free: 23.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/1.097, allocations: 4 kB / 1.14 GB, free: 23.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.097, allocations: 0 / 1.14 GB, free: 23.09 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004325/1.097, allocations: 372.3 kB / 1.14 GB, free: 22.74 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.302e-05/1.098, allocations: 98.27 kB / 1.14 GB, free: 22.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.205e-05/1.098, allocations: 4.562 kB / 1.14 GB, free: 22.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/1.098, allocations: 41.59 kB / 1.14 GB, free: 22.59 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/1.098, allocations: 44.77 kB / 1.141 GB, free: 22.56 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/1.098, allocations: 5.312 kB / 1.141 GB, free: 22.56 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.142e-05/1.098, allocations: 135.3 kB / 1.141 GB, free: 22.44 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3e-07/1.098, allocations: 0 / 1.141 GB, free: 22.44 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002983/1.098, allocations: 64.56 kB / 1.141 GB, free: 22.38 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.0001628/1.098, allocations: 123.6 kB / 1.141 GB, free: 22.25 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00047/1.099, allocations: 257.8 kB / 1.141 GB, free: 22.02 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.099, allocations: 0 / 1.141 GB, free: 22.02 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002103/1.099, allocations: 132.5 kB / 1.141 GB, free: 21.91 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/1.1, allocations: 34.05 kB / 1.141 GB, free: 21.88 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007829/1.1, allocations: 0.5358 MB / 1.142 GB, free: 21.36 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/1.101, allocations: 0.7613 MB / 1.143 GB, free: 20.6 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001296/1.101, allocations: 27.06 kB / 1.143 GB, free: 20.58 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.985e-05/1.101, allocations: 25.78 kB / 1.143 GB, free: 20.56 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/1.101, allocations: 0 / 1.143 GB, free: 20.56 MB / 0.7292 GB Notification: Performance of Templates: time 0.0071/1.108, allocations: 2.581 MB / 1.145 GB, free: 19.14 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)