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.001864/0.001864, allocations: 100.3 kB / 19.72 MB, free: 424 kB / 13.93 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.00199/0.00199, allocations: 224.3 kB / 23.02 MB, free: 2.961 MB / 13.93 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.646/1.646, allocations: 230.6 MB / 256.8 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 178] 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 3.342/3.342, allocations: 0.5045 GB / 0.8104 GB, free: 2.793 MB / 0.6511 GB " [Timeout remaining time 176] 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 0.003719/0.003719, allocations: 71.88 kB / 1.177 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8025/0.8062, allocations: 180 MB / 1.353 GB, free: 1.625 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002897/0.8091, allocations: 1.436 MB / 1.354 GB, free: 188 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.007507/0.8166, allocations: 3.85 MB / 1.358 GB, free: 12.32 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.147e-05/0.8167, allocations: 3.938 kB / 1.358 GB, free: 12.31 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.8168, allocations: 15.86 kB / 1.358 GB, free: 12.3 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002459/0.817, allocations: 31.83 kB / 1.358 GB, free: 12.27 MB / 1.042 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.00476/0.8218, allocations: 1.607 MB / 1.36 GB, free: 10.66 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.8219, allocations: 91.72 kB / 1.36 GB, free: 10.57 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.367e-05/0.822, allocations: 4 kB / 1.36 GB, free: 10.57 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.262e-05/0.8221, allocations: 55.77 kB / 1.36 GB, free: 10.52 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002659/0.8223, allocations: 161.6 kB / 1.36 GB, free: 10.36 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 4.472e-05/0.8224, allocations: 12 kB / 1.36 GB, free: 10.35 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004821/0.8272, allocations: 2.406 MB / 1.362 GB, free: 7.938 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.000975/0.8282, allocations: 0.7653 MB / 1.363 GB, free: 7.172 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004412/0.8286, allocations: 401.3 kB / 1.364 GB, free: 6.777 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.004734/0.8334, allocations: 2.606 MB / 1.366 GB, free: 4.164 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.8334, allocations: 0 / 1.366 GB, free: 4.164 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.344e-06/0.8334, allocations: 0 / 1.366 GB, free: 4.164 MB / 1.042 GB Notification: Performance of Transformations before backend: time 2.054e-05/0.8334, allocations: 0 / 1.366 GB, free: 4.164 MB / 1.042 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.01217/0.8456, allocations: 1.959 MB / 1.368 GB, free: 2.16 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.8456, allocations: 16.88 kB / 1.368 GB, free: 2.145 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000653/0.8463, allocations: 179.6 kB / 1.368 GB, free: 1.969 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.8473, allocations: 0.5294 MB / 1.369 GB, free: 1.391 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.8473, allocations: 4.375 kB / 1.369 GB, free: 1.387 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.816e-05/0.8474, allocations: 4.375 kB / 1.369 GB, free: 1.383 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007153/0.8481, allocations: 395.5 kB / 1.369 GB, free: 0.9844 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.8481, allocations: 0 / 1.369 GB, free: 0.9844 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.8481, allocations: 0 / 1.369 GB, free: 0.9844 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.8481, allocations: 0 / 1.369 GB, free: 0.9844 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007459/0.8488, allocations: 439.7 kB / 1.369 GB, free: 0.5547 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.8502, allocations: 0.8571 MB / 1.37 GB, free: 15.66 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009273/0.8511, allocations: 0.5555 MB / 1.371 GB, free: 15.08 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005593/0.8517, allocations: 329.7 kB / 1.371 GB, free: 14.75 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008755/0.8526, allocations: 147.6 kB / 1.371 GB, free: 14.61 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007015/0.8533, allocations: 408.8 kB / 1.372 GB, free: 14.19 MB / 1.057 GB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/0.8533, allocations: 0 / 1.372 GB, free: 14.19 MB / 1.057 GB Notification: Performance of matching and sorting (n=8): time 0.002393/0.8557, allocations: 1.371 MB / 1.373 GB, free: 12.82 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.374e-05/0.8557, allocations: 81.11 kB / 1.373 GB, free: 12.72 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004044/0.8598, allocations: 2.229 MB / 1.375 GB, free: 10.46 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 6.633e-05/0.8599, allocations: 33.7 kB / 1.375 GB, free: 10.42 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007317/0.8606, allocations: 0.5296 MB / 1.376 GB, free: 9.887 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 4.927e-05/0.8606, allocations: 19.89 kB / 1.376 GB, free: 9.867 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007108/0.8613, allocations: 459.4 kB / 1.376 GB, free: 9.41 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001996/0.8615, allocations: 305.1 kB / 1.377 GB, free: 9.109 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003159/0.8647, allocations: 2.049 MB / 1.379 GB, free: 7.059 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003613/0.8683, allocations: 2.238 MB / 1.381 GB, free: 4.812 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01284/0.8812, allocations: 4.682 MB / 1.385 GB, free: 4 kB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.8812, allocations: 0 / 1.385 GB, free: 4 kB / 1.057 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.01101/0.8922, allocations: 6.252 MB / 1.391 GB, free: 9.645 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.8922, allocations: 7.938 kB / 1.391 GB, free: 9.637 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.252e-05/0.8922, allocations: 4.078 kB / 1.391 GB, free: 9.633 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.8922, allocations: 0 / 1.391 GB, free: 9.633 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.8924, allocations: 20.02 kB / 1.392 GB, free: 9.613 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.8924, allocations: 7.984 kB / 1.392 GB, free: 9.605 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009688/0.8934, allocations: 304.6 kB / 1.392 GB, free: 9.305 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.732e-05/0.8935, allocations: 27.98 kB / 1.392 GB, free: 9.277 MB / 1.073 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 (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.0009249/0.8944, allocations: 467.2 kB / 1.392 GB, free: 8.812 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/0.8946, allocations: 150.7 kB / 1.392 GB, free: 8.664 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00178/0.8964, allocations: 1.019 MB / 1.393 GB, free: 7.633 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.8964, allocations: 0 / 1.393 GB, free: 7.633 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.8964, allocations: 4 kB / 1.393 GB, free: 7.629 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.8964, allocations: 0 / 1.393 GB, free: 7.629 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.8976, allocations: 0.7171 MB / 1.394 GB, free: 6.879 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.8976, allocations: 0 / 1.394 GB, free: 6.879 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.8977, allocations: 15.97 kB / 1.394 GB, free: 6.863 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.8977, allocations: 0 / 1.394 GB, free: 6.863 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.8977, allocations: 7.969 kB / 1.394 GB, free: 6.855 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.135e-06/0.8977, allocations: 8 kB / 1.394 GB, free: 6.848 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.8977, allocations: 0 / 1.394 GB, free: 6.848 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001958/0.8996, allocations: 1.085 MB / 1.395 GB, free: 5.738 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002724/0.8999, allocations: 154.7 kB / 1.395 GB, free: 5.586 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/0.9001, allocations: 3.938 kB / 1.395 GB, free: 5.582 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00032/0.9004, allocations: 7.984 kB / 1.395 GB, free: 5.574 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.9004, allocations: 4 kB / 1.395 GB, free: 5.57 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.377e-05/0.9005, allocations: 23.97 kB / 1.395 GB, free: 5.547 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.002483/0.903, allocations: 1.298 MB / 1.397 GB, free: 4.234 MB / 1.073 GB Notification: Performance of sort global known variables: time 1.1e-07/0.903, allocations: 0 / 1.397 GB, free: 4.234 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.00226/0.9052, allocations: 0.6391 MB / 1.397 GB, free: 3.594 MB / 1.073 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.002586/0.9078, allocations: 0.6975 MB / 1.398 GB, free: 2.906 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.004654/0.9125, allocations: 2.806 MB / 1.401 GB, free: 88 kB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.9125, allocations: 3.938 kB / 1.401 GB, free: 84 kB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.0006018/0.9131, allocations: 339.7 kB / 1.401 GB, free: 15.75 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006392/0.9137, allocations: 57.98 kB / 1.401 GB, free: 15.69 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004555/0.9183, allocations: 2.954 MB / 1.404 GB, free: 12.7 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008572/0.9191, allocations: 0.6433 MB / 1.405 GB, free: 12.02 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0001451/0.9193, allocations: 44.31 kB / 1.405 GB, free: 11.98 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.9194, allocations: 27.42 kB / 1.405 GB, free: 11.95 MB / 1.089 GB Notification: Performance of SimCode: time 5.11e-07/0.9194, allocations: 4 kB / 1.405 GB, free: 11.95 MB / 1.089 GB Notification: Performance of Templates: time 0.03056/0.9499, allocations: 16.22 MB / 1.421 GB, free: 11.85 MB / 1.104 GB " [Timeout remaining time 299] 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: 46.77958598174155]