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.001153/0.001153, allocations: 97.33 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.008717/0.008717, allocations: 169.8 kB / 16.27 MB, free: 6.66 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.38/1.38, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.844/2.844, allocations: 473.4 MB / 0.7469 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003741/0.0003741, allocations: 15.08 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3552, allocations: 162.2 MB / 1.074 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002543/0.3578, allocations: 1.766 MB / 1.076 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.3591, allocations: 0.7052 MB / 1.077 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.3593, allocations: 7.938 kB / 1.077 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.3594, allocations: 19.8 kB / 1.077 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.3595, allocations: 35.72 kB / 1.077 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.3599, allocations: 139.9 kB / 1.077 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004176/0.3604, allocations: 363.2 kB / 1.077 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003524/0.3607, allocations: 204 kB / 1.077 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.3609, allocations: 99.58 kB / 1.077 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.3611, allocations: 123.3 kB / 1.077 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.603e-05/0.3611, allocations: 12 kB / 1.078 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.86e-05/0.3612, allocations: 20 kB / 1.078 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.394e-05/0.3613, allocations: 55.75 kB / 1.078 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001447/0.3615, allocations: 141 kB / 1.078 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003899/0.3618, allocations: 366.9 kB / 1.078 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.3619, allocations: 7.938 kB / 1.078 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of FrontEnd: time 5.39e-06/0.3619, allocations: 0 / 1.078 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.3619, allocations: 7.938 kB / 1.078 GB, free: 3.496 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.0008736/0.3628, allocations: 0.5106 MB / 1.079 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.3628, allocations: 8.031 kB / 1.079 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.47e-05/0.3629, allocations: 32.56 kB / 1.079 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003077/0.3632, allocations: 271.8 kB / 1.079 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.603e-05/0.3633, allocations: 24.94 kB / 1.079 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.269e-05/0.3633, allocations: 32.38 kB / 1.079 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006111/0.3639, allocations: 331.7 kB / 1.079 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.364, allocations: 0 / 1.079 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.037e-05/0.364, allocations: 8 kB / 1.079 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.364, allocations: 8 kB / 1.079 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005014/0.3645, allocations: 250.1 kB / 1.08 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.366, allocations: 0.9403 MB / 1.08 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005053/0.3665, allocations: 256.9 kB / 1.081 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.3667, allocations: 129.2 kB / 1.081 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.3667, allocations: 4.234 kB / 1.081 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000333/0.3671, allocations: 172.7 kB / 1.081 GB, free: 384 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.763e-06/0.3671, allocations: 0 / 1.081 GB, free: 384 kB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.0006868/0.3678, allocations: 341.8 kB / 1.081 GB, free: 36 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.3679, allocations: 63.41 kB / 1.081 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.368, allocations: 202.8 kB / 1.082 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.245e-05/0.3681, allocations: 37.7 kB / 1.082 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.3682, allocations: 152.6 kB / 1.082 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.163e-05/0.3683, allocations: 78.94 kB / 1.082 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.567e-05/0.3684, allocations: 53.69 kB / 1.082 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3685, allocations: 330.8 kB / 1.082 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.3687, allocations: 104 kB / 1.082 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002398/0.369, allocations: 160.9 kB / 1.082 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000394/0.3694, allocations: 226.4 kB / 1.083 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.3694, allocations: 3.938 kB / 1.083 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005454/0.37, allocations: 317 kB / 1.083 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.37, allocations: 4 kB / 1.083 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.37, allocations: 4 kB / 1.083 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.37, allocations: 0 / 1.083 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.3702, allocations: 40.06 kB / 1.083 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.3702, allocations: 11.94 kB / 1.083 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/0.3705, allocations: 59.7 kB / 1.083 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/0.3705, allocations: 8 kB / 1.083 GB, free: 14.13 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.0001792/0.3707, allocations: 177.7 kB / 1.083 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/0.3707, allocations: 27.7 kB / 1.083 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005616/0.3713, allocations: 284.7 kB / 1.084 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.3713, allocations: 4 kB / 1.084 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3713, allocations: 0 / 1.084 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.3713, allocations: 7.938 kB / 1.084 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.3724, allocations: 0.7447 MB / 1.084 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3724, allocations: 4 kB / 1.084 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.3725, allocations: 27.92 kB / 1.084 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.3725, allocations: 4 kB / 1.084 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.3726, allocations: 4 kB / 1.084 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.3726, allocations: 7.984 kB / 1.084 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3726, allocations: 3.938 kB / 1.084 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004939/0.3731, allocations: 363.1 kB / 1.085 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.357e-05/0.3731, allocations: 96.77 kB / 1.085 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/0.3732, allocations: 8 kB / 1.085 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.3734, allocations: 39.95 kB / 1.085 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.3735, allocations: 39.89 kB / 1.085 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.3735, allocations: 12 kB / 1.085 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.98e-05/0.3737, allocations: 136.9 kB / 1.085 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3737, allocations: 0 / 1.085 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003196/0.374, allocations: 67.84 kB / 1.085 GB, free: 11.99 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.0001771/0.3742, allocations: 113.1 kB / 1.085 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004919/0.3747, allocations: 264.3 kB / 1.085 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3747, allocations: 0 / 1.085 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002354/0.3749, allocations: 136.2 kB / 1.086 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.3753, allocations: 37.3 kB / 1.086 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008617/0.3762, allocations: 0.5658 MB / 1.086 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.3765, allocations: 0.7527 MB / 1.087 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001072/0.3766, allocations: 30.28 kB / 1.087 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.209e-05/0.3767, allocations: 31.36 kB / 1.087 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of SimCode: time 2.11e-07/0.3767, allocations: 0 / 1.087 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of Templates: time 0.006098/0.3828, allocations: 2.657 MB / 1.09 GB, free: 7.379 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)