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.0008588/0.0008588, allocations: 84.22 kB / 20.94 MB, free: 3.605 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.0009169/0.0009169, allocations: 173 kB / 24.25 MB, free: 304 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.9947/0.9947, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.5908/0.5908, allocations: 115 MB / 376 MB, free: 7.66 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.383e-06/1.383e-06, allocations: 0 / 481.6 MB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.093e-05/2.231e-05, allocations: 2.312 kB / 481.6 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001796/0.001818, allocations: 1.472 MB / 483.1 MB, free: 10.9 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004333/0.006152, allocations: 4.023 MB / 487.1 MB, free: 8.484 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.147e-05/0.006213, allocations: 5.312 kB / 487.1 MB, free: 8.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.006322, allocations: 12.62 kB / 487.1 MB, free: 8.473 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002225/0.006545, allocations: 35.75 kB / 487.1 MB, free: 8.453 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.003058/0.009603, allocations: 1.61 MB / 488.8 MB, free: 7.852 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.009742, allocations: 96.84 kB / 488.9 MB, free: 7.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.42e-05/0.009786, allocations: 2.594 kB / 488.9 MB, free: 7.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.231e-05/0.009869, allocations: 59.7 kB / 488.9 MB, free: 7.801 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001888/0.01006, allocations: 159.5 kB / 489.1 MB, free: 7.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.35e-05/0.01009, allocations: 13.94 kB / 489.1 MB, free: 7.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00308/0.01317, allocations: 2.418 MB / 491.5 MB, free: 7.133 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005766/0.01375, allocations: 0.781 MB / 492.3 MB, free: 6.891 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002359/0.01398, allocations: 273.4 kB / 492.5 MB, free: 6.801 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003946/0.01793, allocations: 2.846 MB / 495.4 MB, free: 5.941 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.01793, allocations: 1.062 kB / 495.4 MB, free: 5.941 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.01794, allocations: 0 / 495.4 MB, free: 5.941 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.108e-05/0.01796, allocations: 0 / 495.4 MB, free: 5.941 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.006541/0.0245, allocations: 2.138 MB / 497.5 MB, free: 4.453 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.02454, allocations: 9.312 kB / 497.5 MB, free: 4.453 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000412/0.02496, allocations: 175.8 kB / 497.7 MB, free: 4.344 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006761/0.02563, allocations: 0.5184 MB / 498.2 MB, free: 3.953 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.02565, allocations: 10 kB / 498.2 MB, free: 3.949 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.441e-05/0.02568, allocations: 5.641 kB / 498.2 MB, free: 3.949 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004888/0.02617, allocations: 375.8 kB / 498.6 MB, free: 3.867 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.02618, allocations: 1.547 kB / 498.6 MB, free: 3.867 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.0262, allocations: 5.688 kB / 498.6 MB, free: 3.863 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.02621, allocations: 2.531 kB / 498.6 MB, free: 3.863 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003746/0.02658, allocations: 387.3 kB / 499 MB, free: 3.855 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.02771, allocations: 1.021 MB / 0.4883 GB, free: 3.289 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004673/0.02818, allocations: 0.5221 MB / 0.4888 GB, free: 3.211 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002668/0.02845, allocations: 305 kB / 0.4891 GB, free: 3.184 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004715/0.02892, allocations: 133.7 kB / 0.4892 GB, free: 3.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003359/0.02926, allocations: 385.3 kB / 0.4896 GB, free: 3.086 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 2.014e-06/0.02926, allocations: 0 / 0.4896 GB, free: 3.086 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.001047/0.0303, allocations: 1.239 MB / 0.4908 GB, free: 2.289 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.03035, allocations: 87.17 kB / 0.4909 GB, free: 2.188 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/0.03203, allocations: 2.122 MB / 0.493 GB, free: 364 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.03207, allocations: 30.41 kB / 0.493 GB, free: 328 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003838/0.03245, allocations: 0.6519 MB / 0.4936 GB, free: 15.72 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/0.03249, allocations: 27.16 kB / 0.4937 GB, free: 15.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004099/0.0329, allocations: 0.5155 MB / 0.4942 GB, free: 15.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.03301, allocations: 477.5 kB / 0.4946 GB, free: 14.78 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005961/0.03361, allocations: 0.8261 MB / 0.4954 GB, free: 13.99 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007082/0.03431, allocations: 1.048 MB / 0.4964 GB, free: 13 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002345/0.03666, allocations: 3.219 MB / 0.4996 GB, free: 9.891 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.03666, allocations: 1.5 kB / 0.4996 GB, free: 9.891 MB / 426.7 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.004613/0.04128, allocations: 6.273 MB / 0.5057 GB, free: 3.555 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.0413, allocations: 20.98 kB / 0.5057 GB, free: 3.535 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/0.04132, allocations: 0 / 0.5057 GB, free: 3.535 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.04134, allocations: 4 kB / 0.5057 GB, free: 3.531 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002736/0.04161, allocations: 25.02 kB / 0.5058 GB, free: 3.508 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.04162, allocations: 0 / 0.5058 GB, free: 3.508 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006325/0.04225, allocations: 308.6 kB / 0.5061 GB, free: 3.203 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.503e-05/0.0423, allocations: 29.14 kB / 0.5061 GB, free: 3.176 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 (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.0003734/0.04267, allocations: 232.3 kB / 0.5063 GB, free: 2.949 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.412e-05/0.04277, allocations: 158.6 kB / 0.5065 GB, free: 2.793 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007705/0.04354, allocations: 0.8906 MB / 0.5073 GB, free: 1.898 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.04354, allocations: 0 / 0.5073 GB, free: 1.898 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.04355, allocations: 7.984 kB / 0.5073 GB, free: 1.891 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.04355, allocations: 5.281 kB / 0.5073 GB, free: 1.887 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008497/0.0444, allocations: 0.8454 MB / 0.5082 GB, free: 1.004 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.0444, allocations: 0 / 0.5082 GB, free: 1.004 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.958e-05/0.04446, allocations: 8.812 kB / 0.5082 GB, free: 0.9961 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.04447, allocations: 0 / 0.5082 GB, free: 0.9961 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.04448, allocations: 8.578 kB / 0.5082 GB, free: 0.9883 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.04448, allocations: 4 kB / 0.5082 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.04449, allocations: 5.406 kB / 0.5082 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000657/0.04514, allocations: 1.013 MB / 0.5092 GB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001623/0.0453, allocations: 150.7 kB / 0.5093 GB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.224e-05/0.04538, allocations: 10.38 kB / 0.5093 GB, free: 15.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.0455, allocations: 4 kB / 0.5093 GB, free: 15.78 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.04554, allocations: 3.984 kB / 0.5093 GB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.751e-05/0.04558, allocations: 15.98 kB / 0.5094 GB, free: 15.76 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008666/0.04645, allocations: 0.9932 MB / 0.5103 GB, free: 14.75 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.04645, allocations: 0 / 0.5103 GB, free: 14.75 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00247/0.04892, allocations: 0.6419 MB / 0.511 GB, free: 14.11 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.001808/0.05072, allocations: 0.7959 MB / 0.5117 GB, free: 13.35 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001549/0.05227, allocations: 1.728 MB / 0.5134 GB, free: 11.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.05228, allocations: 4 kB / 0.5134 GB, free: 11.59 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.05247, allocations: 299.5 kB / 0.5137 GB, free: 11.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.05287, allocations: 69.97 kB / 0.5138 GB, free: 11.23 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/0.05522, allocations: 2.557 MB / 0.5163 GB, free: 8.641 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001821/0.0554, allocations: 299.8 kB / 0.5166 GB, free: 8.328 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.05551, allocations: 31.34 kB / 0.5166 GB, free: 8.301 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.738e-05/0.05559, allocations: 32.47 kB / 0.5166 GB, free: 8.27 MB / 442.7 MB Notification: Performance of SimCode: time 1.633e-06/0.05559, allocations: 0 / 0.5166 GB, free: 8.27 MB / 442.7 MB Notification: Performance of Templates: time 0.02183/0.07742, allocations: 14.8 MB / 0.5311 GB, free: 9.594 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: 22.81259261094965]