Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 111.5 kB / 17.33 MB, free: 5.043 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.001271/0.001271, allocations: 202.6 kB / 18.33 MB, free: 4.055 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.422/1.422, allocations: 225.6 MB / 244.8 MB, free: 13.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.857/0.857, allocations: 128.4 MB / 426.1 MB, free: 7.223 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 69.67 kB / 0.5912 GB, free: 21.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1455, allocations: 83.25 MB / 0.6725 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002532/0.1481, allocations: 1.433 MB / 0.6739 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006624/0.1547, allocations: 4.238 MB / 0.6781 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.066e-05/0.1547, allocations: 0 / 0.6781 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.1549, allocations: 11.86 kB / 0.6781 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002462/0.1551, allocations: 35.83 kB / 0.6781 GB, free: 14.27 MB / 0.5137 GB [/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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.003834/0.1589, allocations: 1.507 MB / 0.6796 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.1591, allocations: 91.67 kB / 0.6797 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.235e-05/0.1591, allocations: 7.984 kB / 0.6797 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.814e-05/0.1592, allocations: 51.78 kB / 0.6797 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002359/0.1595, allocations: 161.6 kB / 0.6799 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.003e-05/0.1595, allocations: 16 kB / 0.6799 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003698/0.1632, allocations: 2.313 MB / 0.6822 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00085/0.164, allocations: 0.7614 MB / 0.6829 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004525/0.1645, allocations: 0.5002 MB / 0.6834 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003483/0.168, allocations: 2.569 MB / 0.6859 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.168, allocations: 0 / 0.6859 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.805e-06/0.168, allocations: 0 / 0.6859 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.657e-05/0.168, allocations: 4 kB / 0.6859 GB, free: 6.27 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.009189/0.1772, allocations: 2.031 MB / 0.6879 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.1772, allocations: 8.031 kB / 0.6879 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000484/0.1777, allocations: 175.6 kB / 0.6881 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000668/0.1784, allocations: 0.5819 MB / 0.6886 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.1784, allocations: 4.375 kB / 0.6886 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.563e-05/0.1784, allocations: 11.88 kB / 0.6887 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005017/0.1789, allocations: 391.2 kB / 0.689 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.179, allocations: 0 / 0.689 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.179, allocations: 11.92 kB / 0.689 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.179, allocations: 0 / 0.689 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004961/0.1795, allocations: 435.8 kB / 0.6895 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009616/0.1804, allocations: 0.9304 MB / 0.6904 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00061/0.181, allocations: 0.5632 MB / 0.6909 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003563/0.1814, allocations: 337.7 kB / 0.6912 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00125/0.1826, allocations: 1.025 MB / 0.6922 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004759/0.1831, allocations: 416.8 kB / 0.6926 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/0.1831, allocations: 0 / 0.6926 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001618/0.1847, allocations: 1.363 MB / 0.694 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.088e-05/0.1848, allocations: 89.05 kB / 0.694 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002504/0.1873, allocations: 2.225 MB / 0.6962 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.794e-05/0.1874, allocations: 29.7 kB / 0.6962 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004853/0.1879, allocations: 0.5374 MB / 0.6968 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.477e-05/0.1879, allocations: 23.88 kB / 0.6968 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004662/0.1884, allocations: 447.4 kB / 0.6972 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1885, allocations: 305.1 kB / 0.6975 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002092/0.1906, allocations: 2.057 MB / 0.6995 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00221/0.1928, allocations: 2.23 MB / 0.7017 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008654/0.2015, allocations: 4.685 MB / 0.7063 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.2015, allocations: 3.938 kB / 0.7063 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.00721/0.2087, allocations: 6.244 MB / 0.7124 GB, free: 10.38 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.2087, allocations: 16.02 kB / 0.7124 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.2087, allocations: 0 / 0.7124 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.2087, allocations: 4 kB / 0.7124 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.2089, allocations: 16 kB / 0.7124 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.2089, allocations: 3.984 kB / 0.7124 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006442/0.2095, allocations: 308.6 kB / 0.7127 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.026e-05/0.2096, allocations: 23.98 kB / 0.7127 GB, free: 10.02 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 116 (cluSiz[5],cluSiz[4],cluSiz[3],cluSiz[2],cluSiz[1],labels[100],labels[99],labels[98],labels[97],labels[96],labels[95],labels[94],labels[93],labels[92],labels[91],labels[90],labels[89],labels[88],labels[87],labels[86],labels[85],labels[84],labels[83],labels[82],labels[81],labels[80],labels[79],labels[78],labels[77],labels[76],labels[75],labels[74],labels[73],labels[72],labels[71],labels[70],labels[69],labels[68],labels[67],labels[66],labels[65],labels[64],labels[63],labels[62],labels[61],labels[60],labels[59],labels[58],labels[57],labels[56],labels[55],labels[54],labels[53],labels[52],labels[51],labels[50],labels[49],labels[48],labels[47],labels[46],labels[45],labels[44],labels[43],labels[42],labels[41],labels[40],labels[39],labels[38],labels[37],labels[36],labels[35],labels[34],labels[33],labels[32],labels[31],labels[30],labels[29],labels[28],labels[27],labels[26],labels[25],labels[24],labels[23],labels[22],labels[21],labels[20],labels[19],labels[18],labels[17],labels[16],labels[15],labels[14],labels[13],labels[12],labels[11],labels[10],labels[9],labels[8],labels[7],labels[6],labels[5],labels[4],labels[3],labels[2],labels[1],gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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 0.0006348/0.2102, allocations: 474.6 kB / 0.7132 GB, free: 9.539 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.2104, allocations: 150.7 kB / 0.7133 GB, free: 9.391 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/0.2115, allocations: 1.019 MB / 0.7143 GB, free: 8.359 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.2115, allocations: 4 kB / 0.7143 GB, free: 8.355 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2115, allocations: 0 / 0.7143 GB, free: 8.355 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2115, allocations: 4.031 kB / 0.7143 GB, free: 8.352 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007463/0.2123, allocations: 0.7711 MB / 0.7151 GB, free: 7.527 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.2123, allocations: 0 / 0.7151 GB, free: 7.527 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.356e-05/0.2124, allocations: 11.98 kB / 0.7151 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.2124, allocations: 4 kB / 0.7151 GB, free: 7.512 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.2124, allocations: 0 / 0.7151 GB, free: 7.512 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2124, allocations: 0 / 0.7151 GB, free: 7.512 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2124, allocations: 80 / 0.7151 GB, free: 7.512 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.2135, allocations: 1.1 MB / 0.7162 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002072/0.2137, allocations: 227.8 kB / 0.7164 GB, free: 6.145 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.2138, allocations: 11.94 kB / 0.7164 GB, free: 6.133 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.214, allocations: 7.984 kB / 0.7164 GB, free: 6.125 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.918e-05/0.214, allocations: 0 / 0.7164 GB, free: 6.125 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.664e-05/0.2141, allocations: 15.97 kB / 0.7164 GB, free: 6.109 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001553/0.2156, allocations: 1.305 MB / 0.7177 GB, free: 4.789 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2156, allocations: 0 / 0.7177 GB, free: 4.789 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001621/0.2173, allocations: 0.6352 MB / 0.7183 GB, free: 4.152 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001809/0.2191, allocations: 0.6981 MB / 0.719 GB, free: 3.465 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00302/0.2221, allocations: 2.806 MB / 0.7217 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2221, allocations: 0 / 0.7217 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003781/0.2225, allocations: 335.7 kB / 0.7221 GB, free: 324 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000452/0.2229, allocations: 59.86 kB / 0.7221 GB, free: 260 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003786/0.2267, allocations: 2.943 MB / 0.725 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009644/0.2277, allocations: 1.235 MB / 0.7262 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001639/0.2278, allocations: 40.55 kB / 0.7262 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.2279, allocations: 23.42 kB / 0.7263 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of SimCode: time 7.32e-07/0.2279, allocations: 0 / 0.7263 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of Templates: time 0.02777/0.2557, allocations: 14.61 MB / 0.7405 GB, free: 13.38 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1) [Timeout 480]