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.001686/0.001686, 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.002465/0.002465, allocations: 193.6 kB / 16.14 MB, free: 6.645 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.427/1.427, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9613/0.9613, allocations: 135.1 MB / 425.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 64.62 kB / 0.5047 GB, free: 5.719 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1774, allocations: 80.92 MB / 0.5837 GB, free: 4.969 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002974/0.1805, allocations: 1.294 MB / 0.585 GB, free: 3.656 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.1816, allocations: 492.5 kB / 0.5855 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.52e-05/0.1817, allocations: 4 kB / 0.5855 GB, free: 3.172 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.581e-05/0.1817, allocations: 3.938 kB / 0.5855 GB, free: 3.168 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.235e-05/0.1818, allocations: 0 / 0.5855 GB, free: 3.168 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005934/0.1825, allocations: 51.88 kB / 0.5855 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.997e-05/0.1826, allocations: 15.98 kB / 0.5856 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.519e-05/0.1827, allocations: 0 / 0.5856 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.407e-05/0.1827, allocations: 15.92 kB / 0.5856 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.215e-05/0.1828, allocations: 7.984 kB / 0.5856 GB, free: 3.078 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.1828, allocations: 0 / 0.5856 GB, free: 3.078 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003515/0.1832, allocations: 67.86 kB / 0.5856 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.1833, allocations: 11.98 kB / 0.5857 GB, free: 3 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.017e-05/0.1834, allocations: 7.938 kB / 0.5857 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.1837, allocations: 71.83 kB / 0.5857 GB, free: 2.922 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.124e-05/0.1837, allocations: 0 / 0.5857 GB, free: 2.922 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1837, allocations: 0 / 0.5857 GB, free: 2.922 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.373e-06/0.1837, allocations: 4 kB / 0.5857 GB, free: 2.918 MB / 494.1 MB 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.0005929/0.1843, allocations: 335.7 kB / 0.5861 GB, free: 2.543 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/0.1844, allocations: 8.031 kB / 0.5861 GB, free: 2.535 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.196e-05/0.1845, allocations: 4.938 kB / 0.5861 GB, free: 2.531 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.1846, allocations: 168.4 kB / 0.5862 GB, free: 2.328 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.1846, allocations: 4.359 kB / 0.5862 GB, free: 2.324 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.1847, allocations: 8.125 kB / 0.5862 GB, free: 2.316 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.1848, allocations: 49.62 kB / 0.5863 GB, free: 2.262 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1849, allocations: 0 / 0.5863 GB, free: 2.262 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.1849, allocations: 0 / 0.5863 GB, free: 2.262 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1849, allocations: 4 kB / 0.5863 GB, free: 2.258 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.318e-05/0.1849, allocations: 15.92 kB / 0.5863 GB, free: 2.242 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000207/0.1852, allocations: 157.7 kB / 0.5865 GB, free: 2.039 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.797e-05/0.1852, allocations: 34.56 kB / 0.5865 GB, free: 1.996 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.802e-05/0.1853, allocations: 20.89 kB / 0.5865 GB, free: 1.973 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.347e-06/0.1853, allocations: 0 / 0.5865 GB, free: 1.973 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002585/0.1856, allocations: 63.39 kB / 0.5866 GB, free: 1.898 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.1856, allocations: 0 / 0.5866 GB, free: 1.898 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003368/0.1859, allocations: 97.61 kB / 0.5867 GB, free: 1.797 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.276e-05/0.186, allocations: 63.44 kB / 0.5867 GB, free: 1.723 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.994e-05/0.1861, allocations: 93.77 kB / 0.5868 GB, free: 1.621 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.1861, allocations: 29.7 kB / 0.5868 GB, free: 1.586 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.76e-05/0.1862, allocations: 84.14 kB / 0.5869 GB, free: 1.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.858e-05/0.1862, allocations: 15.83 kB / 0.5869 GB, free: 1.484 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.89e-05/0.1863, allocations: 25.72 kB / 0.587 GB, free: 1.453 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.1865, allocations: 322.8 kB / 0.5873 GB, free: 1.129 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.722e-05/0.1865, allocations: 19.98 kB / 0.5873 GB, free: 1.109 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.082e-05/0.1866, allocations: 70 kB / 0.5874 GB, free: 1.02 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.1868, allocations: 105.8 kB / 0.5875 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1868, allocations: 0 / 0.5875 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001781/0.187, allocations: 121.4 kB / 0.5876 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.187, allocations: 6.188 kB / 0.5876 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.187, allocations: 8.219 kB / 0.5876 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.187, allocations: 0 / 0.5876 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.1872, allocations: 15.94 kB / 0.5876 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.1872, allocations: 0 / 0.5876 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.229e-05/0.1872, allocations: 8 kB / 0.5876 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.1872, allocations: 4 kB / 0.5876 GB, free: 0.7305 MB / 494.1 MB 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.0001138/0.1874, allocations: 127.2 kB / 0.5877 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.523e-05/0.1874, allocations: 7.844 kB / 0.5877 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.908e-05/0.1874, allocations: 7.969 kB / 0.5877 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1874, allocations: 4 kB / 0.5877 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.1874, allocations: 0 / 0.5877 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1874, allocations: 3.938 kB / 0.5878 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.1876, allocations: 165.5 kB / 0.5879 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1876, allocations: 0 / 0.5879 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.478e-06/0.1876, allocations: 0 / 0.5879 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1876, allocations: 0 / 0.5879 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.1876, allocations: 3.984 kB / 0.5879 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.1876, allocations: 4 kB / 0.5879 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1876, allocations: 0 / 0.5879 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.1878, allocations: 113.2 kB / 0.588 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.822e-05/0.1878, allocations: 81.09 kB / 0.5881 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.1879, allocations: 4 kB / 0.5881 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.401e-05/0.1879, allocations: 0 / 0.5881 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/0.1879, allocations: 4 kB / 0.5881 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.1879, allocations: 0 / 0.5881 GB, free: 120 kB / 494.1 MB Notification: Performance of sorting global known variables: time 2.796e-05/0.188, allocations: 79.28 kB / 0.5882 GB, free: 40 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.188, allocations: 4.031 kB / 0.5882 GB, free: 36 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002698/0.1882, allocations: 24 kB / 0.5882 GB, free: 12 kB / 494.1 MB 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.0002386/0.1885, allocations: 123.2 kB / 0.5883 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001435/0.1886, allocations: 51.92 kB / 0.5884 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1887, allocations: 0 / 0.5884 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.415e-05/0.1887, allocations: 20.42 kB / 0.5884 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/0.1889, allocations: 16 kB / 0.5884 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003427/0.1892, allocations: 123.3 kB / 0.5885 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.1895, allocations: 0.6781 MB / 0.5892 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.56e-05/0.1895, allocations: 4 kB / 0.5892 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.971e-05/0.1895, allocations: 15.38 kB / 0.5892 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.1895, allocations: 0 / 0.5892 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of Templates: time 0.003236/0.1928, allocations: 0.6471 MB / 0.5898 GB, free: 14.32 MB / 0.4981 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)