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.0007904/0.0007904, allocations: 72.95 kB / 20.72 MB, free: 3.77 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.0009581/0.0009581, allocations: 169.3 kB / 24.14 MB, free: 356 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.9533/0.9533, allocations: 177.1 MB / 204.6 MB, free: 5.492 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.6346/0.6346, allocations: 115 MB / 376 MB, free: 7.508 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.463e-06/1.463e-06, allocations: 0 / 428.9 MB, free: 2.656 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.231e-05/1.378e-05, allocations: 2.312 kB / 428.9 MB, free: 2.652 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001737/0.001751, allocations: 1.497 MB / 430.4 MB, free: 1.145 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004642/0.006393, allocations: 4.042 MB / 434.4 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.872e-05/0.006422, allocations: 3.938 kB / 434.4 MB, free: 13.08 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.467e-05/0.006466, allocations: 7.922 kB / 434.4 MB, free: 13.07 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.006577, allocations: 43.64 kB / 434.5 MB, free: 13.03 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.002177/0.008755, allocations: 1.437 MB / 435.9 MB, free: 11.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.721e-05/0.008842, allocations: 91.67 kB / 436 MB, free: 11.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.282e-05/0.008865, allocations: 7.984 kB / 436 MB, free: 11.49 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.414e-05/0.008929, allocations: 63.88 kB / 436.1 MB, free: 11.43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.767e-05/0.009017, allocations: 67.14 kB / 436.1 MB, free: 11.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.009029, allocations: 4 kB / 436.1 MB, free: 11.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002369/0.0114, allocations: 2.592 MB / 438.7 MB, free: 8.762 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004274/0.01182, allocations: 0.7338 MB / 439.5 MB, free: 8.027 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.01197, allocations: 238.9 kB / 439.7 MB, free: 7.793 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002266/0.01423, allocations: 2.718 MB / 442.4 MB, free: 5.066 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.502e-06/0.01424, allocations: 0 / 442.4 MB, free: 5.066 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.01424, allocations: 3.984 kB / 442.4 MB, free: 5.062 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.01424, allocations: 0 / 442.4 MB, free: 5.062 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.001412/0.01566, allocations: 1.899 MB / 444.3 MB, free: 3.125 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.01569, allocations: 12.03 kB / 444.3 MB, free: 3.113 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002201/0.01591, allocations: 52.86 kB / 444.4 MB, free: 3.062 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003694/0.01628, allocations: 0.5053 MB / 444.9 MB, free: 2.508 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.01629, allocations: 8.359 kB / 444.9 MB, free: 2.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.01632, allocations: 16.3 kB / 444.9 MB, free: 2.484 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.01651, allocations: 224.1 kB / 445.1 MB, free: 2.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.01651, allocations: 0 / 445.1 MB, free: 2.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.01652, allocations: 8 kB / 445.1 MB, free: 2.242 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.01653, allocations: 4 kB / 445.1 MB, free: 2.238 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.01666, allocations: 191.9 kB / 445.3 MB, free: 2.051 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002457/0.01691, allocations: 288.1 kB / 445.6 MB, free: 1.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.0171, allocations: 281.1 kB / 445.9 MB, free: 1.457 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.01721, allocations: 157.6 kB / 446 MB, free: 1.297 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002769/0.01749, allocations: 128 kB / 446.2 MB, free: 1.172 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001901/0.01768, allocations: 228.9 kB / 446.4 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.01768, allocations: 0 / 446.4 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004623/0.01814, allocations: 0.5168 MB / 446.9 MB, free: 416 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.01818, allocations: 77.11 kB / 447 MB, free: 320 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.225/0.2432, allocations: 1.707 MB / 448.7 MB, free: 23.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.907e-05/0.2433, allocations: 31.23 kB / 448.7 MB, free: 23.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.2435, allocations: 403 kB / 449.1 MB, free: 22.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.554e-05/0.2436, allocations: 25.02 kB / 449.1 MB, free: 22.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004288/0.244, allocations: 436 kB / 449.5 MB, free: 22.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.897e-05/0.244, allocations: 302.3 kB / 449.8 MB, free: 22.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006568/0.2447, allocations: 0.6385 MB / 450.5 MB, free: 22.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006628/0.2454, allocations: 0.7595 MB / 451.2 MB, free: 22.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004418/0.2498, allocations: 3.254 MB / 454.5 MB, free: 21.19 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2498, allocations: 0.5312 kB / 454.5 MB, free: 21.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.00435/0.2541, allocations: 5.651 MB / 460.1 MB, free: 19.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.2541, allocations: 7.125 kB / 460.2 MB, free: 19.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.2542, allocations: 0.6094 kB / 460.2 MB, free: 19.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.2542, allocations: 7.359 kB / 460.2 MB, free: 19.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.98e-05/0.2543, allocations: 23.5 kB / 460.2 MB, free: 19.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.337e-06/0.2543, allocations: 4 kB / 460.2 MB, free: 19.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004093/0.2547, allocations: 307.9 kB / 460.5 MB, free: 18.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.879e-05/0.2547, allocations: 20.31 kB / 460.5 MB, free: 18.8 MB / 410.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.0002401/0.255, allocations: 185.9 kB / 460.7 MB, free: 18.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.892e-05/0.255, allocations: 40.28 kB / 460.7 MB, free: 18.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004378/0.2555, allocations: 419.4 kB / 461.1 MB, free: 18.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.2555, allocations: 1.266 kB / 461.1 MB, free: 18.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2555, allocations: 3.906 kB / 461.1 MB, free: 18.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.2555, allocations: 0.7031 kB / 461.1 MB, free: 18.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004244/0.2559, allocations: 449 kB / 461.6 MB, free: 18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.2559, allocations: 0 / 461.6 MB, free: 18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.289e-05/0.256, allocations: 9.953 kB / 461.6 MB, free: 18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.256, allocations: 0 / 461.6 MB, free: 18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.256, allocations: 10.66 kB / 461.6 MB, free: 17.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.256, allocations: 1.438 kB / 461.6 MB, free: 17.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.256, allocations: 0 / 461.6 MB, free: 17.99 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.2563, allocations: 407 kB / 462 MB, free: 17.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8e-05/0.2563, allocations: 156.2 kB / 462.2 MB, free: 17.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.773e-05/0.2564, allocations: 9.25 kB / 462.2 MB, free: 17.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.553e-05/0.2565, allocations: 1.359 kB / 462.2 MB, free: 17.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.2565, allocations: 10.8 kB / 462.2 MB, free: 17.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.2566, allocations: 12.97 kB / 462.2 MB, free: 17.47 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004759/0.257, allocations: 0.7458 MB / 462.9 MB, free: 16.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.257, allocations: 0 / 462.9 MB, free: 16.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00139/0.2584, allocations: 0.6337 MB / 463.6 MB, free: 16.48 MB / 410.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.00138/0.2598, allocations: 0.806 MB / 464.4 MB, free: 16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007/0.2605, allocations: 1.208 MB / 465.6 MB, free: 14.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-05/0.2605, allocations: 20 kB / 465.6 MB, free: 14.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.626e-05/0.2606, allocations: 169.9 kB / 465.8 MB, free: 14.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.2608, allocations: 55.73 kB / 465.8 MB, free: 14.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.2625, allocations: 2.415 MB / 468.2 MB, free: 12.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000181/0.2627, allocations: 302.5 kB / 468.5 MB, free: 12.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.207e-05/0.2628, allocations: 27.58 kB / 468.6 MB, free: 12.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.2629, allocations: 78.23 kB / 468.6 MB, free: 12.32 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.2629, allocations: 0.5625 kB / 468.6 MB, free: 12.32 MB / 410.7 MB Notification: Performance of Templates: time 0.01882/0.2817, allocations: 16.1 MB / 484.7 MB, free: 13.86 MB / 426.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 -s gbode -gbm=radauIIA3 -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.764800088945776]