Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.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.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009638/0.0009639, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001115/0.001115, allocations: 168.7 kB / 15.95 MB, free: 204 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.332/1.332, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001765/0.001765, allocations: 266.5 kB / 291.3 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9578/0.9578, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004182/0.0004182, allocations: 14.91 kB / 0.598 GB, free: 28.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1698, allocations: 88.56 MB / 0.6845 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes): time 0.001324/0.1711, allocations: 1.031 MB / 0.6855 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.1729, allocations: 1.204 MB / 0.6867 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.823e-05/0.173, allocations: 0 / 0.6867 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.473e-05/0.1731, allocations: 3.938 kB / 0.6867 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001847/0.1733, allocations: 32.95 kB / 0.6867 GB, free: 13.15 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. Notification: Performance of NFTyping.typeClassSections: time 0.0007368/0.174, allocations: 286.5 kB / 0.687 GB, free: 12.87 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.319e-05/0.1741, allocations: 43.84 kB / 0.6871 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.455e-05/0.1741, allocations: 1.312 kB / 0.6871 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.473e-05/0.1742, allocations: 23.98 kB / 0.6871 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.1743, allocations: 99.88 kB / 0.6872 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.1743, allocations: 0 / 0.6872 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006457/0.175, allocations: 436.2 kB / 0.6876 GB, free: 12.28 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005431/0.1755, allocations: 0.5908 MB / 0.6882 GB, free: 11.7 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.143e-05/0.1756, allocations: 141.1 kB / 0.6883 GB, free: 11.56 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005696/0.1762, allocations: 0.6044 MB / 0.6889 GB, free: 10.95 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1762, allocations: 0 / 0.6889 GB, free: 10.95 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1762, allocations: 4 kB / 0.6889 GB, free: 10.95 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.281e-06/0.1762, allocations: 0 / 0.6889 GB, free: 10.95 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.001038/0.1773, allocations: 1.187 MB / 0.6901 GB, free: 9.707 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.1773, allocations: 12.03 kB / 0.6901 GB, free: 9.695 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.1775, allocations: 114.5 kB / 0.6902 GB, free: 9.582 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000362/0.1778, allocations: 423.5 kB / 0.6906 GB, free: 9.121 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-06/0.1778, allocations: 0 / 0.6906 GB, free: 9.121 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.1779, allocations: 0 / 0.6906 GB, free: 9.121 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.178, allocations: 165.6 kB / 0.6907 GB, free: 8.953 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.189e-06/0.178, allocations: 0 / 0.6907 GB, free: 8.953 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.974e-06/0.178, allocations: 0 / 0.6907 GB, free: 8.953 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.1781, allocations: 0 / 0.6907 GB, free: 8.953 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002091/0.1783, allocations: 275.7 kB / 0.691 GB, free: 8.684 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004581/0.1787, allocations: 0.5637 MB / 0.6916 GB, free: 8.066 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.1789, allocations: 150.5 kB / 0.6917 GB, free: 7.91 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.179, allocations: 136.8 kB / 0.6918 GB, free: 7.773 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.686e-05/0.1791, allocations: 88.58 kB / 0.6919 GB, free: 7.684 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.1791, allocations: 30.56 kB / 0.6919 GB, free: 7.645 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.1791, allocations: 0 / 0.6919 GB, free: 7.645 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0004602/0.1796, allocations: 0.5234 MB / 0.6925 GB, free: 7.113 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.1796, allocations: 51.41 kB / 0.6925 GB, free: 7.051 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/0.1809, allocations: 1.384 MB / 0.6939 GB, free: 5.656 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.1809, allocations: 29.7 kB / 0.6939 GB, free: 5.621 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003305/0.1813, allocations: 453.5 kB / 0.6943 GB, free: 5.176 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.193e-05/0.1813, allocations: 3.906 kB / 0.6943 GB, free: 5.172 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-06/0.1813, allocations: 0 / 0.6943 GB, free: 5.172 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.1814, allocations: 341.9 kB / 0.6946 GB, free: 4.832 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004415/0.1819, allocations: 0.5946 MB / 0.6952 GB, free: 4.234 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004242/0.1823, allocations: 0.5945 MB / 0.6958 GB, free: 3.645 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000458/0.1828, allocations: 0.6189 MB / 0.6964 GB, free: 3.027 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1828, allocations: 0 / 0.6964 GB, free: 3.027 MB / 494.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001233/0.184, allocations: 1.392 MB / 0.6978 GB, free: 1.625 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.184, allocations: 6.188 kB / 0.6978 GB, free: 1.621 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.1841, allocations: 3.984 kB / 0.6978 GB, free: 1.617 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.1841, allocations: 0 / 0.6978 GB, free: 1.617 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.371e-05/0.1841, allocations: 0 / 0.6978 GB, free: 1.617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.1841, allocations: 0 / 0.6978 GB, free: 1.617 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.1843, allocations: 74.94 kB / 0.6979 GB, free: 1.543 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.1843, allocations: 0 / 0.6979 GB, free: 1.543 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: 105 (cmp,labels[1],labels[2],labels[3],labels[4],labels[5],labels[6],labels[7],labels[8],labels[9],labels[10],labels[11],labels[12],labels[13],labels[14],labels[15],labels[16],labels[17],labels[18],labels[19],labels[20],labels[21],labels[22],labels[23],labels[24],labels[25],labels[26],labels[27],labels[28],labels[29],labels[30],labels[31],labels[32],labels[33],labels[34],labels[35],labels[36],labels[37],labels[38],labels[39],labels[40],labels[41],labels[42],labels[43],labels[44],labels[45],labels[46],labels[47],labels[48],labels[49],labels[50],labels[51],labels[52],labels[53],labels[54],labels[55],labels[56],labels[57],labels[58],labels[59],labels[60],labels[61],labels[62],labels[63],labels[64],labels[65],labels[66],labels[67],labels[68],labels[69],labels[70],labels[71],labels[72],labels[73],labels[74],labels[75],labels[76],labels[77],labels[78],labels[79],labels[80],labels[81],labels[82],labels[83],labels[84],labels[85],labels[86],labels[87],labels[88],labels[89],labels[90],labels[91],labels[92],labels[93],labels[94],labels[95],labels[96],labels[97],labels[98],labels[99],labels[100],cluSiz[1],cluSiz[2],cluSiz[3],cluSiz[4]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0003865/0.1847, allocations: 382.8 kB / 0.6982 GB, free: 1.164 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.643e-05/0.1848, allocations: 110.4 kB / 0.6983 GB, free: 1.055 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003857/0.1851, allocations: 404.7 kB / 0.6987 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1852, allocations: 7.938 kB / 0.6987 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1852, allocations: 4.031 kB / 0.6987 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-06/0.1852, allocations: 0 / 0.6987 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004517/0.1856, allocations: 0.5487 MB / 0.6993 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1856, allocations: 0 / 0.6993 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.939e-06/0.1857, allocations: 0 / 0.6993 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1857, allocations: 0 / 0.6993 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.1857, allocations: 0 / 0.6993 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.1857, allocations: 0 / 0.6993 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.1857, allocations: 3.984 kB / 0.6993 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000355/0.186, allocations: 438.3 kB / 0.6997 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.1862, allocations: 167.5 kB / 0.6998 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.644e-05/0.1862, allocations: 0 / 0.6998 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.956e-05/0.1863, allocations: 8 kB / 0.6998 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.363e-05/0.1864, allocations: 0 / 0.6998 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.1864, allocations: 0 / 0.6998 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009772/0.1874, allocations: 0.9073 MB / 0.7007 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.585e-06/0.1874, allocations: 0 / 0.7007 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000554/0.1879, allocations: 187.9 kB / 0.7009 GB, free: 14.3 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: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.000638/0.1886, allocations: 281.3 kB / 0.7012 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008579/0.1894, allocations: 1.049 MB / 0.7022 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1895, allocations: 4.062 kB / 0.7022 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.363e-05/0.1895, allocations: 131.9 kB / 0.7023 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.1899, allocations: 45.16 kB / 0.7024 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.1919, allocations: 1.767 MB / 0.7041 GB, free: 11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005592/0.1925, allocations: 1.016 MB / 0.7051 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.576e-05/0.1925, allocations: 0 / 0.7051 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.897e-05/0.1925, allocations: 11.42 kB / 0.7051 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1925, allocations: 4 kB / 0.7051 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of Templates: time 0.009654/0.2022, allocations: 4.349 MB / 0.7094 GB, free: 5.652 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe 2>&1)