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 3.523/3.523, allocations: 287.3 MB / 302.3 MB, free: 8.27 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.001567/0.001566, allocations: 184.8 kB / 370.8 MB, free: 10.83 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.664/2.664, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001145/0.001145, allocations: 89.2 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005138/0.000514, allocations: 11.03 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2496, allocations: 115.3 MB / 0.9782 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.00366/0.2533, allocations: 1.708 MB / 0.9799 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002337/0.2557, allocations: 0.7221 MB / 0.9806 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002516/0.256, allocations: 11.94 kB / 0.9806 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001707/0.2562, allocations: 27.73 kB / 0.9806 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000196/0.2565, allocations: 31.88 kB / 0.9806 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006675/0.2571, allocations: 103.9 kB / 0.9807 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005284/0.2577, allocations: 223.6 kB / 0.981 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004728/0.2582, allocations: 183 kB / 0.9811 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.2585, allocations: 107.6 kB / 0.9812 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002538/0.2587, allocations: 111.5 kB / 0.9813 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.42e-05/0.2588, allocations: 12 kB / 0.9813 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.2589, allocations: 23.92 kB / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.703e-05/0.2591, allocations: 51.81 kB / 0.9814 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.952e-05/0.2592, allocations: 77.52 kB / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004998/0.2597, allocations: 291.5 kB / 0.9818 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.2597, allocations: 0 / 0.9818 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.405e-06/0.2597, allocations: 0 / 0.9818 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.2598, allocations: 0 / 0.9818 GB, free: 24.67 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.001218/0.261, allocations: 0.5143 MB / 0.9823 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.2611, allocations: 12.02 kB / 0.9823 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.2612, allocations: 39.58 kB / 0.9823 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004509/0.2617, allocations: 266.5 kB / 0.9826 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.441e-05/0.2618, allocations: 32.56 kB / 0.9826 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.033e-05/0.2619, allocations: 31.94 kB / 0.9826 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.263, allocations: 311.6 kB / 0.9829 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.2631, allocations: 0 / 0.9829 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.209e-05/0.2632, allocations: 15.98 kB / 0.9829 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.2632, allocations: 8 kB / 0.983 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.2643, allocations: 246.1 kB / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002665/0.267, allocations: 0.9481 MB / 0.9841 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.2681, allocations: 253.6 kB / 0.9844 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.439e-05/0.2682, allocations: 4.219 kB / 0.9844 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006317/0.2688, allocations: 168 kB / 0.9845 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=30): time 4.128e-06/0.2688, allocations: 4 kB / 0.9845 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30): time 0.001486/0.2703, allocations: 337.3 kB / 0.9848 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.2704, allocations: 59.34 kB / 0.9849 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/0.2707, allocations: 206 kB / 0.9851 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.898e-05/0.2708, allocations: 41.7 kB / 0.9851 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.271, allocations: 156.6 kB / 0.9853 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.2711, allocations: 82.92 kB / 0.9854 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.2711, allocations: 4 kB / 0.9854 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.2713, allocations: 342.8 kB / 0.9857 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000453/0.2717, allocations: 91.95 kB / 0.9858 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005113/0.2723, allocations: 149.1 kB / 0.9859 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004573/0.2727, allocations: 95.73 kB / 0.986 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.2728, allocations: 4 kB / 0.986 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001193/0.274, allocations: 308.7 kB / 0.9863 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.274, allocations: 4 kB / 0.9863 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.274, allocations: 0 / 0.9863 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/0.2741, allocations: 4.156 kB / 0.9863 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004607/0.2746, allocations: 47.84 kB / 0.9864 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/0.2746, allocations: 4 kB / 0.9864 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005056/0.2751, allocations: 55.72 kB / 0.9864 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.145e-05/0.2752, allocations: 11.98 kB / 0.9864 GB, free: 19.64 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.0003142/0.2755, allocations: 181.7 kB / 0.9866 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.316e-05/0.2756, allocations: 23.72 kB / 0.9866 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.2768, allocations: 280.1 kB / 0.9869 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.2768, allocations: 8 kB / 0.9869 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.2769, allocations: 7.938 kB / 0.9869 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.2769, allocations: 3.984 kB / 0.9869 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002174/0.2791, allocations: 0.7366 MB / 0.9876 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.2791, allocations: 0 / 0.9876 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003615/0.2795, allocations: 27.97 kB / 0.9877 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/0.2795, allocations: 4 kB / 0.9877 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.029e-05/0.2796, allocations: 4 kB / 0.9877 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.193e-06/0.2796, allocations: 7.938 kB / 0.9877 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.2796, allocations: 7.891 kB / 0.9877 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009998/0.2806, allocations: 359.7 kB / 0.988 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.922e-05/0.2808, allocations: 104.8 kB / 0.9881 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.267e-05/0.2809, allocations: 4 kB / 0.9881 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005094/0.2814, allocations: 39.97 kB / 0.9882 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001933/0.2816, allocations: 39.94 kB / 0.9882 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.643e-05/0.2817, allocations: 7.953 kB / 0.9882 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001989/0.2819, allocations: 140.1 kB / 0.9884 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.82e-07/0.2819, allocations: 0 / 0.9884 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007138/0.2826, allocations: 63.84 kB / 0.9884 GB, free: 17.5 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.0002421/0.2829, allocations: 125 kB / 0.9885 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001089/0.284, allocations: 251.8 kB / 0.9888 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.284, allocations: 0 / 0.9888 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005141/0.2846, allocations: 132.1 kB / 0.9889 GB, free: 17 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005311/0.2851, allocations: 36.16 kB / 0.9889 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.2867, allocations: 0.5307 MB / 0.9895 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.287, allocations: 0.7683 MB / 0.9902 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002917/0.2873, allocations: 30.22 kB / 0.9902 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.2875, allocations: 23.44 kB / 0.9903 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of SimCode: time 1.253e-06/0.2875, allocations: 0 / 0.9903 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of Templates: time 0.01188/0.2994, allocations: 2.559 MB / 0.9928 GB, free: 13.02 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)