Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001102/0.001102, allocations: 196.2 kB / 16.14 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 205.1 MB / 222 MB, free: 4.777 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.624/1.624, allocations: 292.3 MB / 0.5484 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 64.22 kB / 0.6709 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1983, allocations: 114.5 MB / 0.7827 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002287/0.2006, allocations: 1.309 MB / 0.784 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008662/0.2015, allocations: 0.5163 MB / 0.7845 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.664e-05/0.2015, allocations: 0 / 0.7845 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.776e-05/0.2016, allocations: 0 / 0.7845 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.457e-05/0.2016, allocations: 4 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.2019, allocations: 47.88 kB / 0.7845 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.63e-05/0.202, allocations: 27.95 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.786e-05/0.2021, allocations: 4 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.017e-05/0.2021, allocations: 0 / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.644e-05/0.2021, allocations: 7.938 kB / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.2021, allocations: 4 kB / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.2023, allocations: 67.84 kB / 0.7847 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.172e-05/0.2024, allocations: 15.97 kB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.777e-05/0.2024, allocations: 11.94 kB / 0.7847 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.2026, allocations: 63.89 kB / 0.7847 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2026, allocations: 4 kB / 0.7847 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2026, allocations: 3.938 kB / 0.7847 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.2026, allocations: 0 / 0.7847 GB, free: 11.87 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003743/0.203, allocations: 335.8 kB / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.203, allocations: 8.031 kB / 0.7851 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.662e-05/0.203, allocations: 4.844 kB / 0.7851 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.922e-05/0.2031, allocations: 164.3 kB / 0.7852 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.2032, allocations: 8.375 kB / 0.7852 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.2032, allocations: 384 / 0.7852 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.2033, allocations: 61.98 kB / 0.7853 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.2033, allocations: 3.984 kB / 0.7853 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.2033, allocations: 0 / 0.7853 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.2033, allocations: 3.938 kB / 0.7853 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.491e-05/0.2034, allocations: 8 kB / 0.7853 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001346/0.2035, allocations: 153.7 kB / 0.7855 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.083e-05/0.2036, allocations: 30.58 kB / 0.7855 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.561e-05/0.2036, allocations: 28.94 kB / 0.7855 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.092e-06/0.2036, allocations: 0 / 0.7855 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001277/0.2037, allocations: 67.34 kB / 0.7856 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.2037, allocations: 0 / 0.7856 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002098/0.204, allocations: 97.59 kB / 0.7857 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.204, allocations: 63.39 kB / 0.7857 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.587e-05/0.2041, allocations: 93.77 kB / 0.7858 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.2041, allocations: 33.73 kB / 0.7859 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.119e-05/0.2041, allocations: 84.14 kB / 0.7859 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.2042, allocations: 15.83 kB / 0.786 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.115e-05/0.2042, allocations: 33.7 kB / 0.786 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.2043, allocations: 310.8 kB / 0.7863 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.771e-05/0.2044, allocations: 27.97 kB / 0.7863 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.981e-05/0.2044, allocations: 66 kB / 0.7864 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.2046, allocations: 97.88 kB / 0.7865 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.2046, allocations: 3.984 kB / 0.7865 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001429/0.2047, allocations: 113.5 kB / 0.7866 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.2047, allocations: 11.94 kB / 0.7866 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.2048, allocations: 0 / 0.7866 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.2048, allocations: 4 kB / 0.7866 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.802e-05/0.2049, allocations: 15.92 kB / 0.7866 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.2049, allocations: 8.219 kB / 0.7866 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.077e-05/0.2049, allocations: 4 kB / 0.7866 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.2049, allocations: 8 kB / 0.7866 GB, free: 9.676 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (QAggShi_flow[5],$PRE.QAggShi_flow[5],QAggShi_flow[4],$PRE.QAggShi_flow[4],QAggShi_flow[3],$PRE.QAggShi_flow[3],QAggShi_flow[2],$PRE.QAggShi_flow[2],QAggShi_flow[1],$PRE.QAggShi_flow[1],curCel,$PRE.curCel,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 9.024e-05/0.205, allocations: 123.6 kB / 0.7867 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.157e-05/0.205, allocations: 15.78 kB / 0.7868 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.737e-05/0.2051, allocations: 3.969 kB / 0.7868 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.2051, allocations: 3.938 kB / 0.7868 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2051, allocations: 0 / 0.7868 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.2051, allocations: 4 kB / 0.7868 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.2052, allocations: 149.7 kB / 0.7869 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2052, allocations: 0 / 0.7869 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.871e-06/0.2052, allocations: 11.94 kB / 0.7869 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2052, allocations: 3.938 kB / 0.7869 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.2052, allocations: 0 / 0.7869 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.2052, allocations: 0 / 0.7869 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2052, allocations: 0 / 0.7869 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.2053, allocations: 109.1 kB / 0.787 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.621e-05/0.2054, allocations: 81.05 kB / 0.7871 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.2054, allocations: 4 kB / 0.7871 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.298e-05/0.2054, allocations: 3.984 kB / 0.7871 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.91e-05/0.2055, allocations: 0 / 0.7871 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.2055, allocations: 8 kB / 0.7871 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.539e-05/0.2055, allocations: 79.22 kB / 0.7872 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2055, allocations: 0 / 0.7872 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002174/0.2057, allocations: 20 kB / 0.7872 GB, free: 8.969 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,curCel,QAggShi_flow[1],QAggShi_flow[2],QAggShi_flow[3],QAggShi_flow[4],QAggShi_flow[5]) * Number of discrete states: 5 (QAggShi_flow[1],QAggShi_flow[2],QAggShi_flow[3],QAggShi_flow[4],QAggShi_flow[5]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001878/0.2059, allocations: 127.3 kB / 0.7873 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001367/0.2061, allocations: 59.91 kB / 0.7874 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.2061, allocations: 0 / 0.7874 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.807e-05/0.2061, allocations: 16 kB / 0.7874 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.2062, allocations: 3.984 kB / 0.7874 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002521/0.2065, allocations: 131.6 kB / 0.7875 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.2067, allocations: 0.6848 MB / 0.7882 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.015e-05/0.2068, allocations: 7.938 kB / 0.7882 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.419e-05/0.2068, allocations: 11.44 kB / 0.7882 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2068, allocations: 0 / 0.7882 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of Templates: time 0.002568/0.2094, allocations: 0.6435 MB / 0.7889 GB, free: 7.277 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)