Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 103.8 kB / 16.41 MB, free: 6.016 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.001259/0.001259, allocations: 192.3 kB / 17.34 MB, free: 5.609 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8233/0.8233, allocations: 135.1 MB / 426.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 66.09 kB / 0.5863 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1819, allocations: 80.93 MB / 0.6653 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.00174/0.1836, allocations: 0.5424 MB / 0.6659 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009078/0.1846, allocations: 0.7731 MB / 0.6666 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.062e-05/0.1846, allocations: 3.938 kB / 0.6666 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.513e-05/0.1846, allocations: 0 / 0.6666 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.442e-06/0.1847, allocations: 4 kB / 0.6666 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.1849, allocations: 19.91 kB / 0.6667 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.98e-05/0.185, allocations: 8 kB / 0.6667 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.28e-05/0.185, allocations: 4 kB / 0.6667 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.349e-05/0.1851, allocations: 4 kB / 0.6667 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.1852, allocations: 15.98 kB / 0.6667 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.1852, allocations: 3.984 kB / 0.6667 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.178e-06/0.1852, allocations: 0 / 0.6667 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.185e-05/0.1853, allocations: 3.938 kB / 0.6667 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.796e-05/0.1853, allocations: 0 / 0.6667 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 4.015e-05/0.1853, allocations: 4 kB / 0.6667 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1853, allocations: 4 kB / 0.6667 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.813e-06/0.1853, allocations: 0 / 0.6667 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.1853, allocations: 0 / 0.6667 GB, free: 4.531 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002906/0.1856, allocations: 311.5 kB / 0.667 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.1857, allocations: 12.06 kB / 0.667 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.034e-05/0.1857, allocations: 4.938 kB / 0.667 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.919e-05/0.1858, allocations: 164.4 kB / 0.6672 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.1858, allocations: 384 / 0.6672 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-06/0.1859, allocations: 384 / 0.6672 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.733e-05/0.1859, allocations: 41.58 kB / 0.6672 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.186, allocations: 3.938 kB / 0.6672 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.186, allocations: 0 / 0.6672 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.186, allocations: 3.984 kB / 0.6672 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.85e-05/0.186, allocations: 0 / 0.6672 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003253/0.1863, allocations: 383.5 kB / 0.6676 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.565e-05/0.1864, allocations: 169.1 kB / 0.6677 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.675e-05/0.1865, allocations: 80.14 kB / 0.6678 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.1865, allocations: 79.22 kB / 0.6679 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.709e-05/0.1866, allocations: 113.9 kB / 0.668 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.1866, allocations: 0 / 0.668 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.085e-05/0.1867, allocations: 25.7 kB / 0.668 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.159e-05/0.1867, allocations: 130.7 kB / 0.6682 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.394e-05/0.1868, allocations: 93.84 kB / 0.6682 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.1868, allocations: 29.7 kB / 0.6683 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.291e-05/0.1869, allocations: 80.14 kB / 0.6684 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.146e-06/0.1869, allocations: 0 / 0.6684 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.1869, allocations: 9.719 kB / 0.6684 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.187, allocations: 318.8 kB / 0.6687 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.887e-06/0.187, allocations: 8.125 kB / 0.6687 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.14e-06/0.187, allocations: 3.938 kB / 0.6687 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.277e-05/0.1871, allocations: 4.859 kB / 0.6687 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1871, allocations: 0 / 0.6687 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.077e-05/0.1872, allocations: 33.7 kB / 0.6687 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.1872, allocations: 7.984 kB / 0.6687 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.1872, allocations: 0 / 0.6687 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1872, allocations: 0 / 0.6687 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.129e-05/0.1873, allocations: 4 kB / 0.6687 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.1873, allocations: 4.094 kB / 0.6687 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.015e-05/0.1873, allocations: 0 / 0.6687 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.207e-06/0.1873, allocations: 3.938 kB / 0.6687 GB, free: 2.223 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 9.602e-05/0.1874, allocations: 193 kB / 0.6689 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.84e-05/0.1875, allocations: 105 kB / 0.669 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.01e-05/0.1875, allocations: 104.1 kB / 0.6691 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.463e-05/0.1876, allocations: 188.2 kB / 0.6693 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.279e-05/0.1877, allocations: 176.3 kB / 0.6695 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.539e-05/0.1878, allocations: 184.2 kB / 0.6696 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.188, allocations: 409.1 kB / 0.67 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.158e-05/0.188, allocations: 101 kB / 0.6701 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.589e-05/0.1881, allocations: 104.9 kB / 0.6702 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.073e-05/0.1882, allocations: 184.3 kB / 0.6704 GB, free: 392 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.937e-05/0.1882, allocations: 184.2 kB / 0.6706 GB, free: 200 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.867e-05/0.1883, allocations: 176.3 kB / 0.6707 GB, free: 16 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.251e-05/0.1884, allocations: 192.2 kB / 0.6709 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.1885, allocations: 303.9 kB / 0.6712 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.084e-05/0.1886, allocations: 194.1 kB / 0.6714 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.621e-05/0.1887, allocations: 180.2 kB / 0.6716 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.84e-05/0.1888, allocations: 101 kB / 0.6717 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.772e-05/0.1889, allocations: 180.2 kB / 0.6718 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.535e-05/0.1889, allocations: 105 kB / 0.6719 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.539e-05/0.1889, allocations: 79.28 kB / 0.672 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1889, allocations: 0 / 0.672 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002222/0.1892, allocations: 0 / 0.672 GB, free: 14.62 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0001478/0.1893, allocations: 179.8 kB / 0.6722 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.702e-05/0.1894, allocations: 15.88 kB / 0.6722 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1894, allocations: 0 / 0.6722 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.1894, allocations: 0 / 0.6722 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.1898, allocations: 463.8 kB / 0.6726 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002238/0.19, allocations: 177.8 kB / 0.6728 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.1903, allocations: 0.669 MB / 0.6735 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.929e-05/0.1903, allocations: 7.438 kB / 0.6735 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1903, allocations: 0 / 0.6735 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of Templates: time 0.00163/0.192, allocations: 327.1 kB / 0.6738 GB, free: 12.74 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)