Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.662/1.662, allocations: 297.4 MB / 312.6 MB, free: 2.93 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 189.4 kB / 382.3 MB, free: 14.81 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 225.7 MB / 0.6617 GB, free: 7.219 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 91.09 kB / 0.7789 GB, free: 46.96 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003883/0.0003882, allocations: 12 kB / 0.9059 GB, free: 4.879 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6666/0.667, allocations: 119.2 MB / 1.022 GB, free: 58.04 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001338/0.6684, allocations: 0.9898 MB / 1.023 GB, free: 57.55 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008209/0.6692, allocations: 0.5177 MB / 1.024 GB, free: 57.25 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.78e-05/0.6692, allocations: 1.188 kB / 1.024 GB, free: 57.25 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.158e-05/0.6693, allocations: 1.469 kB / 1.024 GB, free: 57.25 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.383e-05/0.6693, allocations: 2.922 kB / 1.024 GB, free: 57.25 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000301/0.6696, allocations: 48 kB / 1.024 GB, free: 57.24 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.112e-05/0.6697, allocations: 20.31 kB / 1.024 GB, free: 57.23 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.235e-05/0.6697, allocations: 0.9688 kB / 1.024 GB, free: 57.23 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.486e-05/0.6698, allocations: 9.906 kB / 1.024 GB, free: 57.23 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.991e-05/0.6698, allocations: 19.03 kB / 1.024 GB, free: 57.22 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.406e-06/0.6698, allocations: 0.7188 kB / 1.024 GB, free: 57.22 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.67, allocations: 62.72 kB / 1.024 GB, free: 57.21 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.168e-05/0.6701, allocations: 13.73 kB / 1.024 GB, free: 57.21 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.423e-05/0.6701, allocations: 35.2 kB / 1.024 GB, free: 57.17 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.6702, allocations: 73.81 kB / 1.024 GB, free: 57.16 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.6703, allocations: 1.375 kB / 1.024 GB, free: 57.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6703, allocations: 0 / 1.024 GB, free: 57.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.6703, allocations: 0 / 1.024 GB, free: 57.16 MB / 0.698 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.0002635/0.6705, allocations: 327.4 kB / 1.024 GB, free: 56.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.6706, allocations: 9.625 kB / 1.024 GB, free: 56.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.634e-05/0.6706, allocations: 4.562 kB / 1.024 GB, free: 56.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.2e-05/0.6707, allocations: 166.3 kB / 1.025 GB, free: 56.61 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.6707, allocations: 6.344 kB / 1.025 GB, free: 56.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.6707, allocations: 3.125 kB / 1.025 GB, free: 56.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.6708, allocations: 56.31 kB / 1.025 GB, free: 56.56 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.6709, allocations: 1.031 kB / 1.025 GB, free: 56.56 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.6709, allocations: 0 / 1.025 GB, free: 56.56 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.6709, allocations: 3.938 kB / 1.025 GB, free: 56.56 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.818e-05/0.6709, allocations: 14 kB / 1.025 GB, free: 56.56 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.714e-05/0.671, allocations: 155.7 kB / 1.025 GB, free: 56.36 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.331e-05/0.6711, allocations: 32.73 kB / 1.025 GB, free: 56.34 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.478e-05/0.6711, allocations: 21.45 kB / 1.025 GB, free: 56.32 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.903e-06/0.6711, allocations: 0 / 1.025 GB, free: 56.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001408/0.6713, allocations: 78.56 kB / 1.025 GB, free: 56.26 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.6713, allocations: 1.375 kB / 1.025 GB, free: 56.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0002062/0.6715, allocations: 95.47 kB / 1.025 GB, free: 56.21 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.6715, allocations: 56.88 kB / 1.025 GB, free: 56.15 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.383e-05/0.6716, allocations: 97.14 kB / 1.025 GB, free: 56.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.6716, allocations: 32.2 kB / 1.025 GB, free: 56.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.358e-05/0.6716, allocations: 81.89 kB / 1.025 GB, free: 55.93 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.6716, allocations: 12.69 kB / 1.025 GB, free: 55.93 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-06/0.6716, allocations: 0 / 1.025 GB, free: 55.93 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.807e-05/0.6717, allocations: 320.3 kB / 1.026 GB, free: 55.61 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.635e-05/0.6717, allocations: 20.86 kB / 1.026 GB, free: 55.61 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.662e-05/0.6718, allocations: 73.92 kB / 1.026 GB, free: 55.54 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.6719, allocations: 94.48 kB / 1.026 GB, free: 55.46 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.6719, allocations: 0 / 1.026 GB, free: 55.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001411/0.6721, allocations: 116 kB / 1.026 GB, free: 55.41 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.6721, allocations: 13.94 kB / 1.026 GB, free: 55.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.6721, allocations: 1.781 kB / 1.026 GB, free: 55.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.6721, allocations: 3.031 kB / 1.026 GB, free: 55.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.331e-05/0.6722, allocations: 14.69 kB / 1.026 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.6722, allocations: 5.141 kB / 1.026 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.226e-05/0.6723, allocations: 11.81 kB / 1.026 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.6723, allocations: 4.438 kB / 1.026 GB, free: 55.39 MB / 0.698 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 ($PRE.QAggShi_flow[5],QAggShi_flow[5],$PRE.QAggShi_flow[4],QAggShi_flow[4],$PRE.QAggShi_flow[3],QAggShi_flow[3],$PRE.QAggShi_flow[2],QAggShi_flow[2],$PRE.QAggShi_flow[1],QAggShi_flow[1],$PRE.curCel,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 7.344e-05/0.6724, allocations: 126.7 kB / 1.026 GB, free: 55.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-06/0.6724, allocations: 8.969 kB / 1.026 GB, free: 55.26 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.846e-05/0.6724, allocations: 6.219 kB / 1.026 GB, free: 55.26 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.6724, allocations: 4 kB / 1.026 GB, free: 55.25 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.6724, allocations: 0 / 1.026 GB, free: 55.25 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.6724, allocations: 1.922 kB / 1.026 GB, free: 55.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.119e-05/0.6725, allocations: 152.9 kB / 1.026 GB, free: 55.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.6725, allocations: 0 / 1.026 GB, free: 55.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.636e-06/0.6725, allocations: 0 / 1.026 GB, free: 55.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.6725, allocations: 5.875 kB / 1.026 GB, free: 55.06 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.6725, allocations: 5.875 kB / 1.026 GB, free: 55.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.6725, allocations: 0.7031 kB / 1.026 GB, free: 55.05 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6726, allocations: 0 / 1.026 GB, free: 55.05 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.6727, allocations: 110.9 kB / 1.026 GB, free: 54.97 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.019e-05/0.6727, allocations: 83.64 kB / 1.026 GB, free: 54.88 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.6727, allocations: 4.828 kB / 1.026 GB, free: 54.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.224e-05/0.6727, allocations: 0.5156 kB / 1.026 GB, free: 54.88 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.343e-05/0.6728, allocations: 1.984 kB / 1.026 GB, free: 54.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.6728, allocations: 3.312 kB / 1.026 GB, free: 54.88 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.635e-05/0.6728, allocations: 75.28 kB / 1.026 GB, free: 54.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.6728, allocations: 0 / 1.026 GB, free: 54.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000214/0.673, allocations: 37.16 kB / 1.027 GB, free: 54.79 MB / 0.698 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.0001838/0.6732, allocations: 129.4 kB / 1.027 GB, free: 54.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001248/0.6734, allocations: 52.92 kB / 1.027 GB, free: 54.68 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.6734, allocations: 0 / 1.027 GB, free: 54.68 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.063e-05/0.6734, allocations: 22.83 kB / 1.027 GB, free: 54.68 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/0.6735, allocations: 5.109 kB / 1.027 GB, free: 54.67 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002666/0.6738, allocations: 131 kB / 1.027 GB, free: 54.55 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001336/0.674, allocations: 0.6782 MB / 1.027 GB, free: 53.86 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.34e-05/0.674, allocations: 5.391 kB / 1.027 GB, free: 53.86 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.45e-05/0.674, allocations: 9.906 kB / 1.028 GB, free: 53.85 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/0.674, allocations: 0 / 1.028 GB, free: 53.85 MB / 0.698 GB Notification: Performance of Templates: time 0.003112/0.6771, allocations: 0.634 MB / 1.028 GB, free: 53.77 MB / 0.698 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)