Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001254/0.001254, allocations: 105.8 kB / 16.41 MB, free: 6.457 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.00129/0.00129, allocations: 189.5 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.834/0.834, allocations: 135.1 MB / 426.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 63.22 kB / 0.5863 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1713, allocations: 80.92 MB / 0.6653 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002325/0.1737, allocations: 1.24 MB / 0.6666 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000885/0.1746, allocations: 487 kB / 0.667 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.275e-05/0.1747, allocations: 0 / 0.667 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.083e-05/0.1747, allocations: 0 / 0.667 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.06e-05/0.1748, allocations: 7.984 kB / 0.667 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.1751, allocations: 59.75 kB / 0.6671 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.743e-05/0.1752, allocations: 19.92 kB / 0.6671 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.719e-05/0.1752, allocations: 4 kB / 0.6671 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.3e-05/0.1753, allocations: 4 kB / 0.6671 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.795e-05/0.1753, allocations: 7.969 kB / 0.6671 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.668e-06/0.1753, allocations: 4 kB / 0.6671 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.1755, allocations: 63.86 kB / 0.6672 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.149e-05/0.1756, allocations: 7.984 kB / 0.6672 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.886e-05/0.1756, allocations: 11.94 kB / 0.6672 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.1758, allocations: 59.86 kB / 0.6673 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1758, allocations: 7.984 kB / 0.6673 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.366e-06/0.1758, allocations: 0 / 0.6673 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.249e-06/0.1758, allocations: 3.938 kB / 0.6673 GB, free: 3.906 MB / 0.4981 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.0003958/0.1762, allocations: 335.5 kB / 0.6676 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.1762, allocations: 8.031 kB / 0.6676 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.488e-05/0.1763, allocations: 0.9375 kB / 0.6676 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.805e-05/0.1764, allocations: 164.4 kB / 0.6678 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.1764, allocations: 4.375 kB / 0.6678 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.1764, allocations: 3.938 kB / 0.6678 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.1765, allocations: 53.69 kB / 0.6678 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.1765, allocations: 3.984 kB / 0.6678 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.1766, allocations: 0 / 0.6678 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1766, allocations: 4 kB / 0.6678 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.049e-05/0.1766, allocations: 15.92 kB / 0.6678 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001485/0.1768, allocations: 157.6 kB / 0.668 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.031e-05/0.1768, allocations: 30.58 kB / 0.668 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.564e-05/0.1769, allocations: 24.94 kB / 0.668 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.1769, allocations: 4 kB / 0.668 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/0.177, allocations: 63.41 kB / 0.6681 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.177, allocations: 3.938 kB / 0.6681 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0002118/0.1773, allocations: 97.66 kB / 0.6682 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.1773, allocations: 55.41 kB / 0.6683 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.976e-05/0.1774, allocations: 93.84 kB / 0.6683 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.1774, allocations: 37.73 kB / 0.6684 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.708e-05/0.1774, allocations: 80.14 kB / 0.6685 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.1774, allocations: 19.75 kB / 0.6685 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.316e-05/0.1775, allocations: 29.7 kB / 0.6685 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1776, allocations: 310.8 kB / 0.6688 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.154e-05/0.1777, allocations: 27.98 kB / 0.6688 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.441e-05/0.1777, allocations: 69.92 kB / 0.6689 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.1778, allocations: 93.94 kB / 0.669 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1779, allocations: 0 / 0.669 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001653/0.178, allocations: 125.4 kB / 0.6691 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1781, allocations: 4 kB / 0.6691 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1781, allocations: 0 / 0.6691 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.1781, allocations: 7.938 kB / 0.6691 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.796e-05/0.1782, allocations: 11.98 kB / 0.6691 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.1782, allocations: 12.16 kB / 0.6691 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.456e-05/0.1782, allocations: 7.906 kB / 0.6691 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.1783, allocations: 8 kB / 0.6692 GB, free: 1.711 MB / 0.4981 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 0.0001039/0.1784, allocations: 126.6 kB / 0.6693 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.135e-05/0.1784, allocations: 3.984 kB / 0.6693 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.63e-05/0.1784, allocations: 7.969 kB / 0.6693 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1784, allocations: 0 / 0.6693 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1784, allocations: 0 / 0.6693 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.1784, allocations: 8 kB / 0.6693 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.1786, allocations: 149.6 kB / 0.6694 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1786, allocations: 4 kB / 0.6694 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.226e-06/0.1786, allocations: 0 / 0.6694 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1786, allocations: 0 / 0.6694 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.1786, allocations: 0 / 0.6694 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1786, allocations: 0 / 0.6694 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.1786, allocations: 0 / 0.6694 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.1787, allocations: 125.1 kB / 0.6696 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/0.1788, allocations: 77.11 kB / 0.6696 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.1788, allocations: 4 kB / 0.6696 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.367e-05/0.1788, allocations: 4 kB / 0.6696 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.573e-05/0.1789, allocations: 3.984 kB / 0.6696 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.1789, allocations: 8 kB / 0.6697 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.923e-05/0.1789, allocations: 75.28 kB / 0.6697 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1789, allocations: 0 / 0.6697 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002312/0.1792, allocations: 24 kB / 0.6697 GB, free: 1.008 MB / 0.4981 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.0002122/0.1794, allocations: 128.6 kB / 0.6699 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001372/0.1795, allocations: 59.91 kB / 0.6699 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1795, allocations: 0 / 0.6699 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.657e-05/0.1796, allocations: 16 kB / 0.6699 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.1797, allocations: 7.875 kB / 0.6699 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003071/0.18, allocations: 151.6 kB / 0.6701 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.1803, allocations: 0.6807 MB / 0.6708 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.749e-05/0.1803, allocations: 11.44 kB / 0.6708 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.1803, allocations: 0 / 0.6708 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of Templates: time 0.002201/0.1825, allocations: 0.8176 MB / 0.6716 GB, free: 15.08 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)