Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0008223/0.0008223, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008111/0.0008111, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 223.3 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00168/0.00168, allocations: 274.6 kB / 291.4 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9559/0.9559, allocations: 169.5 MB / 0.5 GB, free: 14.25 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004446/0.0004447, allocations: 13.72 kB / 0.5981 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1804, allocations: 88.55 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.0005726/0.181, allocations: 272.5 kB / 0.6848 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00075/0.1817, allocations: 0.7705 MB / 0.6855 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.628e-06/0.1817, allocations: 4 kB / 0.6855 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.565e-06/0.1818, allocations: 0 / 0.6855 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.889e-06/0.1818, allocations: 0 / 0.6855 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.182, allocations: 17.08 kB / 0.6856 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.824e-05/0.182, allocations: 0 / 0.6856 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.662e-05/0.182, allocations: 0 / 0.6856 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.312e-05/0.1821, allocations: 5.906 kB / 0.6856 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.1822, allocations: 15.97 kB / 0.6856 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.514e-06/0.1822, allocations: 6.531 kB / 0.6856 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.545e-06/0.1822, allocations: 0 / 0.6856 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.861e-06/0.1822, allocations: 0 / 0.6856 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.866e-05/0.1822, allocations: 25.7 kB / 0.6856 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 1.963e-05/0.1823, allocations: 0 / 0.6856 GB, free: 14.33 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1823, allocations: 0 / 0.6856 GB, free: 14.33 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1823, allocations: 0 / 0.6856 GB, free: 14.33 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.006e-06/0.1823, allocations: 0.5 kB / 0.6856 GB, free: 14.33 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.0002002/0.1825, allocations: 317.2 kB / 0.6859 GB, free: 13.97 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.1825, allocations: 8.031 kB / 0.6859 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.229e-05/0.1826, allocations: 3.953 kB / 0.6859 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.006e-05/0.1826, allocations: 163 kB / 0.6861 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.1827, allocations: 1.094 kB / 0.6861 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-06/0.1827, allocations: 0 / 0.6861 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.841e-05/0.1828, allocations: 35.2 kB / 0.6861 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.1828, allocations: 0 / 0.6861 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.1828, allocations: 0 / 0.6861 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.1828, allocations: 3.984 kB / 0.6861 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.666e-05/0.1828, allocations: 4.703 kB / 0.6861 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002548/0.1831, allocations: 377.2 kB / 0.6865 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.433e-05/0.1832, allocations: 169.7 kB / 0.6866 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.798e-05/0.1832, allocations: 82.83 kB / 0.6867 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.1832, allocations: 75.28 kB / 0.6868 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.1833, allocations: 117.9 kB / 0.6869 GB, free: 12.84 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.1833, allocations: 0 / 0.6869 GB, free: 12.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 5.387e-05/0.1833, allocations: 31.5 kB / 0.6869 GB, free: 12.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.1834, allocations: 130.6 kB / 0.6871 GB, free: 12.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.043e-05/0.1835, allocations: 89.86 kB / 0.6871 GB, free: 12.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.1835, allocations: 30.42 kB / 0.6872 GB, free: 12.53 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.079e-05/0.1835, allocations: 81.3 kB / 0.6873 GB, free: 12.45 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.1835, allocations: 0 / 0.6873 GB, free: 12.45 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.874e-06/0.1835, allocations: 0 / 0.6873 GB, free: 12.45 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.306e-05/0.1836, allocations: 315.4 kB / 0.6876 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.67e-06/0.1836, allocations: 1.406 kB / 0.6876 GB, free: 12.13 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.24e-06/0.1836, allocations: 4 kB / 0.6876 GB, free: 12.13 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.318e-05/0.1836, allocations: 4.656 kB / 0.6876 GB, free: 12.12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1837, allocations: 0 / 0.6876 GB, free: 12.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.415e-05/0.1837, allocations: 37.88 kB / 0.6876 GB, free: 12.08 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.1838, allocations: 4 kB / 0.6876 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.1838, allocations: 0 / 0.6876 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.827e-06/0.1838, allocations: 4 kB / 0.6876 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.324e-05/0.1838, allocations: 7.891 kB / 0.6876 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.1838, allocations: 0 / 0.6876 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.015e-05/0.1838, allocations: 3.938 kB / 0.6876 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-06/0.1839, allocations: 0 / 0.6876 GB, free: 12.06 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.703e-05/0.1839, allocations: 189.2 kB / 0.6878 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.933e-05/0.184, allocations: 109 kB / 0.6879 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.851e-05/0.184, allocations: 108.1 kB / 0.688 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.968e-05/0.1841, allocations: 188.2 kB / 0.6882 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.133e-05/0.1841, allocations: 180.2 kB / 0.6884 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.133e-05/0.1842, allocations: 184.1 kB / 0.6885 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/0.1844, allocations: 401.2 kB / 0.6889 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.26e-05/0.1844, allocations: 109 kB / 0.689 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.708e-05/0.1845, allocations: 105.4 kB / 0.6891 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.861e-05/0.1845, allocations: 176.3 kB / 0.6893 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.259e-05/0.1846, allocations: 188.2 kB / 0.6895 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.513e-05/0.1846, allocations: 180.3 kB / 0.6896 GB, free: 9.852 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.868e-05/0.1847, allocations: 184.4 kB / 0.6898 GB, free: 9.664 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.1848, allocations: 307.8 kB / 0.6901 GB, free: 9.34 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.27e-05/0.1849, allocations: 186 kB / 0.6903 GB, free: 9.133 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.567e-05/0.1849, allocations: 176.3 kB / 0.6905 GB, free: 8.953 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.536e-05/0.185, allocations: 112.9 kB / 0.6906 GB, free: 8.836 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.185, allocations: 180.3 kB / 0.6907 GB, free: 8.652 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-05/0.1851, allocations: 105 kB / 0.6908 GB, free: 8.543 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.437e-05/0.1851, allocations: 75.28 kB / 0.6909 GB, free: 8.469 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1851, allocations: 0 / 0.6909 GB, free: 8.469 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000209/0.1853, allocations: 7.953 kB / 0.6909 GB, free: 8.461 MB / 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001221/0.1855, allocations: 182.6 kB / 0.6911 GB, free: 8.27 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 4.335e-05/0.1855, allocations: 4 kB / 0.6911 GB, free: 8.266 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1855, allocations: 0 / 0.6911 GB, free: 8.266 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.1855, allocations: 0 / 0.6911 GB, free: 8.266 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.1858, allocations: 0.5185 MB / 0.6916 GB, free: 7.742 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001443/0.186, allocations: 154.9 kB / 0.6917 GB, free: 7.562 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.1862, allocations: 0.6731 MB / 0.6924 GB, free: 6.863 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.104e-05/0.1862, allocations: 0 / 0.6924 GB, free: 6.863 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.531e-05/0.1862, allocations: 11.44 kB / 0.6924 GB, free: 6.852 MB / 494.1 MB Notification: Performance of SimCode: time 2.505e-06/0.1863, allocations: 3.938 kB / 0.6924 GB, free: 6.848 MB / 494.1 MB Notification: Performance of Templates: time 0.001669/0.1879, allocations: 177.4 kB / 0.6926 GB, free: 6.719 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)