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.001877/0.001877, allocations: 97.47 kB / 20.22 MB, free: 4.207 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.001898/0.001898, allocations: 165.2 kB / 23.53 MB, free: 0.8945 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.551/1.551, 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 1.025/1.025, allocations: 115 MB / 375.3 MB, free: 7.57 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.423e-06/1.423e-06, allocations: 0 / 480.9 MB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.108e-05/2.25e-05, allocations: 4.984 kB / 480.9 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.00201/0.002032, allocations: 1.434 MB / 482.3 MB, free: 10.91 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005231/0.007263, allocations: 4.029 MB / 486.3 MB, free: 8.473 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.377e-05/0.007317, allocations: 5.188 kB / 486.3 MB, free: 8.469 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.007423, allocations: 14.61 kB / 486.4 MB, free: 8.461 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002271/0.00765, allocations: 32.42 kB / 486.4 MB, free: 8.441 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.003586/0.01124, allocations: 1.609 MB / 488 MB, free: 7.836 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.01136, allocations: 98.56 kB / 488.1 MB, free: 7.805 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.552e-05/0.0114, allocations: 2.469 kB / 488.1 MB, free: 7.805 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.927e-05/0.01148, allocations: 60.94 kB / 488.2 MB, free: 7.785 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.01169, allocations: 155 kB / 488.3 MB, free: 7.754 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.637e-05/0.01174, allocations: 15.81 kB / 488.3 MB, free: 7.754 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003425/0.01516, allocations: 2.407 MB / 490.7 MB, free: 7.117 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007575/0.01592, allocations: 0.7905 MB / 491.5 MB, free: 6.867 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002869/0.01621, allocations: 266 kB / 491.8 MB, free: 6.781 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004211/0.02042, allocations: 2.839 MB / 494.6 MB, free: 5.922 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.02042, allocations: 0 / 494.6 MB, free: 5.922 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.02042, allocations: 0 / 494.6 MB, free: 5.922 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.98e-05/0.02045, allocations: 1.156 kB / 494.6 MB, free: 5.922 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.01299/0.03344, allocations: 2.133 MB / 496.8 MB, free: 4.438 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.03348, allocations: 11.12 kB / 496.8 MB, free: 4.438 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004591/0.03394, allocations: 174.7 kB / 496.9 MB, free: 4.328 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007157/0.03466, allocations: 0.523 MB / 497.5 MB, free: 3.934 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.03467, allocations: 7.547 kB / 497.5 MB, free: 3.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.084e-05/0.03472, allocations: 7.234 kB / 497.5 MB, free: 3.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004131/0.03513, allocations: 369.8 kB / 497.8 MB, free: 3.859 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.03514, allocations: 1 kB / 497.8 MB, free: 3.859 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.03515, allocations: 0.6562 kB / 497.8 MB, free: 3.859 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.03515, allocations: 2.281 kB / 497.8 MB, free: 3.859 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000434/0.03559, allocations: 396.3 kB / 498.2 MB, free: 3.852 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.03678, allocations: 1.02 MB / 499.2 MB, free: 3.285 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005421/0.03732, allocations: 0.5273 MB / 499.8 MB, free: 3.207 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000342/0.03766, allocations: 304.4 kB / 0.4883 GB, free: 3.184 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006459/0.03831, allocations: 142 kB / 0.4885 GB, free: 3.172 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004328/0.03874, allocations: 386.9 kB / 0.4889 GB, free: 3.078 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.783e-06/0.03874, allocations: 0.8125 kB / 0.4889 GB, free: 3.078 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.001394/0.04014, allocations: 1.257 MB / 0.4901 GB, free: 2.148 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.04017, allocations: 83.36 kB / 0.4902 GB, free: 2.051 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002263/0.04244, allocations: 2.118 MB / 0.4922 GB, free: 228 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.522e-05/0.04252, allocations: 35.27 kB / 0.4923 GB, free: 188 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00063/0.04315, allocations: 0.6518 MB / 0.4929 GB, free: 15.58 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.083e-05/0.0432, allocations: 26.66 kB / 0.4929 GB, free: 15.56 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006654/0.04387, allocations: 0.5155 MB / 0.4934 GB, free: 15.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000237/0.04411, allocations: 482.1 kB / 0.4939 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009977/0.0451, allocations: 0.7909 MB / 0.4947 GB, free: 13.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/0.0464, allocations: 1.019 MB / 0.4957 GB, free: 12.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008655/0.05505, allocations: 4.489 MB / 0.5 GB, free: 8.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.05506, allocations: 0 / 0.5 GB, free: 8.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.007998/0.06306, allocations: 6.21 MB / 0.5061 GB, free: 2.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.06308, allocations: 7.938 kB / 0.5061 GB, free: 2.402 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.163e-05/0.0631, allocations: 4.812 kB / 0.5061 GB, free: 2.398 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.06312, allocations: 0 / 0.5061 GB, free: 2.398 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.06328, allocations: 20.55 kB / 0.5061 GB, free: 2.379 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.06329, allocations: 7.938 kB / 0.5061 GB, free: 2.371 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009447/0.06424, allocations: 305.5 kB / 0.5064 GB, free: 2.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-05/0.0643, allocations: 23.98 kB / 0.5065 GB, free: 2.047 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.0004819/0.06478, allocations: 227.9 kB / 0.5067 GB, free: 1.824 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/0.06495, allocations: 158.6 kB / 0.5068 GB, free: 1.668 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.06617, allocations: 0.9108 MB / 0.5077 GB, free: 0.7539 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.06618, allocations: 7.125 kB / 0.5077 GB, free: 0.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.06618, allocations: 0 / 0.5077 GB, free: 0.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.06618, allocations: 0 / 0.5077 GB, free: 0.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.06741, allocations: 0.8456 MB / 0.5085 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.06742, allocations: 7.984 kB / 0.5086 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.705e-05/0.06748, allocations: 4 kB / 0.5086 GB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.291e-06/0.06749, allocations: 3.984 kB / 0.5086 GB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.06751, allocations: 7.938 kB / 0.5086 GB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.06751, allocations: 3.125 kB / 0.5086 GB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.06751, allocations: 3.938 kB / 0.5086 GB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.06867, allocations: 1.032 MB / 0.5096 GB, free: 14.78 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002242/0.0689, allocations: 154.6 kB / 0.5097 GB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.069, allocations: 7.938 kB / 0.5097 GB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.06921, allocations: 0 / 0.5097 GB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.06926, allocations: 8.672 kB / 0.5097 GB, free: 14.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.563e-05/0.06929, allocations: 11.98 kB / 0.5098 GB, free: 14.6 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001439/0.07073, allocations: 0.9995 MB / 0.5107 GB, free: 13.59 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.07073, allocations: 0 / 0.5107 GB, free: 13.59 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002297/0.07303, allocations: 0.6353 MB / 0.5114 GB, free: 12.95 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.002413/0.07544, allocations: 0.7897 MB / 0.5121 GB, free: 12.19 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002229/0.07767, allocations: 1.682 MB / 0.5138 GB, free: 10.49 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.07767, allocations: 0 / 0.5138 GB, free: 10.49 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003818/0.07806, allocations: 315.4 kB / 0.5141 GB, free: 10.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005075/0.07856, allocations: 60.62 kB / 0.5141 GB, free: 10.11 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003618/0.08218, allocations: 2.564 MB / 0.5166 GB, free: 7.523 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007105/0.08289, allocations: 0.598 MB / 0.5172 GB, free: 6.898 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001767/0.08307, allocations: 39.2 kB / 0.5173 GB, free: 6.863 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.08318, allocations: 28.48 kB / 0.5173 GB, free: 6.836 MB / 442.7 MB Notification: Performance of SimCode: time 1.332e-06/0.08318, allocations: 0 / 0.5173 GB, free: 6.836 MB / 442.7 MB Notification: Performance of Templates: time 0.02919/0.1124, allocations: 14.38 MB / 0.5313 GB, free: 8.582 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: 41.65308351395652]