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.001123/0.001123, allocations: 108 kB / 15.61 MB, free: 152 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.001367/0.001368, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9233/0.9233, allocations: 135.1 MB / 425.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 64.23 kB / 0.5054 GB, free: 5.297 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1766, allocations: 80.92 MB / 0.5844 GB, free: 4.535 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001883/0.1785, allocations: 0.5297 MB / 0.5849 GB, free: 4 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009067/0.1794, allocations: 0.7845 MB / 0.5857 GB, free: 3.203 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.579e-05/0.1795, allocations: 0 / 0.5857 GB, free: 3.203 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.395e-05/0.1795, allocations: 7.938 kB / 0.5857 GB, free: 3.195 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.502e-06/0.1795, allocations: 3.938 kB / 0.5857 GB, free: 3.191 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.1798, allocations: 7.984 kB / 0.5857 GB, free: 3.184 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.084e-05/0.1799, allocations: 12 kB / 0.5857 GB, free: 3.172 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.551e-05/0.1799, allocations: 3.984 kB / 0.5857 GB, free: 3.168 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.55e-05/0.1799, allocations: 0 / 0.5857 GB, free: 3.168 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.1801, allocations: 23.86 kB / 0.5857 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.404e-06/0.1801, allocations: 0 / 0.5857 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.105e-06/0.1801, allocations: 0 / 0.5857 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.848e-06/0.1801, allocations: 0 / 0.5857 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.612e-05/0.1801, allocations: 0 / 0.5857 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 3.835e-05/0.1802, allocations: 11.98 kB / 0.5858 GB, free: 3.133 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1802, allocations: 0 / 0.5858 GB, free: 3.133 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1802, allocations: 0 / 0.5858 GB, free: 3.133 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1802, allocations: 0 / 0.5858 GB, free: 3.133 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.0002649/0.1805, allocations: 315.6 kB / 0.5861 GB, free: 2.777 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.1805, allocations: 8.031 kB / 0.5861 GB, free: 2.77 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.644e-05/0.1805, allocations: 0.9375 kB / 0.5861 GB, free: 2.77 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.657e-05/0.1806, allocations: 160.4 kB / 0.5862 GB, free: 2.574 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.1806, allocations: 384 / 0.5862 GB, free: 2.574 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.031e-06/0.1807, allocations: 4.375 kB / 0.5862 GB, free: 2.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.549e-05/0.1807, allocations: 37.81 kB / 0.5863 GB, free: 2.527 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.1808, allocations: 0 / 0.5863 GB, free: 2.527 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.1808, allocations: 0 / 0.5863 GB, free: 2.527 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1808, allocations: 0 / 0.5863 GB, free: 2.527 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.748e-05/0.1808, allocations: 3.938 kB / 0.5863 GB, free: 2.523 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000269/0.1811, allocations: 379.5 kB / 0.5866 GB, free: 2.102 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.861e-05/0.1812, allocations: 169.1 kB / 0.5868 GB, free: 1.926 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.84e-05/0.1812, allocations: 80.14 kB / 0.5869 GB, free: 1.844 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.1812, allocations: 79.27 kB / 0.5869 GB, free: 1.766 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.1813, allocations: 113.9 kB / 0.587 GB, free: 1.645 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 2.144e-06/0.1813, allocations: 3.938 kB / 0.587 GB, free: 1.641 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.567e-05/0.1813, allocations: 33.64 kB / 0.5871 GB, free: 1.602 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/0.1814, allocations: 126.7 kB / 0.5872 GB, free: 1.465 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.622e-05/0.1815, allocations: 93.86 kB / 0.5873 GB, free: 1.363 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.1815, allocations: 25.7 kB / 0.5873 GB, free: 1.332 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.36e-05/0.1815, allocations: 84.05 kB / 0.5874 GB, free: 1.246 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.765e-06/0.1816, allocations: 0 / 0.5874 GB, free: 1.246 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.78e-05/0.1816, allocations: 13.72 kB / 0.5874 GB, free: 1.227 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.1817, allocations: 326.9 kB / 0.5877 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-06/0.1817, allocations: 0 / 0.5877 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.779e-06/0.1817, allocations: 0 / 0.5877 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.743e-05/0.1818, allocations: 12.73 kB / 0.5877 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1818, allocations: 4 kB / 0.5877 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.813e-05/0.1819, allocations: 29.7 kB / 0.5878 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.1819, allocations: 6.812 kB / 0.5878 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1819, allocations: 4 kB / 0.5878 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.1819, allocations: 0 / 0.5878 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.624e-05/0.182, allocations: 8.094 kB / 0.5878 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.182, allocations: 0 / 0.5878 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.002e-05/0.182, allocations: 0 / 0.5878 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.182, allocations: 3.984 kB / 0.5878 GB, free: 0.8242 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.074e-05/0.1821, allocations: 189.1 kB / 0.588 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.274e-05/0.1822, allocations: 114.6 kB / 0.5881 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.898e-05/0.1822, allocations: 104.1 kB / 0.5882 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.512e-05/0.1823, allocations: 180.3 kB / 0.5883 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.644e-05/0.1823, allocations: 180.2 kB / 0.5885 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.474e-05/0.1824, allocations: 184.2 kB / 0.5887 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/0.1826, allocations: 405.1 kB / 0.5891 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.431e-05/0.1826, allocations: 101 kB / 0.5892 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.62e-05/0.1827, allocations: 117 kB / 0.5893 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.769e-05/0.1827, allocations: 180.2 kB / 0.5895 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.882e-05/0.1828, allocations: 176.3 kB / 0.5896 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.819e-05/0.1829, allocations: 184.2 kB / 0.5898 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.891e-05/0.1829, allocations: 180.3 kB / 0.59 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.1831, allocations: 307.9 kB / 0.5903 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.806e-05/0.1831, allocations: 186.1 kB / 0.5904 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.19e-05/0.1832, allocations: 184.2 kB / 0.5906 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.155e-05/0.1833, allocations: 104.9 kB / 0.5907 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.1833, allocations: 188.2 kB / 0.5909 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-05/0.1834, allocations: 105 kB / 0.591 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.918e-05/0.1834, allocations: 75.28 kB / 0.5911 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1834, allocations: 0 / 0.5911 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002084/0.1836, allocations: 0 / 0.5911 GB, free: 13.23 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.0001235/0.1838, allocations: 174.5 kB / 0.5912 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.693e-05/0.1838, allocations: 8 kB / 0.5913 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1838, allocations: 160 / 0.5913 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.376e-06/0.1838, allocations: 7.938 kB / 0.5913 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.1842, allocations: 463.6 kB / 0.5917 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002036/0.1844, allocations: 152.2 kB / 0.5918 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.1846, allocations: 0.669 MB / 0.5925 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.114e-05/0.1846, allocations: 4 kB / 0.5925 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.679e-05/0.1847, allocations: 7.438 kB / 0.5925 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1847, allocations: 7.938 kB / 0.5925 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of Templates: time 0.001777/0.1864, allocations: 178.2 kB / 0.5927 GB, free: 11.55 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)