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.001083/0.001083, allocations: 92.11 kB / 20.43 MB, free: 4.145 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.001421/0.001421, allocations: 165.3 kB / 23.8 MB, free: 0.7734 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.9927/0.9927, allocations: 177.1 MB / 204.2 MB, free: 5.586 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.6112/0.6112, allocations: 115 MB / 375.7 MB, free: 7.648 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.092e-06/1.092e-06, allocations: 0 / 481.6 MB, free: 11.87 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.508e-06/1.06e-05, allocations: 4.984 kB / 481.6 MB, free: 11.87 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001592/0.001603, allocations: 1.461 MB / 483.1 MB, free: 10.9 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004295/0.005898, allocations: 4.042 MB / 487.1 MB, free: 8.477 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.585e-05/0.005934, allocations: 5.375 kB / 487.1 MB, free: 8.473 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.879e-05/0.006022, allocations: 10.52 kB / 487.1 MB, free: 8.469 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.006196, allocations: 30.75 kB / 487.1 MB, free: 8.453 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.002262/0.008458, allocations: 1.626 MB / 488.8 MB, free: 7.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.608e-05/0.008554, allocations: 94.62 kB / 488.9 MB, free: 7.809 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.903e-05/0.008583, allocations: 2.844 kB / 488.9 MB, free: 7.809 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.375e-05/0.008647, allocations: 62.44 kB / 488.9 MB, free: 7.789 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.008809, allocations: 154.3 kB / 489.1 MB, free: 7.762 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.213e-05/0.008841, allocations: 14 kB / 489.1 MB, free: 7.762 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002374/0.01122, allocations: 2.417 MB / 491.5 MB, free: 7.125 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005479/0.01176, allocations: 0.7855 MB / 492.3 MB, free: 6.879 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002207/0.01198, allocations: 266.8 kB / 492.6 MB, free: 6.793 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002746/0.01473, allocations: 2.852 MB / 495.4 MB, free: 5.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.01473, allocations: 1.938 kB / 495.4 MB, free: 5.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.01473, allocations: 0 / 495.4 MB, free: 5.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.659e-05/0.01475, allocations: 0.9688 kB / 495.4 MB, free: 5.93 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.004945/0.01969, allocations: 2.136 MB / 497.5 MB, free: 4.441 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.01973, allocations: 10.91 kB / 497.6 MB, free: 4.441 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003089/0.02004, allocations: 171.1 kB / 497.7 MB, free: 4.336 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00043/0.02047, allocations: 0.5227 MB / 498.3 MB, free: 3.941 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.02048, allocations: 7.719 kB / 498.3 MB, free: 3.938 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.02051, allocations: 6.969 kB / 498.3 MB, free: 3.938 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003571/0.02087, allocations: 377.5 kB / 498.6 MB, free: 3.855 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.02088, allocations: 0.9688 kB / 498.6 MB, free: 3.855 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.02089, allocations: 1.906 kB / 498.6 MB, free: 3.855 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.0209, allocations: 0 / 498.6 MB, free: 3.855 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003297/0.02123, allocations: 387.9 kB / 499 MB, free: 3.852 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000756/0.02198, allocations: 1.024 MB / 0.4883 GB, free: 3.281 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004278/0.02241, allocations: 0.517 MB / 0.4888 GB, free: 3.207 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002457/0.02266, allocations: 301.5 kB / 0.4891 GB, free: 3.184 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003749/0.02303, allocations: 140.5 kB / 0.4892 GB, free: 3.172 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003204/0.02335, allocations: 380 kB / 0.4896 GB, free: 3.012 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.02335, allocations: 4 kB / 0.4896 GB, free: 3.008 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009248/0.02428, allocations: 1.241 MB / 0.4908 GB, free: 1.934 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.0243, allocations: 82.7 kB / 0.4909 GB, free: 1.836 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/0.02563, allocations: 2.114 MB / 0.493 GB, free: 12 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.745e-05/0.02568, allocations: 38.98 kB / 0.493 GB, free: 15.97 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004074/0.02608, allocations: 0.6525 MB / 0.4936 GB, free: 15.37 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.02612, allocations: 23.09 kB / 0.4937 GB, free: 15.35 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004088/0.02653, allocations: 0.5113 MB / 0.4942 GB, free: 14.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.02664, allocations: 485.5 kB / 0.4946 GB, free: 14.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005691/0.02721, allocations: 0.8298 MB / 0.4954 GB, free: 13.63 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007005/0.02791, allocations: 1.048 MB / 0.4965 GB, free: 12.65 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002136/0.03004, allocations: 3.211 MB / 0.4996 GB, free: 9.543 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.03005, allocations: 0 / 0.4996 GB, free: 9.543 MB / 426.7 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.004051/0.0341, allocations: 6.285 MB / 0.5057 GB, free: 3.195 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.03411, allocations: 7.938 kB / 0.5057 GB, free: 3.188 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.03413, allocations: 4 kB / 0.5057 GB, free: 3.184 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.03414, allocations: 0 / 0.5057 GB, free: 3.184 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.03424, allocations: 27.98 kB / 0.5058 GB, free: 3.156 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.03425, allocations: 0 / 0.5058 GB, free: 3.156 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003458/0.03459, allocations: 311.6 kB / 0.5061 GB, free: 2.852 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.03463, allocations: 27.98 kB / 0.5061 GB, free: 2.824 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.0002008/0.03484, allocations: 229.4 kB / 0.5063 GB, free: 2.594 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.213e-05/0.03492, allocations: 163.3 kB / 0.5065 GB, free: 2.434 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006188/0.03554, allocations: 0.8967 MB / 0.5073 GB, free: 1.535 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.03554, allocations: 3.984 kB / 0.5073 GB, free: 1.531 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.03554, allocations: 0 / 0.5073 GB, free: 1.531 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.03555, allocations: 7.938 kB / 0.5074 GB, free: 1.523 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006085/0.03615, allocations: 0.8415 MB / 0.5082 GB, free: 0.6445 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.03616, allocations: 0 / 0.5082 GB, free: 0.6445 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.969e-05/0.0362, allocations: 17.02 kB / 0.5082 GB, free: 0.6289 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.0362, allocations: 0 / 0.5082 GB, free: 0.6289 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/0.03621, allocations: 3.938 kB / 0.5082 GB, free: 0.625 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.03621, allocations: 4.938 kB / 0.5082 GB, free: 0.6211 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.03621, allocations: 0 / 0.5082 GB, free: 0.6211 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005916/0.0368, allocations: 1.015 MB / 0.5092 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.747e-05/0.0369, allocations: 150.7 kB / 0.5093 GB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.459e-05/0.03696, allocations: 15.73 kB / 0.5094 GB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.724e-05/0.03705, allocations: 0 / 0.5094 GB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.03709, allocations: 8.891 kB / 0.5094 GB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.03711, allocations: 11.98 kB / 0.5094 GB, free: 15.39 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007158/0.03782, allocations: 0.9977 MB / 0.5103 GB, free: 14.38 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03782, allocations: 0 / 0.5103 GB, free: 14.38 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001458/0.03928, allocations: 0.6281 MB / 0.511 GB, free: 13.75 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.001351/0.04063, allocations: 0.8108 MB / 0.5118 GB, free: 12.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001157/0.04179, allocations: 1.724 MB / 0.5134 GB, free: 11.24 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.04179, allocations: 0 / 0.5134 GB, free: 11.24 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.04199, allocations: 319.4 kB / 0.5137 GB, free: 10.92 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.0423, allocations: 57.52 kB / 0.5138 GB, free: 10.86 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/0.04435, allocations: 2.55 MB / 0.5163 GB, free: 8.285 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.04455, allocations: 295.7 kB / 0.5166 GB, free: 7.977 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 8.02e-05/0.04463, allocations: 33.39 kB / 0.5166 GB, free: 7.945 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.37e-05/0.0447, allocations: 32.48 kB / 0.5166 GB, free: 7.914 MB / 442.7 MB Notification: Performance of SimCode: time 5.31e-07/0.0447, allocations: 3.938 kB / 0.5166 GB, free: 7.91 MB / 442.7 MB Notification: Performance of Templates: time 0.01781/0.06251, allocations: 14.81 MB / 0.5311 GB, free: 9.23 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: 27.069700543303043]