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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,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=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 116.9 kB / 17.08 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 197.8 kB / 18.02 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7042/0.7042, allocations: 115.3 MB / 407.2 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 69.66 kB / 0.5584 GB, free: 32.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1413, allocations: 76.18 MB / 0.6328 GB, free: 4.379 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002295/0.1436, allocations: 1.425 MB / 0.6342 GB, free: 2.945 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005807/0.1495, allocations: 4.198 MB / 0.6383 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.543e-05/0.1496, allocations: 0 / 0.6383 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.1497, allocations: 15.86 kB / 0.6383 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000244/0.15, allocations: 31.83 kB / 0.6383 GB, free: 14.68 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.003714/0.1537, allocations: 1.503 MB / 0.6398 GB, free: 13.17 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.1539, allocations: 99.72 kB / 0.6399 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.451e-05/0.1539, allocations: 4 kB / 0.6399 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.298e-05/0.154, allocations: 47.83 kB / 0.6399 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.1543, allocations: 169.5 kB / 0.6401 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.525e-05/0.1543, allocations: 12 kB / 0.6401 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002958/0.1573, allocations: 2.2 MB / 0.6423 GB, free: 10.64 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006683/0.1579, allocations: 0.7536 MB / 0.643 GB, free: 9.883 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000358/0.1583, allocations: 0.5041 MB / 0.6435 GB, free: 9.375 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002832/0.1612, allocations: 2.544 MB / 0.646 GB, free: 6.824 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1612, allocations: 0 / 0.646 GB, free: 6.824 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1612, allocations: 0 / 0.646 GB, free: 6.824 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.621e-05/0.1612, allocations: 0 / 0.646 GB, free: 6.824 MB / 494.1 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.01114/0.1724, allocations: 1.964 MB / 0.6479 GB, free: 4.801 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.1724, allocations: 12.03 kB / 0.6479 GB, free: 4.789 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004438/0.1729, allocations: 174.4 kB / 0.6481 GB, free: 4.617 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005932/0.1735, allocations: 0.5696 MB / 0.6486 GB, free: 3.984 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.1735, allocations: 384 / 0.6486 GB, free: 3.984 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.883e-05/0.1735, allocations: 16.36 kB / 0.6486 GB, free: 3.969 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004293/0.174, allocations: 387.5 kB / 0.649 GB, free: 3.578 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.954e-06/0.174, allocations: 0 / 0.649 GB, free: 3.578 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.174, allocations: 0 / 0.649 GB, free: 3.578 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.174, allocations: 4 kB / 0.649 GB, free: 3.574 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004018/0.1744, allocations: 439.7 kB / 0.6494 GB, free: 3.145 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007653/0.1752, allocations: 0.9297 MB / 0.6504 GB, free: 2.156 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004681/0.1757, allocations: 0.5712 MB / 0.6509 GB, free: 1.566 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002864/0.176, allocations: 333.6 kB / 0.6512 GB, free: 1.234 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001035/0.177, allocations: 1.025 MB / 0.6522 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003872/0.1774, allocations: 404.8 kB / 0.6526 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.1774, allocations: 0 / 0.6526 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001341/0.1788, allocations: 1.366 MB / 0.6539 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.1788, allocations: 81.11 kB / 0.654 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00222/0.1811, allocations: 2.228 MB / 0.6562 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.743e-05/0.1811, allocations: 29.7 kB / 0.6562 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004032/0.1815, allocations: 0.5212 MB / 0.6567 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.913e-05/0.1816, allocations: 23.66 kB / 0.6568 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000436/0.182, allocations: 455.4 kB / 0.6572 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.662e-05/0.1821, allocations: 301.1 kB / 0.6575 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001646/0.1838, allocations: 2.061 MB / 0.6595 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001707/0.1855, allocations: 2.24 MB / 0.6617 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007574/0.1931, allocations: 4.678 MB / 0.6662 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.1931, allocations: 0 / 0.6662 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.006236/0.1994, allocations: 6.243 MB / 0.6723 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.1994, allocations: 4 kB / 0.6723 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.261e-05/0.1995, allocations: 4 kB / 0.6724 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.1995, allocations: 0 / 0.6724 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.1996, allocations: 15.98 kB / 0.6724 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.1997, allocations: 4.25 kB / 0.6724 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006289/0.2003, allocations: 311.1 kB / 0.6727 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.366e-05/0.2004, allocations: 23.98 kB / 0.6727 GB, free: 10.68 MB / 0.5137 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.0005779/0.2009, allocations: 470.8 kB / 0.6731 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.2011, allocations: 141.6 kB / 0.6733 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004023/0.2015, allocations: 151.9 kB / 0.6734 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.2015, allocations: 4 kB / 0.6734 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.2015, allocations: 4.031 kB / 0.6734 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.2016, allocations: 0 / 0.6734 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007588/0.2023, allocations: 0.7711 MB / 0.6742 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.2023, allocations: 0 / 0.6742 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.439e-05/0.2024, allocations: 11.92 kB / 0.6742 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.2024, allocations: 4 kB / 0.6742 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.2024, allocations: 0 / 0.6742 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.2024, allocations: 3.984 kB / 0.6742 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.2025, allocations: 3.984 kB / 0.6742 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009149/0.2034, allocations: 1.08 MB / 0.6753 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002346/0.2036, allocations: 222.6 kB / 0.6755 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.2037, allocations: 11.92 kB / 0.6755 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/0.204, allocations: 0 / 0.6755 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.204, allocations: 7.984 kB / 0.6755 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.615e-05/0.204, allocations: 15.98 kB / 0.6755 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001439/0.2055, allocations: 1.305 MB / 0.6768 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2055, allocations: 0 / 0.6768 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001581/0.2071, allocations: 0.6209 MB / 0.6774 GB, free: 5.742 MB / 0.5137 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.002242/0.2093, allocations: 0.691 MB / 0.6781 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00309/0.2124, allocations: 3.552 MB / 0.6815 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.2125, allocations: 0 / 0.6815 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003232/0.2128, allocations: 339.8 kB / 0.6819 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005616/0.2134, allocations: 67.34 kB / 0.6819 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003565/0.2169, allocations: 2.958 MB / 0.6848 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007924/0.2177, allocations: 1.243 MB / 0.686 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.2179, allocations: 23.42 kB / 0.686 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of SimCode: time 9.12e-07/0.2179, allocations: 0 / 0.686 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.03226/0.2502, allocations: 20.08 MB / 0.7056 GB, free: 8.715 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)