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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 73.88 kB / 20.65 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00189/0.00189, allocations: 169 kB / 24.05 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9686/0.9686, allocations: 177.2 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6486/0.6486, allocations: 115 MB / 376 MB, free: 7.504 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,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=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 482.1 MB, free: 11.69 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.129e-05/2.274e-05, allocations: 9.109 kB / 482.1 MB, free: 11.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.005072/0.005094, allocations: 1.452 MB / 483.5 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007795/0.01289, allocations: 3.969 MB / 487.5 MB, free: 8.297 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.64e-05/0.01296, allocations: 1.094 kB / 487.5 MB, free: 8.297 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.01307, allocations: 17.09 kB / 487.5 MB, free: 8.285 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002194/0.01328, allocations: 29.59 kB / 487.5 MB, free: 8.27 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.009433/0.02272, allocations: 1.637 MB / 489.2 MB, free: 7.656 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.02285, allocations: 92.91 kB / 489.3 MB, free: 7.625 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.615e-05/0.02288, allocations: 7.609 kB / 489.3 MB, free: 7.621 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.066e-05/0.02296, allocations: 59.62 kB / 489.3 MB, free: 7.605 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.02307, allocations: 69.47 kB / 489.4 MB, free: 7.586 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.02308, allocations: 3.656 kB / 489.4 MB, free: 7.586 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002825/0.02591, allocations: 2.423 MB / 491.8 MB, free: 6.945 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005185/0.02643, allocations: 0.7683 MB / 492.6 MB, free: 6.707 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002412/0.02667, allocations: 234.6 kB / 492.8 MB, free: 6.637 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003302/0.02997, allocations: 2.725 MB / 495.5 MB, free: 5.797 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.02997, allocations: 0.75 kB / 495.5 MB, free: 5.797 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.02997, allocations: 0.875 kB / 495.5 MB, free: 5.797 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.02999, allocations: 1.062 kB / 495.6 MB, free: 5.797 MB / 410.7 MB 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.0024/0.03239, allocations: 2.115 MB / 497.7 MB, free: 4.297 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.03243, allocations: 14.28 kB / 497.7 MB, free: 4.293 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002974/0.03273, allocations: 175.7 kB / 497.9 MB, free: 4.184 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000382/0.03311, allocations: 0.5134 MB / 498.4 MB, free: 3.793 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.03312, allocations: 8.281 kB / 498.4 MB, free: 3.789 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.03315, allocations: 5.797 kB / 498.4 MB, free: 3.789 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.03339, allocations: 243.4 kB / 498.6 MB, free: 3.703 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.0334, allocations: 0 / 498.6 MB, free: 3.703 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.03341, allocations: 1.406 kB / 498.6 MB, free: 3.703 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.03341, allocations: 0 / 498.6 MB, free: 3.703 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/0.03358, allocations: 196.3 kB / 498.8 MB, free: 3.703 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005525/0.03413, allocations: 0.7083 MB / 499.5 MB, free: 3.277 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.03437, allocations: 298.5 kB / 499.8 MB, free: 3.203 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.03449, allocations: 166.7 kB / 500 MB, free: 3.176 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003306/0.03482, allocations: 132.9 kB / 0.4884 GB, free: 3.164 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002041/0.03502, allocations: 238.1 kB / 0.4886 GB, free: 3.078 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.03502, allocations: 0 / 0.4886 GB, free: 3.078 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007499/0.03577, allocations: 0.8353 MB / 0.4894 GB, free: 2.922 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.0358, allocations: 80.42 kB / 0.4895 GB, free: 2.828 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/0.03727, allocations: 2.122 MB / 0.4916 GB, free: 1.305 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.0373, allocations: 29.7 kB / 0.4916 GB, free: 1.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003263/0.03763, allocations: 0.6711 MB / 0.4923 GB, free: 16.65 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.03766, allocations: 26.17 kB / 0.4923 GB, free: 16.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003029/0.03796, allocations: 0.5385 MB / 0.4928 GB, free: 16.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.987e-05/0.03806, allocations: 481.5 kB / 0.4933 GB, free: 15.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003746/0.03843, allocations: 0.5956 MB / 0.4938 GB, free: 15.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005209/0.03896, allocations: 0.8319 MB / 0.4947 GB, free: 14.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004024/0.04298, allocations: 3.275 MB / 0.4979 GB, free: 11.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.04298, allocations: 0.9375 kB / 0.4979 GB, free: 11.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.004329/0.04731, allocations: 5.817 MB / 0.5035 GB, free: 5.535 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.04733, allocations: 5.734 kB / 0.5035 GB, free: 5.531 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/0.04735, allocations: 7.938 kB / 0.5036 GB, free: 5.523 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.04736, allocations: 1.875 kB / 0.5036 GB, free: 5.523 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.04748, allocations: 23.75 kB / 0.5036 GB, free: 5.504 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.04748, allocations: 4 kB / 0.5036 GB, free: 5.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005582/0.04804, allocations: 305.5 kB / 0.5039 GB, free: 5.199 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-05/0.04808, allocations: 25.31 kB / 0.5039 GB, free: 5.18 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 116 (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],cluSiz[5],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.0003917/0.04847, allocations: 234.9 kB / 0.5041 GB, free: 4.957 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.314e-05/0.04857, allocations: 155.8 kB / 0.5043 GB, free: 4.805 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005462/0.04911, allocations: 0.6219 MB / 0.5049 GB, free: 4.277 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.04912, allocations: 4.688 kB / 0.5049 GB, free: 4.273 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.04912, allocations: 0 / 0.5049 GB, free: 4.273 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.04912, allocations: 5.047 kB / 0.5049 GB, free: 4.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006344/0.04976, allocations: 0.5742 MB / 0.5054 GB, free: 3.688 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.04976, allocations: 0 / 0.5054 GB, free: 3.688 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.162e-05/0.04981, allocations: 5.5 kB / 0.5055 GB, free: 3.684 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.04981, allocations: 0 / 0.5055 GB, free: 3.684 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.04982, allocations: 7.984 kB / 0.5055 GB, free: 3.676 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.04982, allocations: 0 / 0.5055 GB, free: 3.676 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.04983, allocations: 5.062 kB / 0.5055 GB, free: 3.672 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004471/0.05027, allocations: 0.7357 MB / 0.5062 GB, free: 2.902 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.05039, allocations: 155.7 kB / 0.5063 GB, free: 2.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.959e-05/0.05044, allocations: 4 kB / 0.5063 GB, free: 2.746 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.05056, allocations: 11.92 kB / 0.5063 GB, free: 2.734 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.53e-05/0.05058, allocations: 8.953 kB / 0.5064 GB, free: 2.727 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.057e-05/0.05061, allocations: 15.98 kB / 0.5064 GB, free: 2.711 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006913/0.0513, allocations: 0.935 MB / 0.5073 GB, free: 1.762 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.0513, allocations: 0 / 0.5073 GB, free: 1.762 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001797/0.0531, allocations: 0.64 MB / 0.5079 GB, free: 1.121 MB / 426.7 MB 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.001407/0.05451, allocations: 0.7958 MB / 0.5087 GB, free: 372 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00118/0.05569, allocations: 1.374 MB / 0.51 GB, free: 14.97 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.05569, allocations: 0 / 0.51 GB, free: 14.97 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.0558, allocations: 167.5 kB / 0.5102 GB, free: 14.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.05614, allocations: 64.53 kB / 0.5102 GB, free: 14.73 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.05811, allocations: 2.418 MB / 0.5126 GB, free: 12.29 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/0.0583, allocations: 293.7 kB / 0.5129 GB, free: 11.98 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 8.333e-05/0.05838, allocations: 32.47 kB / 0.5129 GB, free: 11.95 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.0585, allocations: 98.17 kB / 0.513 GB, free: 11.85 MB / 442.7 MB Notification: Performance of SimCode: time 1.182e-06/0.0585, allocations: 0 / 0.513 GB, free: 11.85 MB / 442.7 MB Notification: Performance of Templates: time 0.02054/0.07904, allocations: 16.18 MB / 0.5288 GB, free: 11.8 MB / 458.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.869129741098732]