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.635/1.635, allocations: 288.4 MB / 304.3 MB, free: 8.09 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.0009387/0.0009388, allocations: 179.4 kB / 372.9 MB, free: 10.16 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.547/1.547, allocations: 205.4 MB / 0.6316 GB, free: 9.941 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.0007074/0.0007072, allocations: 108.1 kB / 0.745 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003974/0.0003974, allocations: 11.09 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1906, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.00183/0.1925, allocations: 1.716 MB / 0.9824 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009127/0.1934, allocations: 0.7334 MB / 0.9831 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.582e-05/0.1935, allocations: 4 kB / 0.9831 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.387e-05/0.1936, allocations: 31.72 kB / 0.9832 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.877e-05/0.1937, allocations: 23.78 kB / 0.9832 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.194, allocations: 103.8 kB / 0.9833 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002542/0.1943, allocations: 343.2 kB / 0.9836 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002488/0.1945, allocations: 196.3 kB / 0.9838 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.1947, allocations: 111.5 kB / 0.9839 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.1948, allocations: 107.5 kB / 0.984 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.1948, allocations: 12 kB / 0.984 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.699e-05/0.1949, allocations: 23.92 kB / 0.984 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.591e-05/0.1949, allocations: 55.77 kB / 0.9841 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.673e-05/0.195, allocations: 141.1 kB / 0.9842 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.1952, allocations: 295.5 kB / 0.9845 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.81e-06/0.1952, allocations: 0 / 0.9845 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1952, allocations: 0 / 0.9845 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.1953, allocations: 0 / 0.9845 GB, free: 23.48 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.0007646/0.196, allocations: 0.5105 MB / 0.985 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.1961, allocations: 12.03 kB / 0.985 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.965e-05/0.1962, allocations: 36.55 kB / 0.9851 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.1964, allocations: 267.7 kB / 0.9853 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.1965, allocations: 28.94 kB / 0.9853 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.601e-05/0.1965, allocations: 28.38 kB / 0.9854 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004635/0.197, allocations: 323.8 kB / 0.9857 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.197, allocations: 7.875 kB / 0.9857 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.28e-05/0.197, allocations: 8 kB / 0.9857 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.197, allocations: 11.98 kB / 0.9857 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00041/0.1975, allocations: 238.1 kB / 0.9859 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.1985, allocations: 0.9441 MB / 0.9869 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004242/0.199, allocations: 261.2 kB / 0.9871 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/0.1992, allocations: 121.3 kB / 0.9872 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.1992, allocations: 8.234 kB / 0.9872 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002718/0.1995, allocations: 164 kB / 0.9874 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=30): time 2.014e-06/0.1995, allocations: 0 / 0.9874 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30): time 0.0005729/0.2001, allocations: 337.2 kB / 0.9877 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/0.2001, allocations: 59.39 kB / 0.9878 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.2003, allocations: 199.1 kB / 0.988 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.2003, allocations: 41.7 kB / 0.988 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.208e-05/0.2004, allocations: 148.6 kB / 0.9881 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.411e-05/0.2004, allocations: 82.88 kB / 0.9882 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.322e-05/0.2004, allocations: 8 kB / 0.9882 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.378e-05/0.2005, allocations: 342.8 kB / 0.9885 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.2007, allocations: 95.95 kB / 0.9886 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001905/0.2009, allocations: 161 kB / 0.9888 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003514/0.2012, allocations: 212.8 kB / 0.989 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2012, allocations: 0 / 0.989 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006589/0.2019, allocations: 320.4 kB / 0.9893 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.2019, allocations: 12.16 kB / 0.9893 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.202, allocations: 0 / 0.9893 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.202, allocations: 4 kB / 0.9893 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.2022, allocations: 43.91 kB / 0.9894 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.2022, allocations: 4 kB / 0.9894 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.2024, allocations: 55.72 kB / 0.9894 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.2024, allocations: 12 kB / 0.9894 GB, free: 18.19 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.0001324/0.2026, allocations: 183.2 kB / 0.9896 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.2026, allocations: 19.72 kB / 0.9896 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004846/0.2031, allocations: 296.1 kB / 0.9899 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.2031, allocations: 0 / 0.9899 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2031, allocations: 0 / 0.9899 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.383e-05/0.2032, allocations: 104.8 kB / 0.99 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.886e-05/0.2032, allocations: 4 kB / 0.99 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.2034, allocations: 39.97 kB / 0.99 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.2035, allocations: 43.86 kB / 0.9901 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005777/0.2041, allocations: 372.7 kB / 0.9904 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004386/0.2046, allocations: 439 kB / 0.9909 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001786/0.2048, allocations: 123.9 kB / 0.991 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.146e-05/0.2048, allocations: 135.3 kB / 0.9911 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of Backend: time 8.01e-07/0.2049, allocations: 0 / 0.9911 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006126/0.2055, allocations: 259 kB / 0.9914 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of SimCode: time 0.00079/0.2063, allocations: 0.9327 MB / 0.9923 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of Templates: time 0.00538/0.2117, allocations: 2.836 MB / 0.995 GB, free: 12.38 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)