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.0008275/0.0008275, allocations: 81.95 kB / 21.44 MB, free: 3.051 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.0008664/0.0008664, allocations: 167.8 kB / 24.84 MB, free: 9.262 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.9091/0.9091, allocations: 177.1 MB / 205.3 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.6075/0.6075, allocations: 115 MB / 376.8 MB, free: 7.523 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 9.52e-07/9.52e-07, allocations: 0 / 482.8 MB, free: 11.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.966e-06/9.918e-06, allocations: 4.188 kB / 482.8 MB, free: 11.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001371/0.001381, allocations: 1.463 MB / 484.3 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003802/0.005182, allocations: 3.97 MB / 488.3 MB, free: 8.262 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.756e-05/0.00522, allocations: 5.344 kB / 488.3 MB, free: 8.258 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.264e-05/0.005312, allocations: 12.42 kB / 488.3 MB, free: 8.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001615/0.005474, allocations: 34.89 kB / 488.3 MB, free: 8.23 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.001952/0.007426, allocations: 1.624 MB / 490 MB, free: 7.629 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.099e-05/0.007517, allocations: 94.67 kB / 490 MB, free: 7.598 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.775e-05/0.007545, allocations: 7.859 kB / 490.1 MB, free: 7.598 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.309e-05/0.007608, allocations: 58.95 kB / 490.1 MB, free: 7.578 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.427e-05/0.007702, allocations: 67.14 kB / 490.2 MB, free: 7.562 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.007716, allocations: 3.781 kB / 490.2 MB, free: 7.562 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002111/0.009827, allocations: 2.431 MB / 492.6 MB, free: 6.914 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004807/0.01031, allocations: 0.7534 MB / 493.4 MB, free: 6.684 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001771/0.01049, allocations: 243.5 kB / 493.6 MB, free: 6.605 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002109/0.01259, allocations: 2.727 MB / 496.3 MB, free: 5.766 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.0126, allocations: 0 / 496.3 MB, free: 5.766 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.0126, allocations: 0.6875 kB / 496.3 MB, free: 5.766 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.01261, allocations: 0 / 496.3 MB, free: 5.766 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.0015/0.01411, allocations: 2.121 MB / 498.5 MB, free: 4.262 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.01414, allocations: 8.969 kB / 498.5 MB, free: 4.262 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002474/0.01439, allocations: 171.4 kB / 498.6 MB, free: 4.156 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003418/0.01473, allocations: 0.5207 MB / 499.1 MB, free: 3.758 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.01474, allocations: 3.953 kB / 499.2 MB, free: 3.758 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.01476, allocations: 9.969 kB / 499.2 MB, free: 3.754 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.01497, allocations: 238.7 kB / 499.4 MB, free: 3.672 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.01498, allocations: 0 / 499.4 MB, free: 3.672 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.01499, allocations: 2.203 kB / 499.4 MB, free: 3.672 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.01499, allocations: 1.812 kB / 499.4 MB, free: 3.672 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.01515, allocations: 194.8 kB / 499.6 MB, free: 3.672 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004654/0.01561, allocations: 0.7077 MB / 0.4886 GB, free: 3.246 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.01583, allocations: 299.6 kB / 0.4889 GB, free: 3.172 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.01596, allocations: 162.9 kB / 0.489 GB, free: 3.148 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003102/0.01627, allocations: 132.1 kB / 0.4891 GB, free: 3.137 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001963/0.01646, allocations: 240.1 kB / 0.4894 GB, free: 3.047 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.01646, allocations: 2.531 kB / 0.4894 GB, free: 3.047 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007284/0.01719, allocations: 0.8393 MB / 0.4902 GB, free: 2.887 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.01722, allocations: 80.48 kB / 0.4903 GB, free: 2.793 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.01853, allocations: 2.119 MB / 0.4923 GB, free: 1.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.01856, allocations: 30.31 kB / 0.4924 GB, free: 1.234 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002853/0.01884, allocations: 0.6738 MB / 0.493 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.01887, allocations: 25.86 kB / 0.493 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002931/0.01916, allocations: 0.5421 MB / 0.4936 GB, free: 120 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.01927, allocations: 477.5 kB / 0.494 GB, free: 15.65 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003671/0.01964, allocations: 0.5954 MB / 0.4946 GB, free: 15.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005202/0.02016, allocations: 0.8283 MB / 0.4954 GB, free: 14.29 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003837/0.02399, allocations: 3.274 MB / 0.4986 GB, free: 11.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.024, allocations: 0 / 0.4986 GB, free: 11.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.00384/0.02784, allocations: 5.823 MB / 0.5043 GB, free: 5.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.02785, allocations: 4.703 kB / 0.5043 GB, free: 5.496 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.02786, allocations: 7.938 kB / 0.5043 GB, free: 5.488 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.434e-06/0.02787, allocations: 1.781 kB / 0.5043 GB, free: 5.488 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.693e-05/0.02796, allocations: 19.28 kB / 0.5043 GB, free: 5.473 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.02796, allocations: 4.688 kB / 0.5043 GB, free: 5.469 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003378/0.0283, allocations: 309.7 kB / 0.5046 GB, free: 5.164 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/0.02833, allocations: 25.34 kB / 0.5047 GB, free: 5.145 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 (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.0002026/0.02853, allocations: 231.1 kB / 0.5049 GB, free: 4.926 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.812e-05/0.02861, allocations: 155.4 kB / 0.505 GB, free: 4.773 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004906/0.0291, allocations: 0.6278 MB / 0.5056 GB, free: 4.242 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.02911, allocations: 3.984 kB / 0.5056 GB, free: 4.238 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.02911, allocations: 4 kB / 0.5057 GB, free: 4.234 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.02911, allocations: 0.7969 kB / 0.5057 GB, free: 4.234 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004387/0.02955, allocations: 0.5781 MB / 0.5062 GB, free: 3.652 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.02955, allocations: 0 / 0.5062 GB, free: 3.652 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.356e-05/0.02959, allocations: 8 kB / 0.5062 GB, free: 3.645 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.02959, allocations: 0.9688 kB / 0.5062 GB, free: 3.645 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.0296, allocations: 7.984 kB / 0.5062 GB, free: 3.637 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.0296, allocations: 1.062 kB / 0.5062 GB, free: 3.637 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.0296, allocations: 3.938 kB / 0.5062 GB, free: 3.633 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004166/0.03002, allocations: 0.7366 MB / 0.507 GB, free: 2.863 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.943e-05/0.03012, allocations: 158.7 kB / 0.5071 GB, free: 2.707 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.656e-05/0.03017, allocations: 3.984 kB / 0.5071 GB, free: 2.703 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.03028, allocations: 7.594 kB / 0.5071 GB, free: 2.699 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.336e-05/0.0303, allocations: 7.922 kB / 0.5071 GB, free: 2.691 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.03032, allocations: 11.98 kB / 0.5071 GB, free: 2.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005719/0.03089, allocations: 0.9381 MB / 0.5081 GB, free: 1.727 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03089, allocations: 0 / 0.5081 GB, free: 1.727 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001306/0.0322, allocations: 0.6275 MB / 0.5087 GB, free: 1.098 MB / 426.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.001278/0.03348, allocations: 0.7952 MB / 0.5094 GB, free: 348 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001055/0.03453, allocations: 1.376 MB / 0.5108 GB, free: 14.94 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.03454, allocations: 0 / 0.5108 GB, free: 14.94 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.03464, allocations: 167.5 kB / 0.5109 GB, free: 14.77 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.03494, allocations: 60.95 kB / 0.511 GB, free: 14.71 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.03674, allocations: 2.423 MB / 0.5134 GB, free: 12.26 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.03691, allocations: 297.6 kB / 0.5137 GB, free: 11.95 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.844e-05/0.03699, allocations: 31.22 kB / 0.5137 GB, free: 11.92 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.03712, allocations: 96.73 kB / 0.5138 GB, free: 11.83 MB / 442.7 MB Notification: Performance of SimCode: time 6.71e-07/0.03712, allocations: 0 / 0.5138 GB, free: 11.83 MB / 442.7 MB Notification: Performance of Templates: time 0.01878/0.05589, allocations: 16.22 MB / 0.5296 GB, free: 11.73 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: 5.770409234799445]