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.001292/0.001292, allocations: 92.22 kB / 20.43 MB, free: 4.141 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.001419/0.001419, allocations: 165 kB / 23.8 MB, free: 0.7695 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.8975/0.8975, allocations: 177.1 MB / 204.2 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.6069/0.6069, allocations: 115 MB / 375.7 MB, free: 7.664 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.784e-06/1.784e-06, allocations: 0 / 481.6 MB, free: 11.79 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.418e-05/1.596e-05, allocations: 3.375 kB / 481.6 MB, free: 11.78 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001425/0.001441, allocations: 1.46 MB / 483.1 MB, free: 10.82 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004011/0.005452, allocations: 4.048 MB / 487.1 MB, free: 8.387 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.096e-05/0.005493, allocations: 5.562 kB / 487.1 MB, free: 8.383 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.005608, allocations: 12.97 kB / 487.1 MB, free: 8.379 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001915/0.0058, allocations: 33.19 kB / 487.2 MB, free: 8.359 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.002511/0.00831, allocations: 1.624 MB / 488.8 MB, free: 7.75 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.008451, allocations: 96.28 kB / 488.9 MB, free: 7.719 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.226e-05/0.008493, allocations: 2.562 kB / 488.9 MB, free: 7.719 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.811e-05/0.008582, allocations: 60.56 kB / 488.9 MB, free: 7.699 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.008771, allocations: 158.5 kB / 489.1 MB, free: 7.672 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.529e-05/0.008807, allocations: 13.75 kB / 489.1 MB, free: 7.672 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002654/0.01146, allocations: 2.471 MB / 491.6 MB, free: 7.023 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005602/0.01202, allocations: 0.7857 MB / 492.4 MB, free: 6.781 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002612/0.01228, allocations: 263.5 kB / 492.6 MB, free: 6.695 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003233/0.01552, allocations: 2.853 MB / 495.5 MB, free: 5.832 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.01552, allocations: 0 / 495.5 MB, free: 5.832 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.01552, allocations: 0 / 495.5 MB, free: 5.832 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.165e-05/0.01555, allocations: 1.297 kB / 495.5 MB, free: 5.832 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.005479/0.02103, allocations: 2.141 MB / 497.6 MB, free: 4.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.02107, allocations: 10.62 kB / 497.6 MB, free: 4.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003418/0.02141, allocations: 171.8 kB / 497.8 MB, free: 4.234 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003999/0.02181, allocations: 0.5181 MB / 498.3 MB, free: 3.844 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.02182, allocations: 8.047 kB / 498.3 MB, free: 3.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.87e-05/0.02185, allocations: 11 kB / 498.3 MB, free: 3.836 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003502/0.0222, allocations: 373.3 kB / 498.7 MB, free: 3.758 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.02221, allocations: 1.125 kB / 498.7 MB, free: 3.758 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.02222, allocations: 0.7031 kB / 498.7 MB, free: 3.758 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.02223, allocations: 3.969 kB / 498.7 MB, free: 3.758 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002872/0.02252, allocations: 388.1 kB / 499.1 MB, free: 3.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007702/0.02329, allocations: 1.021 MB / 0.4884 GB, free: 3.184 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004055/0.02369, allocations: 0.5173 MB / 0.4889 GB, free: 3.109 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002366/0.02393, allocations: 300.5 kB / 0.4892 GB, free: 3.086 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003927/0.02432, allocations: 142.5 kB / 0.4893 GB, free: 3.074 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002605/0.02458, allocations: 383.7 kB / 0.4897 GB, free: 2.914 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/0.02458, allocations: 0.7188 kB / 0.4897 GB, free: 2.914 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008547/0.02544, allocations: 1.245 MB / 0.4909 GB, free: 1.836 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.02547, allocations: 82.53 kB / 0.491 GB, free: 1.738 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/0.02685, allocations: 2.12 MB / 0.493 GB, free: 15.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/0.02688, allocations: 29.7 kB / 0.4931 GB, free: 15.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003941/0.02728, allocations: 0.6521 MB / 0.4937 GB, free: 15.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.369e-05/0.02731, allocations: 26.09 kB / 0.4937 GB, free: 15.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000386/0.0277, allocations: 0.5162 MB / 0.4942 GB, free: 14.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.919e-05/0.02779, allocations: 477.4 kB / 0.4947 GB, free: 14.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005363/0.02833, allocations: 0.8297 MB / 0.4955 GB, free: 13.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006578/0.02899, allocations: 1.048 MB / 0.4965 GB, free: 12.55 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002122/0.03111, allocations: 3.215 MB / 0.4997 GB, free: 9.445 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.03111, allocations: 0 / 0.4997 GB, free: 9.445 MB / 426.7 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.003969/0.03508, allocations: 6.283 MB / 0.5058 GB, free: 3.129 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.0351, allocations: 7.938 kB / 0.5058 GB, free: 3.121 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.03511, allocations: 4 kB / 0.5058 GB, free: 3.117 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.03513, allocations: 3.125 kB / 0.5058 GB, free: 3.117 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.03523, allocations: 19.98 kB / 0.5058 GB, free: 3.098 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.03524, allocations: 7.938 kB / 0.5058 GB, free: 3.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003599/0.0356, allocations: 300.6 kB / 0.5061 GB, free: 2.793 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.818e-05/0.03564, allocations: 27.98 kB / 0.5062 GB, free: 2.766 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.0002074/0.03584, allocations: 227.5 kB / 0.5064 GB, free: 2.539 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.699e-05/0.03593, allocations: 162.6 kB / 0.5065 GB, free: 2.379 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006147/0.03655, allocations: 0.9032 MB / 0.5074 GB, free: 1.473 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.03655, allocations: 3.938 kB / 0.5074 GB, free: 1.469 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.03655, allocations: 0 / 0.5074 GB, free: 1.469 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.03656, allocations: 0 / 0.5074 GB, free: 1.469 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006193/0.03718, allocations: 0.8499 MB / 0.5082 GB, free: 0.582 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.03718, allocations: 0 / 0.5082 GB, free: 0.582 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.774e-05/0.03722, allocations: 4.719 kB / 0.5083 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.03722, allocations: 5.203 kB / 0.5083 GB, free: 0.5742 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.03723, allocations: 7.938 kB / 0.5083 GB, free: 0.5664 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.03723, allocations: 0 / 0.5083 GB, free: 0.5664 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.03723, allocations: 0.9375 kB / 0.5083 GB, free: 0.5664 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005799/0.03781, allocations: 1.017 MB / 0.5093 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.999e-05/0.03791, allocations: 155.6 kB / 0.5094 GB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.926e-05/0.03797, allocations: 3.938 kB / 0.5094 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.03808, allocations: 8.516 kB / 0.5094 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.03811, allocations: 7.984 kB / 0.5094 GB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/0.03813, allocations: 18.44 kB / 0.5094 GB, free: 15.33 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007294/0.03886, allocations: 0.9971 MB / 0.5104 GB, free: 14.32 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03886, allocations: 0 / 0.5104 GB, free: 14.32 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001664/0.04053, allocations: 0.6314 MB / 0.511 GB, free: 13.69 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.00148/0.04201, allocations: 0.7956 MB / 0.5118 GB, free: 12.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001151/0.04316, allocations: 1.729 MB / 0.5135 GB, free: 11.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.04316, allocations: 0 / 0.5135 GB, free: 11.18 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001893/0.04335, allocations: 313.9 kB / 0.5138 GB, free: 10.87 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.04367, allocations: 59.73 kB / 0.5139 GB, free: 10.81 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.04586, allocations: 2.558 MB / 0.5164 GB, free: 8.219 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/0.04605, allocations: 297.7 kB / 0.5166 GB, free: 7.906 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.609e-05/0.04612, allocations: 28.47 kB / 0.5167 GB, free: 7.879 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.265e-05/0.0462, allocations: 28.48 kB / 0.5167 GB, free: 7.852 MB / 442.7 MB Notification: Performance of SimCode: time 7.01e-07/0.0462, allocations: 3.938 kB / 0.5167 GB, free: 7.848 MB / 442.7 MB Notification: Performance of Templates: time 0.02039/0.06659, allocations: 16.64 MB / 0.5329 GB, free: 7.332 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: 21.813612383790314]