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.001448/0.001448, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 198.5 kB / 16.64 MB, free: 6.445 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.472/1.472, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.753/1.753, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001454/0.001454, allocations: 69.11 kB / 0.6723 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2712, allocations: 114.6 MB / 0.7842 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.00252/0.2737, allocations: 1.248 MB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009253/0.2747, allocations: 0.5191 MB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.302e-05/0.2747, allocations: 4 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.151e-05/0.2748, allocations: 0 / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.982e-05/0.2749, allocations: 7.938 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003402/0.2752, allocations: 47.88 kB / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.298e-05/0.2753, allocations: 11.98 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.493e-05/0.2753, allocations: 0 / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.631e-05/0.2754, allocations: 7.938 kB / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.845e-05/0.2754, allocations: 7.984 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.698e-06/0.2754, allocations: 0 / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001633/0.2756, allocations: 75.78 kB / 0.786 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.432e-05/0.2757, allocations: 15.98 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.169e-05/0.2757, allocations: 7.938 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.2758, allocations: 51.92 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2759, allocations: 0 / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.475e-06/0.2759, allocations: 0 / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.2759, allocations: 0 / 0.7861 GB, free: 10.66 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.0004059/0.2763, allocations: 343.5 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.2763, allocations: 8.031 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.2764, allocations: 16.78 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.2765, allocations: 164.4 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.2765, allocations: 384 / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.2765, allocations: 4.375 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.2766, allocations: 55 kB / 0.7867 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.2767, allocations: 0 / 0.7867 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.2767, allocations: 0 / 0.7867 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.2767, allocations: 4 kB / 0.7867 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.316e-05/0.2767, allocations: 11.98 kB / 0.7867 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001567/0.2769, allocations: 157.7 kB / 0.7869 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.443e-05/0.2769, allocations: 30.58 kB / 0.7869 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.674e-05/0.277, allocations: 16.95 kB / 0.7869 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/0.277, allocations: 3.938 kB / 0.7869 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001288/0.2771, allocations: 71.27 kB / 0.787 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/0.2771, allocations: 0 / 0.787 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002074/0.2773, allocations: 101.9 kB / 0.7871 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.2774, allocations: 55.41 kB / 0.7871 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.742e-05/0.2775, allocations: 101.8 kB / 0.7872 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.2775, allocations: 29.7 kB / 0.7872 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.11e-05/0.2775, allocations: 84.14 kB / 0.7873 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.2775, allocations: 11.84 kB / 0.7873 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.437e-05/0.2776, allocations: 29.7 kB / 0.7874 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.2777, allocations: 318.8 kB / 0.7877 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.049e-05/0.2777, allocations: 27.95 kB / 0.7877 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.104e-05/0.2778, allocations: 65.98 kB / 0.7878 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.2779, allocations: 93.94 kB / 0.7878 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.2779, allocations: 0 / 0.7878 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001567/0.2781, allocations: 121.4 kB / 0.788 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.2781, allocations: 8.156 kB / 0.788 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.2781, allocations: 11.98 kB / 0.788 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.2782, allocations: 0 / 0.788 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.587e-05/0.2783, allocations: 12 kB / 0.788 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.2783, allocations: 3.984 kB / 0.788 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.995e-05/0.2783, allocations: 8 kB / 0.788 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.2783, allocations: 4 kB / 0.788 GB, free: 8.457 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 8.817e-05/0.2784, allocations: 126.4 kB / 0.7881 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/0.2784, allocations: 11.78 kB / 0.7881 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.58e-05/0.2785, allocations: 11.95 kB / 0.7882 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2785, allocations: 4 kB / 0.7882 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2785, allocations: 0 / 0.7882 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2785, allocations: 0 / 0.7882 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.2786, allocations: 149.7 kB / 0.7883 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2786, allocations: 3.984 kB / 0.7883 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.477e-06/0.2786, allocations: 0 / 0.7883 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.2787, allocations: 7.922 kB / 0.7883 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.2787, allocations: 0 / 0.7883 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.2787, allocations: 8 kB / 0.7883 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2787, allocations: 4 kB / 0.7883 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.2788, allocations: 105 kB / 0.7884 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.484e-05/0.2789, allocations: 81.05 kB / 0.7885 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.2789, allocations: 4 kB / 0.7885 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.145e-05/0.2789, allocations: 0 / 0.7885 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.517e-05/0.2789, allocations: 4 kB / 0.7885 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.279, allocations: 0 / 0.7885 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.469e-05/0.279, allocations: 87.25 kB / 0.7886 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.279, allocations: 0 / 0.7886 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002168/0.2792, allocations: 19.98 kB / 0.7886 GB, free: 7.742 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.0001939/0.2794, allocations: 134.1 kB / 0.7887 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001344/0.2796, allocations: 55.91 kB / 0.7888 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.2796, allocations: 0 / 0.7888 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.924e-05/0.2796, allocations: 20.38 kB / 0.7888 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.2798, allocations: 12.06 kB / 0.7888 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002762/0.28, allocations: 117.4 kB / 0.7889 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/0.2803, allocations: 0.6729 MB / 0.7896 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.109e-05/0.2803, allocations: 7.984 kB / 0.7896 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.683e-05/0.2803, allocations: 11.44 kB / 0.7896 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of SimCode: time 1.91e-07/0.2803, allocations: 0 / 0.7896 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of Templates: time 0.002693/0.283, allocations: 0.6612 MB / 0.7903 GB, free: 6.043 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)