Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.639/1.639, allocations: 288.4 MB / 303.7 MB, free: 7.965 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.001122/0.001122, allocations: 167.6 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.496/1.496, allocations: 205.4 MB / 0.631 GB, free: 9.918 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.0009299/0.0009298, allocations: 90.3 kB / 0.7444 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004073/0.0004074, allocations: 12.28 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1937, allocations: 115.3 MB / 0.9801 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.001954/0.1957, allocations: 1.712 MB / 0.9818 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009675/0.1966, allocations: 0.7257 MB / 0.9825 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.1968, allocations: 8 kB / 0.9825 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.1969, allocations: 31.72 kB / 0.9826 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.595e-05/0.197, allocations: 23.78 kB / 0.9826 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003044/0.1973, allocations: 103.8 kB / 0.9827 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002654/0.1976, allocations: 343.2 kB / 0.983 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002932/0.1979, allocations: 204.3 kB / 0.9832 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.198, allocations: 103.5 kB / 0.9833 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.1981, allocations: 111.5 kB / 0.9834 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/0.1982, allocations: 23.88 kB / 0.9834 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.153e-05/0.1982, allocations: 19.98 kB / 0.9834 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.853e-05/0.1983, allocations: 51.77 kB / 0.9835 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.378e-05/0.1984, allocations: 141.1 kB / 0.9836 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.1986, allocations: 295.5 kB / 0.9839 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.1986, allocations: 0 / 0.9839 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.986e-06/0.1986, allocations: 0 / 0.9839 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.1987, allocations: 0 / 0.9839 GB, free: 23.45 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.0006389/0.1993, allocations: 0.5067 MB / 0.9844 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.1993, allocations: 12.03 kB / 0.9844 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.7e-05/0.1994, allocations: 36.55 kB / 0.9845 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.1996, allocations: 275.7 kB / 0.9847 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/0.1997, allocations: 28.94 kB / 0.9847 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.968e-05/0.1997, allocations: 28.38 kB / 0.9848 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004698/0.2002, allocations: 319.7 kB / 0.9851 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.2002, allocations: 8 kB / 0.9851 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.2002, allocations: 8 kB / 0.9851 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.2003, allocations: 8 kB / 0.9851 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004093/0.2007, allocations: 238.1 kB / 0.9853 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.2018, allocations: 0.9519 MB / 0.9863 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004412/0.2023, allocations: 256.9 kB / 0.9865 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.2025, allocations: 117.3 kB / 0.9866 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.2025, allocations: 8.219 kB / 0.9866 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002867/0.2028, allocations: 172 kB / 0.9868 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=30): time 1.713e-06/0.2028, allocations: 0 / 0.9868 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30): time 0.0005887/0.2034, allocations: 333.2 kB / 0.9871 GB, free: 20 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.2034, allocations: 59.39 kB / 0.9872 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.2036, allocations: 203.1 kB / 0.9874 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.2036, allocations: 37.7 kB / 0.9874 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.733e-05/0.2037, allocations: 152.6 kB / 0.9875 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.445e-05/0.2037, allocations: 78.94 kB / 0.9876 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.251e-05/0.2038, allocations: 4 kB / 0.9876 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.519e-05/0.2038, allocations: 342.8 kB / 0.9879 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.204, allocations: 95.95 kB / 0.988 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.2042, allocations: 153 kB / 0.9882 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003162/0.2045, allocations: 220.8 kB / 0.9884 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.2045, allocations: 3.938 kB / 0.9884 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004552/0.205, allocations: 316.4 kB / 0.9887 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.205, allocations: 5.406 kB / 0.9887 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.205, allocations: 4.156 kB / 0.9887 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.2051, allocations: 8 kB / 0.9887 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.2053, allocations: 43.91 kB / 0.9888 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.2053, allocations: 3.938 kB / 0.9888 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.2055, allocations: 51.72 kB / 0.9888 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/0.2055, allocations: 19.98 kB / 0.9888 GB, free: 18.15 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.0001366/0.2057, allocations: 177.6 kB / 0.989 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.2057, allocations: 31.66 kB / 0.989 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000516/0.2062, allocations: 288.1 kB / 0.9893 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2062, allocations: 4 kB / 0.9893 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.2062, allocations: 0 / 0.9893 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2062, allocations: 3.984 kB / 0.9893 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008042/0.2071, allocations: 0.7444 MB / 0.99 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.2071, allocations: 0 / 0.99 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.2072, allocations: 31.92 kB / 0.9901 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.2072, allocations: 0 / 0.9901 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.2072, allocations: 7.984 kB / 0.9901 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.2073, allocations: 4 kB / 0.9901 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2073, allocations: 3.938 kB / 0.9901 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003898/0.2077, allocations: 355.7 kB / 0.9904 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.188e-05/0.2077, allocations: 104.8 kB / 0.9905 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.2077, allocations: 11.98 kB / 0.9905 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.2079, allocations: 35.97 kB / 0.9906 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.306e-05/0.208, allocations: 39.88 kB / 0.9906 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.2081, allocations: 15.94 kB / 0.9906 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.714e-05/0.2081, allocations: 139.2 kB / 0.9908 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2081, allocations: 0 / 0.9908 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002883/0.2084, allocations: 59.84 kB / 0.9908 GB, free: 16.01 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.0001466/0.2086, allocations: 121.1 kB / 0.9909 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004234/0.209, allocations: 255.8 kB / 0.9912 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.209, allocations: 320 / 0.9912 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.2092, allocations: 131.8 kB / 0.9913 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.2096, allocations: 27.98 kB / 0.9913 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007019/0.2103, allocations: 0.5424 MB / 0.9919 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001593/0.2105, allocations: 0.7644 MB / 0.9926 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001201/0.2106, allocations: 30.27 kB / 0.9926 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.326e-05/0.2107, allocations: 27.42 kB / 0.9927 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2107, allocations: 7.938 kB / 0.9927 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of Templates: time 0.005051/0.2157, allocations: 2.576 MB / 0.9952 GB, free: 11.52 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)