Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001052/0.001052, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.008289/0.008289, allocations: 171.1 kB / 16.27 MB, free: 6.648 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.527/1.527, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.868/2.868, allocations: 473.4 MB / 0.7469 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003178/0.0003178, allocations: 10.31 kB / 0.9158 GB, free: 33.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3332, allocations: 162.2 MB / 1.074 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002626/0.3358, allocations: 1.766 MB / 1.076 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.3372, allocations: 0.7129 MB / 1.077 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.3374, allocations: 4 kB / 1.077 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001295/0.3375, allocations: 19.8 kB / 1.077 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.3377, allocations: 39.7 kB / 1.077 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003895/0.3381, allocations: 135.9 kB / 1.077 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004052/0.3385, allocations: 367.2 kB / 1.077 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000333/0.3388, allocations: 208.1 kB / 1.077 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.339, allocations: 107.5 kB / 1.077 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.3392, allocations: 111.4 kB / 1.078 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.385e-05/0.3392, allocations: 12 kB / 1.078 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.224e-05/0.3393, allocations: 23.98 kB / 1.078 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.789e-05/0.3393, allocations: 55.75 kB / 1.078 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.3395, allocations: 141 kB / 1.078 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003326/0.3398, allocations: 374.9 kB / 1.078 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3398, allocations: 0 / 1.078 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3398, allocations: 0 / 1.078 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.064e-06/0.3399, allocations: 4 kB / 1.078 GB, free: 3.508 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.0008281/0.3407, allocations: 0.5067 MB / 1.079 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.3407, allocations: 8.031 kB / 1.079 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.076e-05/0.3408, allocations: 32.56 kB / 1.079 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.3412, allocations: 283.7 kB / 1.079 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.596e-05/0.3412, allocations: 20.94 kB / 1.079 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.908e-05/0.3413, allocations: 32.38 kB / 1.079 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005918/0.3419, allocations: 319.8 kB / 1.079 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3419, allocations: 0 / 1.079 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.961e-05/0.3419, allocations: 8 kB / 1.079 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.3419, allocations: 8 kB / 1.079 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004905/0.3424, allocations: 250.1 kB / 1.08 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/0.3439, allocations: 0.9519 MB / 1.08 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000516/0.3444, allocations: 247.6 kB / 1.081 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002263/0.3447, allocations: 133.1 kB / 1.081 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.3447, allocations: 4.234 kB / 1.081 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003582/0.3451, allocations: 160.8 kB / 1.081 GB, free: 408 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.833e-06/0.3451, allocations: 0 / 1.081 GB, free: 408 kB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.0006934/0.3458, allocations: 341.8 kB / 1.081 GB, free: 60 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.782e-05/0.3459, allocations: 63.41 kB / 1.081 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.3461, allocations: 210.7 kB / 1.082 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.692e-05/0.3461, allocations: 37.7 kB / 1.082 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.3462, allocations: 164.5 kB / 1.082 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.948e-05/0.3463, allocations: 70.95 kB / 1.082 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.193e-05/0.3464, allocations: 53.69 kB / 1.082 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.3465, allocations: 330.8 kB / 1.082 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.3467, allocations: 104 kB / 1.082 GB, free: 15 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.347, allocations: 161 kB / 1.082 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004004/0.3474, allocations: 222.4 kB / 1.083 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.3474, allocations: 3.938 kB / 1.083 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005455/0.348, allocations: 316.9 kB / 1.083 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.348, allocations: 4 kB / 1.083 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.348, allocations: 4 kB / 1.083 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.348, allocations: 0 / 1.083 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.3482, allocations: 52 kB / 1.083 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.3482, allocations: 0 / 1.083 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002214/0.3485, allocations: 55.72 kB / 1.083 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.422e-05/0.3485, allocations: 12 kB / 1.083 GB, free: 14.14 MB / 0.8419 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.0001856/0.3487, allocations: 181.6 kB / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.364e-05/0.3487, allocations: 23.72 kB / 1.083 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006065/0.3494, allocations: 280.7 kB / 1.084 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.3494, allocations: 7.938 kB / 1.084 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.3494, allocations: 8 kB / 1.084 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.3494, allocations: 3.984 kB / 1.084 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.3505, allocations: 0.7369 MB / 1.084 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3505, allocations: 7.938 kB / 1.084 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.3507, allocations: 23.98 kB / 1.084 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3507, allocations: 7.984 kB / 1.084 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.3507, allocations: 4 kB / 1.084 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.3507, allocations: 4 kB / 1.084 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3507, allocations: 3.938 kB / 1.084 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004971/0.3512, allocations: 363.1 kB / 1.085 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.167e-05/0.3513, allocations: 96.77 kB / 1.085 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.3513, allocations: 11.98 kB / 1.085 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.3515, allocations: 35.97 kB / 1.085 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.639e-05/0.3517, allocations: 39.89 kB / 1.085 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.3517, allocations: 8 kB / 1.085 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.805e-05/0.3518, allocations: 136.9 kB / 1.085 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3518, allocations: 0 / 1.085 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003304/0.3521, allocations: 67.84 kB / 1.085 GB, free: 12.02 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.0001709/0.3523, allocations: 125 kB / 1.085 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005201/0.3528, allocations: 256.3 kB / 1.085 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3528, allocations: 0 / 1.085 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002482/0.3531, allocations: 132.2 kB / 1.086 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.3535, allocations: 43.91 kB / 1.086 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008389/0.3543, allocations: 0.5634 MB / 1.086 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.3547, allocations: 0.7605 MB / 1.087 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001085/0.3548, allocations: 22.3 kB / 1.087 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.076e-05/0.3549, allocations: 27.42 kB / 1.087 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of SimCode: time 1.823e-06/0.3549, allocations: 0 / 1.087 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of Templates: time 0.006251/0.3611, allocations: 2.66 MB / 1.09 GB, free: 7.395 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)