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.00116/0.00116, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001266/0.001266, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.34/1.34, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.934/0.934, allocations: 135.1 MB / 425.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 64.34 kB / 0.5049 GB, free: 5.641 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1763, allocations: 80.93 MB / 0.5839 GB, free: 4.871 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001697/0.178, allocations: 0.6057 MB / 0.5845 GB, free: 4.258 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008561/0.1789, allocations: 0.7728 MB / 0.5853 GB, free: 3.473 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.161e-05/0.1789, allocations: 0 / 0.5853 GB, free: 3.473 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.78e-05/0.1789, allocations: 7.938 kB / 0.5853 GB, free: 3.465 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.939e-06/0.1789, allocations: 0 / 0.5853 GB, free: 3.465 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.1792, allocations: 11.98 kB / 0.5853 GB, free: 3.453 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.365e-05/0.1792, allocations: 4 kB / 0.5853 GB, free: 3.449 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.191e-05/0.1793, allocations: 4 kB / 0.5853 GB, free: 3.445 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.274e-05/0.1793, allocations: 3.938 kB / 0.5853 GB, free: 3.441 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.1794, allocations: 31.91 kB / 0.5853 GB, free: 3.41 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.582e-06/0.1794, allocations: 0 / 0.5853 GB, free: 3.41 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.228e-06/0.1795, allocations: 0 / 0.5853 GB, free: 3.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.366e-06/0.1795, allocations: 0 / 0.5853 GB, free: 3.41 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.406e-05/0.1795, allocations: 0 / 0.5853 GB, free: 3.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 2.851e-05/0.1795, allocations: 4 kB / 0.5853 GB, free: 3.406 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1795, allocations: 0 / 0.5853 GB, free: 3.406 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1795, allocations: 0 / 0.5853 GB, free: 3.406 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1795, allocations: 4 kB / 0.5853 GB, free: 3.402 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002483/0.1798, allocations: 311.6 kB / 0.5856 GB, free: 3.051 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.1798, allocations: 8.031 kB / 0.5856 GB, free: 3.043 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.452e-05/0.1799, allocations: 0.9375 kB / 0.5856 GB, free: 3.043 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.846e-05/0.1799, allocations: 164.3 kB / 0.5858 GB, free: 2.844 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.18, allocations: 384 / 0.5858 GB, free: 2.844 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.662e-06/0.18, allocations: 384 / 0.5858 GB, free: 2.844 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.137e-05/0.1801, allocations: 39.48 kB / 0.5858 GB, free: 2.801 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.3e-06/0.1801, allocations: 0 / 0.5858 GB, free: 2.801 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-06/0.1801, allocations: 4 kB / 0.5858 GB, free: 2.797 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.1801, allocations: 0 / 0.5858 GB, free: 2.797 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.479e-05/0.1801, allocations: 0 / 0.5858 GB, free: 2.797 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002877/0.1804, allocations: 383.5 kB / 0.5862 GB, free: 2.371 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.906e-05/0.1805, allocations: 169.1 kB / 0.5864 GB, free: 2.195 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.203e-05/0.1805, allocations: 84.14 kB / 0.5865 GB, free: 2.109 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.128e-05/0.1806, allocations: 75.28 kB / 0.5865 GB, free: 2.035 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.03e-05/0.1806, allocations: 109.9 kB / 0.5866 GB, free: 1.918 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.1806, allocations: 0 / 0.5866 GB, free: 1.918 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.147e-05/0.1807, allocations: 25.7 kB / 0.5867 GB, free: 1.887 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.1808, allocations: 138.5 kB / 0.5868 GB, free: 1.738 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.608e-05/0.1808, allocations: 101.9 kB / 0.5869 GB, free: 1.629 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.1809, allocations: 25.7 kB / 0.5869 GB, free: 1.598 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.812e-05/0.1809, allocations: 84.05 kB / 0.587 GB, free: 1.512 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-06/0.1809, allocations: 0 / 0.587 GB, free: 1.512 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.1809, allocations: 9.719 kB / 0.587 GB, free: 1.496 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1811, allocations: 318.8 kB / 0.5873 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.458e-06/0.1811, allocations: 0 / 0.5873 GB, free: 1.176 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.658e-06/0.1811, allocations: 0 / 0.5873 GB, free: 1.176 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.874e-05/0.1811, allocations: 13.05 kB / 0.5873 GB, free: 1.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1811, allocations: 4 kB / 0.5873 GB, free: 1.156 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000101/0.1812, allocations: 37.62 kB / 0.5874 GB, free: 1.113 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1813, allocations: 4 kB / 0.5874 GB, free: 1.109 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1813, allocations: 0 / 0.5874 GB, free: 1.109 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.898e-06/0.1813, allocations: 3.938 kB / 0.5874 GB, free: 1.105 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.993e-05/0.1813, allocations: 8 kB / 0.5874 GB, free: 1.098 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.1813, allocations: 0 / 0.5874 GB, free: 1.098 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.989e-06/0.1814, allocations: 0 / 0.5874 GB, free: 1.098 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.1814, allocations: 4.031 kB / 0.5874 GB, free: 1.094 MB / 494.1 MB 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.569e-05/0.1815, allocations: 185.1 kB / 0.5875 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.66e-05/0.1815, allocations: 105 kB / 0.5876 GB, free: 0.793 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.633e-05/0.1816, allocations: 116 kB / 0.5878 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001399/0.1818, allocations: 176.3 kB / 0.5879 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001373/0.1819, allocations: 176.3 kB / 0.5881 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.959e-05/0.182, allocations: 188.2 kB / 0.5883 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.1823, allocations: 401.2 kB / 0.5887 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.813e-05/0.1823, allocations: 108.9 kB / 0.5888 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.273e-05/0.1824, allocations: 101 kB / 0.5889 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.671e-05/0.1824, allocations: 180.3 kB / 0.589 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.1825, allocations: 192.2 kB / 0.5892 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.841e-05/0.1826, allocations: 176.5 kB / 0.5894 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.117e-05/0.1827, allocations: 184.2 kB / 0.5896 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.1828, allocations: 307.7 kB / 0.5899 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.449e-05/0.1829, allocations: 194.1 kB / 0.59 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.753e-05/0.183, allocations: 176.3 kB / 0.5902 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.546e-05/0.1831, allocations: 104.9 kB / 0.5903 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.869e-05/0.1832, allocations: 184.2 kB / 0.5905 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.852e-05/0.1832, allocations: 108.9 kB / 0.5906 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.553e-05/0.1832, allocations: 79.27 kB / 0.5907 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1832, allocations: 96 / 0.5907 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002453/0.1835, allocations: 4 kB / 0.5907 GB, free: 13.5 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: 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.0001471/0.1836, allocations: 174.5 kB / 0.5908 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.651e-05/0.1837, allocations: 4 kB / 0.5908 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1837, allocations: 0 / 0.5908 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.1837, allocations: 0 / 0.5908 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.1841, allocations: 467.7 kB / 0.5913 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002108/0.1843, allocations: 156.2 kB / 0.5914 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.1846, allocations: 0.6729 MB / 0.5921 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.572e-05/0.1846, allocations: 0 / 0.5921 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.117e-05/0.1846, allocations: 7.438 kB / 0.5921 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1846, allocations: 0 / 0.5921 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of Templates: time 0.001942/0.1866, allocations: 183.1 kB / 0.5923 GB, free: 11.82 MB / 0.4981 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)