Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 189.7 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.802/2.802, allocations: 472.6 MB / 0.7448 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 64.69 kB / 0.9115 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3502, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003882/0.3542, allocations: 2.132 MB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001514/0.3557, allocations: 0.7207 MB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002274/0.356, allocations: 4 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001887/0.3562, allocations: 15.8 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.3564, allocations: 35.72 kB / 1.071 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000499/0.3569, allocations: 143.9 kB / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000481/0.3574, allocations: 399.2 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003922/0.3578, allocations: 239.5 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002121/0.358, allocations: 139.5 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.3582, allocations: 143.4 kB / 1.072 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.427e-05/0.3583, allocations: 40 kB / 1.072 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.318e-05/0.3584, allocations: 44 kB / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.435e-05/0.3585, allocations: 87.73 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.3586, allocations: 147.3 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004011/0.359, allocations: 411 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.359, allocations: 0 / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.152e-06/0.359, allocations: 0 / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.445e-05/0.3591, allocations: 4 kB / 1.072 GB, free: 6.094 MB / 0.8262 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.0009252/0.36, allocations: 0.5651 MB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.36, allocations: 8.031 kB / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.588e-05/0.3601, allocations: 36.55 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.3604, allocations: 275.7 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.628e-05/0.3605, allocations: 24.88 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.654e-05/0.3605, allocations: 32.38 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005795/0.3611, allocations: 320 kB / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.3611, allocations: 0 / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.045e-05/0.3612, allocations: 8 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.3612, allocations: 8 kB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004837/0.3617, allocations: 238.1 kB / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.3632, allocations: 0.9402 MB / 1.075 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005283/0.3637, allocations: 235.6 kB / 1.075 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002557/0.364, allocations: 137.1 kB / 1.075 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.506e-05/0.3641, allocations: 4.219 kB / 1.075 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004135/0.3645, allocations: 160.7 kB / 1.075 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 2.785e-06/0.3645, allocations: 0 / 1.075 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.0007147/0.3652, allocations: 325.9 kB / 1.075 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.3653, allocations: 63.39 kB / 1.076 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.3655, allocations: 207.4 kB / 1.076 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.173e-05/0.3655, allocations: 41.7 kB / 1.076 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.3656, allocations: 148.6 kB / 1.076 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.924e-05/0.3657, allocations: 86.92 kB / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.3658, allocations: 77.59 kB / 1.076 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.366, allocations: 334.8 kB / 1.076 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.3662, allocations: 95.91 kB / 1.076 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002364/0.3664, allocations: 153 kB / 1.077 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003707/0.3668, allocations: 218.4 kB / 1.077 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3668, allocations: 0 / 1.077 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005282/0.3673, allocations: 304.9 kB / 1.077 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.3674, allocations: 4 kB / 1.077 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.3674, allocations: 4.141 kB / 1.077 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.3674, allocations: 8 kB / 1.077 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.3676, allocations: 39.86 kB / 1.077 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.3677, allocations: 3.984 kB / 1.077 GB, free: 0.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.3679, allocations: 47.72 kB / 1.077 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/0.3679, allocations: 8 kB / 1.077 GB, free: 0.7383 MB / 0.8262 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,heaCon.stateGraphRoot.activeSteps,heaCon.onToOff.t_start,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.fire,heaCon.onToOff.enableFire,heaCon.onToOff.condition,heaCon.offToOn.t_start,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.fire,heaCon.offToOn.enableFire,heaCon.offToOn.condition,heaCon.on.active,heaCon.on.oldActive,$PRE.heaCon.on.oldActive,heaCon.on.newActive,$PRE.heaCon.on.newActive,heaCon.on.localActive,$PRE.heaCon.on.localActive,heaCon.off.active,heaCon.off.oldActive,$PRE.heaCon.off.oldActive,heaCon.off.newActive,$PRE.heaCon.off.newActive,heaCon.off.localActive,$PRE.heaCon.off.localActive,$whenCondition1,$whenCondition2,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001887/0.3681, allocations: 185.6 kB / 1.077 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.523e-05/0.3682, allocations: 19.81 kB / 1.077 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005546/0.3687, allocations: 272.7 kB / 1.078 GB, free: 264 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.3687, allocations: 4 kB / 1.078 GB, free: 260 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3688, allocations: 3.938 kB / 1.078 GB, free: 256 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.3688, allocations: 0 / 1.078 GB, free: 256 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.3698, allocations: 0.7368 MB / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3698, allocations: 0 / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.37, allocations: 23.98 kB / 1.078 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.37, allocations: 11.88 kB / 1.078 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.37, allocations: 7.984 kB / 1.078 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.37, allocations: 4 kB / 1.078 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.37, allocations: 4 kB / 1.078 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005098/0.3706, allocations: 359.1 kB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.956e-05/0.3706, allocations: 96.77 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-05/0.3707, allocations: 8 kB / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.3709, allocations: 27.95 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.371, allocations: 39.89 kB / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.371, allocations: 12 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001053/0.3711, allocations: 136.3 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3711, allocations: 0 / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003618/0.3715, allocations: 67.84 kB / 1.079 GB, free: 14.64 MB / 0.8419 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.onToOff.enableFire,heaCon.offToOn.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.condition,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.onToOff.condition,heaCon.onToOff.fire,heaCon.onToOff.t_start,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001757/0.3717, allocations: 117 kB / 1.079 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006325/0.3723, allocations: 264.5 kB / 1.08 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3724, allocations: 4.062 kB / 1.08 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002455/0.3726, allocations: 131.9 kB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.373, allocations: 33.94 kB / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009277/0.3739, allocations: 0.557 MB / 1.08 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.3743, allocations: 0.7603 MB / 1.081 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001308/0.3744, allocations: 26.28 kB / 1.081 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.494e-05/0.3745, allocations: 27.44 kB / 1.081 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of SimCode: time 5.41e-07/0.3745, allocations: 4 kB / 1.081 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of Templates: time 0.00636/0.3809, allocations: 2.83 MB / 1.084 GB, free: 9.852 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)