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.001442/0.001442, allocations: 92.72 kB / 20.21 MB, free: 4.223 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.001601/0.001601, allocations: 157.7 kB / 23.52 MB, free: 0.918 MB / 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 1.508/1.508, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.941/0.941, allocations: 115 MB / 375.3 MB, free: 7.566 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.894e-06/1.894e-06, allocations: 0 / 480.9 MB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.064e-05/3.253e-05, allocations: 8.594 kB / 480.9 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002497/0.002529, allocations: 1.414 MB / 482.3 MB, free: 10.88 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006131/0.00866, allocations: 3.849 MB / 486.1 MB, free: 8.523 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.389e-05/0.008734, allocations: 5.25 kB / 486.1 MB, free: 8.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.008884, allocations: 12.62 kB / 486.2 MB, free: 8.512 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000286/0.00917, allocations: 35.3 kB / 486.2 MB, free: 8.492 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.004949/0.01412, allocations: 1.602 MB / 487.8 MB, free: 7.895 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001898/0.01431, allocations: 97.14 kB / 487.9 MB, free: 7.863 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.865e-05/0.01437, allocations: 2.438 kB / 487.9 MB, free: 7.863 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.01452, allocations: 60.25 kB / 488 MB, free: 7.844 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002705/0.01479, allocations: 165.1 kB / 488.1 MB, free: 7.805 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.605e-05/0.01485, allocations: 14.06 kB / 488.1 MB, free: 7.805 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004689/0.01953, allocations: 2.403 MB / 490.5 MB, free: 7.172 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008709/0.02041, allocations: 0.7832 MB / 491.3 MB, free: 6.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005637/0.02097, allocations: 275.7 kB / 491.6 MB, free: 6.836 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006244/0.02721, allocations: 2.831 MB / 494.4 MB, free: 5.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.02722, allocations: 1.281 kB / 494.4 MB, free: 5.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.819e-06/0.02723, allocations: 0 / 494.4 MB, free: 5.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.731e-05/0.02731, allocations: 2.031 kB / 494.4 MB, free: 5.98 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.01212/0.03942, allocations: 1.96 MB / 496.4 MB, free: 4.652 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.03948, allocations: 9.812 kB / 496.4 MB, free: 4.652 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007777/0.04026, allocations: 182.7 kB / 496.6 MB, free: 4.539 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.04139, allocations: 0.5198 MB / 497.1 MB, free: 4.152 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.04141, allocations: 7.312 kB / 497.1 MB, free: 4.148 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.772e-05/0.04148, allocations: 8.844 kB / 497.1 MB, free: 4.145 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005759/0.04205, allocations: 395.5 kB / 497.5 MB, free: 4.082 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.04206, allocations: 0 / 497.5 MB, free: 4.082 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.04208, allocations: 5.859 kB / 497.5 MB, free: 4.078 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.04209, allocations: 3.062 kB / 497.5 MB, free: 4.078 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000573/0.04266, allocations: 432.1 kB / 497.9 MB, free: 4.074 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001763/0.04442, allocations: 0.854 MB / 498.8 MB, free: 3.637 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007148/0.04514, allocations: 0.5617 MB / 499.3 MB, free: 3.578 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003982/0.04554, allocations: 334.9 kB / 499.7 MB, free: 3.559 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007939/0.04633, allocations: 135.6 kB / 499.8 MB, free: 3.551 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005158/0.04685, allocations: 411.4 kB / 0.4885 GB, free: 3.469 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.933e-06/0.04685, allocations: 0 / 0.4885 GB, free: 3.469 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.001635/0.04848, allocations: 1.376 MB / 0.4898 GB, free: 2.477 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.04854, allocations: 85.77 kB / 0.4899 GB, free: 2.375 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003205/0.05174, allocations: 2.226 MB / 0.4921 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.06e-05/0.0518, allocations: 29.7 kB / 0.4921 GB, free: 496 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000474/0.05228, allocations: 0.5328 MB / 0.4926 GB, free: 4 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.922e-05/0.05235, allocations: 25.91 kB / 0.4926 GB, free: 15.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006227/0.05298, allocations: 439.1 kB / 0.4931 GB, free: 15.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.05315, allocations: 306.5 kB / 0.4934 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002545/0.05569, allocations: 2.056 MB / 0.4954 GB, free: 13.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002831/0.05852, allocations: 2.233 MB / 0.4975 GB, free: 11.44 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0103/0.06882, allocations: 4.687 MB / 0.5021 GB, free: 6.676 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.06883, allocations: 0 / 0.5021 GB, free: 6.676 MB / 426.7 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.009811/0.07864, allocations: 6.319 MB / 0.5083 GB, free: 252 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.853e-05/0.07867, allocations: 14.23 kB / 0.5083 GB, free: 244 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.764e-05/0.07871, allocations: 9.031 kB / 0.5083 GB, free: 236 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.157e-05/0.07874, allocations: 0 / 0.5083 GB, free: 236 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.07894, allocations: 14.81 kB / 0.5083 GB, free: 224 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.795e-05/0.07896, allocations: 7.984 kB / 0.5083 GB, free: 216 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.08024, allocations: 308.8 kB / 0.5086 GB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.147e-05/0.08032, allocations: 23.98 kB / 0.5087 GB, free: 15.88 MB / 442.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 (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.001126/0.08145, allocations: 476.1 kB / 0.5091 GB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003095/0.08176, allocations: 158.4 kB / 0.5093 GB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/0.08332, allocations: 1.012 MB / 0.5102 GB, free: 14.24 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.08333, allocations: 6.438 kB / 0.5103 GB, free: 14.24 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.08334, allocations: 0 / 0.5103 GB, free: 14.24 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.08335, allocations: 0 / 0.5103 GB, free: 14.24 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/0.08478, allocations: 0.7055 MB / 0.5109 GB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.08478, allocations: 4 kB / 0.5109 GB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.77e-05/0.08487, allocations: 7.984 kB / 0.511 GB, free: 13.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.956e-06/0.08488, allocations: 3.938 kB / 0.511 GB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.0849, allocations: 10.19 kB / 0.511 GB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.0849, allocations: 4 kB / 0.511 GB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.0849, allocations: 0 / 0.511 GB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.08637, allocations: 1.087 MB / 0.512 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003563/0.08673, allocations: 158.6 kB / 0.5122 GB, free: 12.21 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/0.0869, allocations: 3.938 kB / 0.5122 GB, free: 12.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002778/0.08718, allocations: 11.98 kB / 0.5122 GB, free: 12.19 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.08723, allocations: 4 kB / 0.5122 GB, free: 12.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.824e-05/0.08728, allocations: 11.97 kB / 0.5122 GB, free: 12.18 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002186/0.08947, allocations: 1.304 MB / 0.5135 GB, free: 10.86 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.08947, allocations: 0 / 0.5135 GB, free: 10.86 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002746/0.09221, allocations: 0.6353 MB / 0.5141 GB, free: 10.22 MB / 442.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.003478/0.09569, allocations: 0.7809 MB / 0.5149 GB, free: 9.469 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003753/0.09944, allocations: 2.815 MB / 0.5176 GB, free: 6.645 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.09945, allocations: 0 / 0.5176 GB, free: 6.645 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004421/0.09989, allocations: 339.7 kB / 0.5179 GB, free: 6.312 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006522/0.1005, allocations: 60.53 kB / 0.518 GB, free: 6.25 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004962/0.1055, allocations: 2.994 MB / 0.5209 GB, free: 3.23 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000965/0.1065, allocations: 0.6403 MB / 0.5216 GB, free: 2.559 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002404/0.1067, allocations: 44.39 kB / 0.5216 GB, free: 2.516 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.1068, allocations: 32.48 kB / 0.5216 GB, free: 2.484 MB / 442.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1068, allocations: 0 / 0.5216 GB, free: 2.484 MB / 442.7 MB Notification: Performance of Templates: time 0.03185/0.1387, allocations: 14.4 MB / 0.5357 GB, free: 4.215 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 41.01687507505994]