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.00121/0.00121, allocations: 100.1 kB / 15.88 MB, free: 12 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.001301/0.001301, allocations: 200 kB / 16.79 MB, free: 6.809 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.435/1.435, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.002/1.002, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 64.12 kB / 0.5054 GB, free: 5.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1828, allocations: 80.92 MB / 0.5844 GB, free: 5.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002859/0.1857, allocations: 1.301 MB / 0.5857 GB, free: 3.695 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009805/0.1867, allocations: 488.6 kB / 0.5861 GB, free: 3.219 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.92e-05/0.1868, allocations: 0 / 0.5861 GB, free: 3.219 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.122e-05/0.1868, allocations: 3.938 kB / 0.5861 GB, free: 3.215 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.05e-05/0.1869, allocations: 0 / 0.5861 GB, free: 3.215 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000359/0.1873, allocations: 51.94 kB / 0.5862 GB, free: 3.164 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.584e-05/0.1874, allocations: 15.98 kB / 0.5862 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.569e-05/0.1874, allocations: 7.922 kB / 0.5862 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.939e-05/0.1874, allocations: 7.984 kB / 0.5862 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.525e-05/0.1875, allocations: 11.94 kB / 0.5862 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.1875, allocations: 0 / 0.5862 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001912/0.1877, allocations: 67.84 kB / 0.5863 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.61e-05/0.1878, allocations: 8 kB / 0.5863 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.464e-05/0.1878, allocations: 15.91 kB / 0.5863 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.188, allocations: 43.94 kB / 0.5863 GB, free: 2.988 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.188, allocations: 4 kB / 0.5863 GB, free: 2.984 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.188, allocations: 0 / 0.5863 GB, free: 2.984 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.188, allocations: 0 / 0.5863 GB, free: 2.984 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.0003865/0.1884, allocations: 339.7 kB / 0.5867 GB, free: 2.605 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.1884, allocations: 12.03 kB / 0.5867 GB, free: 2.594 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.76e-05/0.1885, allocations: 0.9375 kB / 0.5867 GB, free: 2.594 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.1886, allocations: 164.4 kB / 0.5868 GB, free: 2.395 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.1886, allocations: 8.375 kB / 0.5868 GB, free: 2.387 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.1886, allocations: 8.109 kB / 0.5869 GB, free: 2.379 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.1888, allocations: 53.69 kB / 0.5869 GB, free: 2.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.1888, allocations: 3.938 kB / 0.5869 GB, free: 2.316 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.1888, allocations: 0 / 0.5869 GB, free: 2.316 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.1888, allocations: 0 / 0.5869 GB, free: 2.316 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.34e-05/0.1889, allocations: 12 kB / 0.5869 GB, free: 2.305 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001674/0.189, allocations: 153.7 kB / 0.5871 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.131e-05/0.1891, allocations: 30.56 kB / 0.5871 GB, free: 2.066 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.215e-05/0.1891, allocations: 24.89 kB / 0.5871 GB, free: 2.039 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.767e-06/0.1892, allocations: 0 / 0.5871 GB, free: 2.039 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000178/0.1893, allocations: 71.33 kB / 0.5872 GB, free: 1.957 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.1894, allocations: 0 / 0.5872 GB, free: 1.957 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002298/0.1896, allocations: 89.67 kB / 0.5873 GB, free: 1.863 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.1896, allocations: 59.39 kB / 0.5873 GB, free: 1.793 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.377e-05/0.1897, allocations: 101.8 kB / 0.5874 GB, free: 1.684 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.1897, allocations: 29.73 kB / 0.5875 GB, free: 1.648 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.631e-05/0.1898, allocations: 84.14 kB / 0.5875 GB, free: 1.562 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.1898, allocations: 19.77 kB / 0.5876 GB, free: 1.543 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.572e-05/0.1898, allocations: 29.72 kB / 0.5876 GB, free: 1.508 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.19, allocations: 318.8 kB / 0.5879 GB, free: 1.188 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.268e-05/0.19, allocations: 23.92 kB / 0.5879 GB, free: 1.164 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.481e-05/0.1901, allocations: 73.94 kB / 0.588 GB, free: 1.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.1902, allocations: 97.92 kB / 0.5881 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1903, allocations: 0 / 0.5881 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001759/0.1904, allocations: 117.3 kB / 0.5882 GB, free: 0.832 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.1905, allocations: 14.17 kB / 0.5882 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1905, allocations: 0 / 0.5882 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1905, allocations: 4 kB / 0.5882 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.713e-05/0.1906, allocations: 8 kB / 0.5882 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.1906, allocations: 4.453 kB / 0.5882 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.653e-05/0.1906, allocations: 8 kB / 0.5882 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.1907, allocations: 8 kB / 0.5882 GB, free: 0.7891 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.0001115/0.1908, allocations: 123.2 kB / 0.5883 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.1908, allocations: 11.84 kB / 0.5884 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.298e-05/0.1908, allocations: 3.969 kB / 0.5884 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.1908, allocations: 0 / 0.5884 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1908, allocations: 0 / 0.5884 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1909, allocations: 4 kB / 0.5884 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.191, allocations: 161.5 kB / 0.5885 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.191, allocations: 0 / 0.5885 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.168e-06/0.191, allocations: 0 / 0.5885 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.191, allocations: 4 kB / 0.5885 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.191, allocations: 0 / 0.5885 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.191, allocations: 0 / 0.5885 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.191, allocations: 7.984 kB / 0.5885 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.1912, allocations: 113 kB / 0.5886 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.87e-05/0.1912, allocations: 81.14 kB / 0.5887 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.1913, allocations: 7.984 kB / 0.5887 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.334e-05/0.1913, allocations: 0 / 0.5887 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.748e-05/0.1913, allocations: 0 / 0.5887 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.1913, allocations: 4 kB / 0.5887 GB, free: 184 kB / 494.1 MB Notification: Performance of sorting global known variables: time 2.766e-05/0.1913, allocations: 75.28 kB / 0.5888 GB, free: 108 kB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1914, allocations: 0 / 0.5888 GB, free: 108 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.1916, allocations: 24 kB / 0.5888 GB, free: 84 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.0002456/0.1919, allocations: 135.2 kB / 0.589 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001334/0.192, allocations: 55.86 kB / 0.589 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.192, allocations: 0 / 0.589 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.646e-05/0.1921, allocations: 19.92 kB / 0.589 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.1922, allocations: 11.88 kB / 0.589 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003598/0.1926, allocations: 153.7 kB / 0.5892 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.1928, allocations: 0.6809 MB / 0.5898 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.78e-05/0.1929, allocations: 7.438 kB / 0.5899 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of SimCode: time 4.51e-07/0.1929, allocations: 4 kB / 0.5899 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of Templates: time 0.002501/0.1954, allocations: 0.8082 MB / 0.5906 GB, free: 14.16 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)