Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.739/2.739, allocations: 287.5 MB / 302.4 MB, free: 8.316 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.001509/0.00151, allocations: 181.3 kB / 371 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.304/2.304, allocations: 205.4 MB / 0.6297 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 97.41 kB / 0.743 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005291/0.0005293, allocations: 10.78 kB / 0.8658 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2474, allocations: 115.3 MB / 0.9784 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002651/0.2502, allocations: 1.719 MB / 0.98 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001771/0.252, allocations: 0.7337 MB / 0.9808 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002702/0.2523, allocations: 4 kB / 0.9808 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001417/0.2525, allocations: 27.72 kB / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001447/0.2526, allocations: 31.72 kB / 0.9808 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005273/0.2532, allocations: 103.9 kB / 0.9809 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004628/0.2537, allocations: 343.2 kB / 0.9812 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004073/0.2541, allocations: 187 kB / 0.9814 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002314/0.2543, allocations: 99.62 kB / 0.9815 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.2545, allocations: 107.5 kB / 0.9816 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.718e-05/0.2546, allocations: 12 kB / 0.9816 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.2547, allocations: 23.98 kB / 0.9816 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.831e-05/0.2548, allocations: 63.75 kB / 0.9817 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.544e-05/0.2549, allocations: 65.58 kB / 0.9818 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003933/0.2553, allocations: 299.5 kB / 0.9821 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2553, allocations: 0 / 0.9821 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.785e-06/0.2554, allocations: 0 / 0.9821 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.2554, allocations: 0 / 0.9821 GB, free: 24.53 MB / 0.6198 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.001042/0.2564, allocations: 0.5182 MB / 0.9826 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.2565, allocations: 12.02 kB / 0.9826 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.13e-05/0.2566, allocations: 43.52 kB / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003811/0.257, allocations: 262.5 kB / 0.9829 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.832e-05/0.257, allocations: 28.56 kB / 0.9829 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.725e-05/0.2571, allocations: 28 kB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008355/0.258, allocations: 323.6 kB / 0.9832 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.258, allocations: 3.938 kB / 0.9832 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.619e-05/0.2581, allocations: 11.98 kB / 0.9832 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.2581, allocations: 8 kB / 0.9833 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007385/0.2588, allocations: 238.1 kB / 0.9835 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00215/0.261, allocations: 0.9481 MB / 0.9844 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007686/0.2618, allocations: 253 kB / 0.9846 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003345/0.2622, allocations: 125.3 kB / 0.9848 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.652e-05/0.2623, allocations: 4.219 kB / 0.9848 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004767/0.2627, allocations: 176 kB / 0.9849 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=30): time 3.547e-06/0.2628, allocations: 0 / 0.9849 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30): time 0.001077/0.2638, allocations: 329.3 kB / 0.9853 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/0.2639, allocations: 59.41 kB / 0.9853 GB, free: 21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.2642, allocations: 206 kB / 0.9855 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.594e-05/0.2642, allocations: 37.7 kB / 0.9855 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.2643, allocations: 152.6 kB / 0.9857 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.821e-05/0.2644, allocations: 86.92 kB / 0.9858 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.423e-05/0.2645, allocations: 4 kB / 0.9858 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.947e-05/0.2646, allocations: 342.8 kB / 0.9861 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000332/0.2649, allocations: 95.95 kB / 0.9862 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003452/0.2653, allocations: 149 kB / 0.9863 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003181/0.2656, allocations: 95.73 kB / 0.9864 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.2656, allocations: 0 / 0.9864 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008395/0.2665, allocations: 312.7 kB / 0.9867 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.2665, allocations: 8 kB / 0.9867 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.2665, allocations: 0 / 0.9867 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.171e-05/0.2666, allocations: 4 kB / 0.9867 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003414/0.2669, allocations: 48.06 kB / 0.9868 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.2669, allocations: 4 kB / 0.9868 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003849/0.2673, allocations: 47.72 kB / 0.9868 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.845e-05/0.2674, allocations: 19.98 kB / 0.9868 GB, free: 19.37 MB / 0.6198 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.condition,heaCon.offToOn.enableFire,heaCon.offToOn.fire,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.t_start,heaCon.onToOff.condition,heaCon.onToOff.enableFire,heaCon.onToOff.fire,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.t_start,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.000264/0.2677, allocations: 181.6 kB / 0.987 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.714e-05/0.2677, allocations: 19.72 kB / 0.987 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008491/0.2686, allocations: 284.2 kB / 0.9873 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.2686, allocations: 0 / 0.9873 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.2687, allocations: 4 kB / 0.9873 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.2687, allocations: 7.938 kB / 0.9873 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.2702, allocations: 0.7288 MB / 0.988 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.904e-06/0.2702, allocations: 11.98 kB / 0.988 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002729/0.2705, allocations: 35.92 kB / 0.9881 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.635e-06/0.2705, allocations: 0 / 0.9881 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.893e-05/0.2706, allocations: 8 kB / 0.9881 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.2706, allocations: 0 / 0.9881 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.2706, allocations: 7.891 kB / 0.9881 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007918/0.2714, allocations: 367.6 kB / 0.9884 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.034e-05/0.2715, allocations: 96.77 kB / 0.9885 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.669e-05/0.2716, allocations: 8 kB / 0.9885 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003473/0.2719, allocations: 35.97 kB / 0.9886 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.2721, allocations: 43.89 kB / 0.9886 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.539e-05/0.2721, allocations: 12 kB / 0.9886 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001311/0.2723, allocations: 140.1 kB / 0.9888 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2723, allocations: 0 / 0.9888 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004548/0.2728, allocations: 63.84 kB / 0.9888 GB, free: 17.23 MB / 0.6198 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 (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.0002153/0.273, allocations: 117 kB / 0.9889 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008213/0.2738, allocations: 247.8 kB / 0.9892 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.2739, allocations: 8 kB / 0.9892 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003614/0.2742, allocations: 132.1 kB / 0.9893 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000536/0.2748, allocations: 36.16 kB / 0.9893 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.276, allocations: 0.5346 MB / 0.9899 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.2763, allocations: 0.7644 MB / 0.9906 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002183/0.2765, allocations: 30.27 kB / 0.9906 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.2767, allocations: 27.38 kB / 0.9907 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of SimCode: time 1.183e-06/0.2767, allocations: 0 / 0.9907 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of Templates: time 0.009268/0.286, allocations: 2.569 MB / 0.9932 GB, free: 12.75 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)