Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0007339/0.0007339, allocations: 80.94 kB / 21.55 MB, free: 2.949 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.0008306/0.0008306, allocations: 162.7 kB / 24.96 MB, free: 8.711 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 0.9074/0.9074, allocations: 177.2 MB / 205.4 MB, free: 4.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.919/1.919, allocations: 389.6 MB / 0.6362 GB, free: 13.37 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.7761 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.369e-05/2.533e-05, allocations: 2.312 kB / 0.7761 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.00308/0.003105, allocations: 1.524 MB / 0.7776 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.006515/0.00962, allocations: 4.027 MB / 0.7815 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.656e-05/0.009687, allocations: 4 kB / 0.7815 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.009813, allocations: 15.86 kB / 0.7815 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002632/0.01008, allocations: 35.72 kB / 0.7816 GB, free: 8.211 MB / 0.7448 GB [/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.003854/0.01393, allocations: 1.445 MB / 0.783 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.01409, allocations: 91.67 kB / 0.7831 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.523e-05/0.01413, allocations: 8 kB / 0.7831 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.01425, allocations: 63.81 kB / 0.7831 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.0144, allocations: 67.14 kB / 0.7832 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.01442, allocations: 4 kB / 0.7832 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004449/0.01887, allocations: 2.58 MB / 0.7857 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0006969/0.01957, allocations: 0.7338 MB / 0.7864 GB, free: 3.219 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002419/0.01981, allocations: 242.8 kB / 0.7867 GB, free: 2.98 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.003403/0.02321, allocations: 2.729 MB / 0.7893 GB, free: 248 kB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.02322, allocations: 0 / 0.7893 GB, free: 248 kB / 0.7448 GB Notification: Performance of FrontEnd: time 9.92e-07/0.02322, allocations: 0 / 0.7893 GB, free: 248 kB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.319e-05/0.02323, allocations: 0 / 0.7893 GB, free: 248 kB / 0.7448 GB 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.002402/0.02563, allocations: 1.895 MB / 0.7912 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.02568, allocations: 15.98 kB / 0.7912 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003138/0.02599, allocations: 52.86 kB / 0.7912 GB, free: 14.24 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005237/0.02651, allocations: 0.5131 MB / 0.7917 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.02653, allocations: 4.375 kB / 0.7917 GB, free: 13.67 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.213e-05/0.02656, allocations: 4.375 kB / 0.7917 GB, free: 13.67 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002675/0.02682, allocations: 224.5 kB / 0.792 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.02683, allocations: 8.125 kB / 0.792 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.02684, allocations: 384 / 0.792 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.02685, allocations: 7.922 kB / 0.792 GB, free: 13.42 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.02703, allocations: 195.9 kB / 0.7922 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003289/0.02736, allocations: 296.1 kB / 0.7924 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/0.02761, allocations: 281 kB / 0.7927 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.02775, allocations: 165.7 kB / 0.7929 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004061/0.02816, allocations: 139.9 kB / 0.793 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002334/0.02839, allocations: 217 kB / 0.7932 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.02839, allocations: 0 / 0.7932 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of matching and sorting (n=8): time 0.0005574/0.02895, allocations: 0.513 MB / 0.7937 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.02899, allocations: 85.05 kB / 0.7938 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001459/0.03045, allocations: 1.716 MB / 0.7955 GB, free: 9.723 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.03048, allocations: 29.7 kB / 0.7955 GB, free: 9.688 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002644/0.03075, allocations: 404 kB / 0.7959 GB, free: 9.289 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.985e-05/0.03079, allocations: 27.95 kB / 0.7959 GB, free: 9.262 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003598/0.03115, allocations: 434.9 kB / 0.7963 GB, free: 8.828 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 7.948e-05/0.03123, allocations: 301.1 kB / 0.7966 GB, free: 8.531 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005863/0.03181, allocations: 0.6366 MB / 0.7972 GB, free: 7.891 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006429/0.03246, allocations: 0.7541 MB / 0.798 GB, free: 7.129 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003621/0.03608, allocations: 3.259 MB / 0.8012 GB, free: 3.738 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.03608, allocations: 4 kB / 0.8012 GB, free: 3.734 MB / 0.7605 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.3291/0.3652, allocations: 5.642 MB / 0.8067 GB, free: 31.48 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.3652, allocations: 5.891 kB / 0.8067 GB, free: 31.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.563e-05/0.3652, allocations: 2 kB / 0.8067 GB, free: 31.48 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.3653, allocations: 1.062 kB / 0.8067 GB, free: 31.48 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.3654, allocations: 23.41 kB / 0.8067 GB, free: 31.48 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.3654, allocations: 4.188 kB / 0.8067 GB, free: 31.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004086/0.3658, allocations: 310.9 kB / 0.807 GB, free: 31.4 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.307e-05/0.3659, allocations: 20.55 kB / 0.807 GB, free: 31.4 MB / 0.7605 GB 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.000256/0.3661, allocations: 182.9 kB / 0.8072 GB, free: 31.28 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.753e-05/0.3662, allocations: 38 kB / 0.8072 GB, free: 31.28 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004538/0.3666, allocations: 422.1 kB / 0.8076 GB, free: 31.22 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.3666, allocations: 2.219 kB / 0.8076 GB, free: 31.22 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.3666, allocations: 3.344 kB / 0.8076 GB, free: 31.22 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3666, allocations: 0.5156 kB / 0.8076 GB, free: 31.22 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004514/0.3671, allocations: 445.5 kB / 0.8081 GB, free: 31.14 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3671, allocations: 0 / 0.8081 GB, free: 31.14 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.694e-05/0.3672, allocations: 11.05 kB / 0.8081 GB, free: 31.14 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.3672, allocations: 0.7031 kB / 0.8081 GB, free: 31.14 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.3672, allocations: 4.953 kB / 0.8081 GB, free: 31.14 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.3672, allocations: 1.531 kB / 0.8081 GB, free: 31.14 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3672, allocations: 1.734 kB / 0.8081 GB, free: 31.14 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003991/0.3676, allocations: 408 kB / 0.8085 GB, free: 31.06 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.3677, allocations: 154.5 kB / 0.8086 GB, free: 30.95 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.99e-05/0.3677, allocations: 2.484 kB / 0.8086 GB, free: 30.95 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.3679, allocations: 6.547 kB / 0.8086 GB, free: 30.95 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.867e-05/0.3679, allocations: 11.8 kB / 0.8086 GB, free: 30.95 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/0.3679, allocations: 17.52 kB / 0.8087 GB, free: 30.95 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0007319/0.3686, allocations: 0.7437 MB / 0.8094 GB, free: 30.87 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.3686, allocations: 0 / 0.8094 GB, free: 30.87 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.00149/0.3701, allocations: 0.6332 MB / 0.81 GB, free: 30.87 MB / 0.7605 GB 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.001594/0.3717, allocations: 0.8 MB / 0.8108 GB, free: 30.75 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001176/0.3729, allocations: 1.217 MB / 0.812 GB, free: 30.66 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.333e-05/0.3729, allocations: 19.56 kB / 0.812 GB, free: 30.66 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.3731, allocations: 162.1 kB / 0.8121 GB, free: 30.65 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.3733, allocations: 64.72 kB / 0.8122 GB, free: 30.64 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002116/0.3754, allocations: 2.415 MB / 0.8146 GB, free: 29.62 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.3757, allocations: 295.6 kB / 0.8148 GB, free: 29.55 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 8.59e-05/0.3758, allocations: 31.62 kB / 0.8149 GB, free: 29.55 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.3759, allocations: 75.81 kB / 0.8149 GB, free: 29.5 MB / 0.7605 GB Notification: Performance of SimCode: time 7.62e-07/0.3759, allocations: 3.094 kB / 0.815 GB, free: 29.5 MB / 0.7605 GB Notification: Performance of Templates: time 0.0239/0.3998, allocations: 16.1 MB / 0.8307 GB, free: 26.7 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.385814826004207]