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.001454/0.001454, allocations: 105.4 kB / 16.41 MB, free: 6.496 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.001391/0.001391, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8338/0.8338, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 66.2 kB / 0.5863 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1719, allocations: 80.93 MB / 0.6653 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002552/0.1745, allocations: 1.241 MB / 0.6666 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000982/0.1755, allocations: 495 kB / 0.667 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.613e-05/0.1756, allocations: 0 / 0.667 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.461e-05/0.1756, allocations: 3.938 kB / 0.667 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.49e-05/0.1757, allocations: 7.938 kB / 0.667 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003902/0.1761, allocations: 51.86 kB / 0.6671 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.551e-05/0.1762, allocations: 8 kB / 0.6671 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.752e-05/0.1762, allocations: 4 kB / 0.6671 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.747e-05/0.1763, allocations: 11.97 kB / 0.6671 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.98e-05/0.1763, allocations: 8 kB / 0.6671 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.417e-06/0.1763, allocations: 0 / 0.6671 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001822/0.1765, allocations: 71.8 kB / 0.6672 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.248e-05/0.1766, allocations: 11.98 kB / 0.6672 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.48e-05/0.1766, allocations: 11.92 kB / 0.6672 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.1768, allocations: 63.84 kB / 0.6673 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1768, allocations: 0 / 0.6673 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1768, allocations: 4 kB / 0.6673 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.1768, allocations: 0 / 0.6673 GB, free: 3.812 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.0004045/0.1772, allocations: 331.5 kB / 0.6676 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.1773, allocations: 12.03 kB / 0.6676 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.1773, allocations: 4.938 kB / 0.6676 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.662e-05/0.1774, allocations: 160.4 kB / 0.6678 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.1775, allocations: 384 / 0.6678 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.1775, allocations: 11.92 kB / 0.6678 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.1776, allocations: 49.62 kB / 0.6678 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1776, allocations: 4 kB / 0.6678 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.1776, allocations: 0 / 0.6678 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1777, allocations: 0 / 0.6678 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.126e-05/0.1777, allocations: 16 kB / 0.6678 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001627/0.1779, allocations: 153.6 kB / 0.668 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.26e-05/0.1779, allocations: 34.52 kB / 0.668 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.68e-05/0.178, allocations: 20.94 kB / 0.668 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.737e-06/0.178, allocations: 0 / 0.668 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001686/0.1781, allocations: 67.33 kB / 0.6681 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.1782, allocations: 4 kB / 0.6681 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0002332/0.1784, allocations: 89.69 kB / 0.6682 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.1785, allocations: 59.39 kB / 0.6682 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.167e-05/0.1785, allocations: 93.86 kB / 0.6683 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.1785, allocations: 29.7 kB / 0.6684 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/0.1786, allocations: 84.14 kB / 0.6684 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.1786, allocations: 19.73 kB / 0.6685 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.376e-05/0.1787, allocations: 25.72 kB / 0.6685 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1788, allocations: 330.8 kB / 0.6688 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.394e-05/0.1788, allocations: 23.92 kB / 0.6688 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.867e-05/0.1789, allocations: 65.98 kB / 0.6689 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.179, allocations: 97.92 kB / 0.669 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.179, allocations: 4 kB / 0.669 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001611/0.1792, allocations: 117.6 kB / 0.6691 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.1792, allocations: 4 kB / 0.6691 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1792, allocations: 7.938 kB / 0.6691 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1793, allocations: 0 / 0.6691 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.1e-05/0.1794, allocations: 15.98 kB / 0.6691 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.1794, allocations: 4 kB / 0.6691 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.721e-05/0.1794, allocations: 7.906 kB / 0.6691 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.1794, allocations: 4 kB / 0.6691 GB, free: 1.633 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.0001076/0.1795, allocations: 138.6 kB / 0.6693 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.027e-05/0.1796, allocations: 0 / 0.6693 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.165e-05/0.1796, allocations: 7.969 kB / 0.6693 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1796, allocations: 0 / 0.6693 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1796, allocations: 0 / 0.6693 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1796, allocations: 0 / 0.6693 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.1797, allocations: 161.6 kB / 0.6694 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1798, allocations: 0 / 0.6694 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.797e-06/0.1798, allocations: 0 / 0.6694 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1798, allocations: 0 / 0.6694 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.515e-06/0.1798, allocations: 4 kB / 0.6694 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.1798, allocations: 4 kB / 0.6694 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1798, allocations: 3.984 kB / 0.6694 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.1799, allocations: 112.9 kB / 0.6696 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.605e-05/0.18, allocations: 81.11 kB / 0.6696 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.18, allocations: 7.984 kB / 0.6696 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.176e-05/0.18, allocations: 0 / 0.6696 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.346e-05/0.18, allocations: 0 / 0.6696 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.1801, allocations: 4 kB / 0.6696 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.47e-05/0.1801, allocations: 79.31 kB / 0.6697 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1801, allocations: 0 / 0.6697 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002278/0.1803, allocations: 20 kB / 0.6697 GB, free: 0.9258 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.0002009/0.1805, allocations: 124.6 kB / 0.6699 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000136/0.1807, allocations: 55.91 kB / 0.6699 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1807, allocations: 448 / 0.6699 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.503e-05/0.1807, allocations: 27.92 kB / 0.6699 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.1809, allocations: 11.94 kB / 0.6699 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003145/0.1812, allocations: 145.4 kB / 0.6701 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.1814, allocations: 0.6807 MB / 0.6708 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.103e-05/0.1815, allocations: 15.38 kB / 0.6708 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.1815, allocations: 0 / 0.6708 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of Templates: time 0.002484/0.184, allocations: 0.8273 MB / 0.6716 GB, free: 14.99 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)