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.001479/0.001479, allocations: 118.8 kB / 17.09 MB, free: 5.996 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.001513/0.001513, allocations: 189.8 kB / 18.01 MB, free: 5.082 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.406/1.406, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7356/0.7356, allocations: 115.3 MB / 407.2 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 63.2 kB / 0.5584 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1749, allocations: 76.19 MB / 0.6328 GB, free: 4.367 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.003174/0.1781, allocations: 1.411 MB / 0.6342 GB, free: 2.945 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006926/0.1851, allocations: 4.199 MB / 0.6383 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.1852, allocations: 0 / 0.6383 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.1854, allocations: 15.86 kB / 0.6383 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002827/0.1857, allocations: 31.78 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.004813/0.1905, allocations: 1.496 MB / 0.6398 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002066/0.1908, allocations: 95.78 kB / 0.6399 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.471e-05/0.1908, allocations: 11.94 kB / 0.6399 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.471e-05/0.1909, allocations: 43.83 kB / 0.6399 GB, free: 13.03 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002451/0.1912, allocations: 169.6 kB / 0.6401 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.677e-05/0.1912, allocations: 12 kB / 0.6401 GB, free: 12.85 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003912/0.1951, allocations: 2.207 MB / 0.6423 GB, free: 10.64 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007635/0.1959, allocations: 0.7575 MB / 0.643 GB, free: 9.875 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004495/0.1964, allocations: 0.5002 MB / 0.6435 GB, free: 9.371 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004819/0.2012, allocations: 2.544 MB / 0.646 GB, free: 6.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.2013, allocations: 3.938 kB / 0.646 GB, free: 6.816 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.2013, allocations: 4 kB / 0.646 GB, free: 6.812 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.977e-05/0.2013, allocations: 0 / 0.646 GB, free: 6.812 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.0116/0.2129, allocations: 1.964 MB / 0.6479 GB, free: 4.789 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.019e-05/0.213, allocations: 12.03 kB / 0.6479 GB, free: 4.777 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006943/0.2137, allocations: 162.5 kB / 0.6481 GB, free: 4.617 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008022/0.2145, allocations: 0.5696 MB / 0.6486 GB, free: 3.984 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.2146, allocations: 4.375 kB / 0.6486 GB, free: 3.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.353e-05/0.2146, allocations: 12.38 kB / 0.6486 GB, free: 3.969 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005292/0.2152, allocations: 395.4 kB / 0.649 GB, free: 3.57 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.2152, allocations: 0 / 0.649 GB, free: 3.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.2152, allocations: 3.984 kB / 0.649 GB, free: 3.566 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.2152, allocations: 0 / 0.649 GB, free: 3.566 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004565/0.2157, allocations: 439.7 kB / 0.6494 GB, free: 3.137 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.2168, allocations: 0.9297 MB / 0.6503 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000634/0.2175, allocations: 0.5712 MB / 0.6509 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003772/0.2179, allocations: 341.6 kB / 0.6512 GB, free: 1.219 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001361/0.2192, allocations: 1.025 MB / 0.6522 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005053/0.2197, allocations: 400.8 kB / 0.6526 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 2.114e-06/0.2198, allocations: 4 kB / 0.6526 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001733/0.2215, allocations: 1.362 MB / 0.6539 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.126e-05/0.2216, allocations: 85.09 kB / 0.654 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002587/0.2242, allocations: 2.224 MB / 0.6562 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.667e-05/0.2243, allocations: 29.7 kB / 0.6562 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005058/0.2248, allocations: 0.5291 MB / 0.6567 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.796e-05/0.2248, allocations: 19.72 kB / 0.6568 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004901/0.2253, allocations: 451.4 kB / 0.6572 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002017/0.2255, allocations: 301.1 kB / 0.6575 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002095/0.2276, allocations: 2.061 MB / 0.6595 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002266/0.2299, allocations: 2.232 MB / 0.6617 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008088/0.238, allocations: 4.689 MB / 0.6663 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.2381, allocations: 0 / 0.6663 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.007715/0.2458, allocations: 6.235 MB / 0.6723 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.2458, allocations: 4 kB / 0.6723 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.527e-05/0.2459, allocations: 12.02 kB / 0.6724 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.434e-05/0.2459, allocations: 0 / 0.6724 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.2461, allocations: 12 kB / 0.6724 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.2461, allocations: 0 / 0.6724 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008097/0.2469, allocations: 303.1 kB / 0.6727 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.569e-05/0.247, allocations: 27.97 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.0007412/0.2477, allocations: 470.7 kB / 0.6731 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.2479, allocations: 145.6 kB / 0.6733 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003817/0.2482, allocations: 151.9 kB / 0.6734 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.2483, allocations: 4 kB / 0.6734 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.2483, allocations: 3.938 kB / 0.6734 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.2483, allocations: 0 / 0.6734 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007687/0.2491, allocations: 0.7711 MB / 0.6742 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2491, allocations: 4.031 kB / 0.6742 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.245e-05/0.2492, allocations: 7.938 kB / 0.6742 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.2492, allocations: 0 / 0.6742 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.2492, allocations: 7.984 kB / 0.6742 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.2492, allocations: 3.938 kB / 0.6742 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2492, allocations: 0 / 0.6742 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.2503, allocations: 1.08 MB / 0.6753 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002009/0.2505, allocations: 226.6 kB / 0.6755 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.2506, allocations: 4 kB / 0.6755 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.2508, allocations: 0 / 0.6755 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.416e-05/0.2509, allocations: 7.984 kB / 0.6755 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.797e-05/0.2509, allocations: 15.98 kB / 0.6755 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001574/0.2525, allocations: 1.309 MB / 0.6768 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.81e-07/0.2525, allocations: 4 kB / 0.6768 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001883/0.2544, allocations: 0.617 MB / 0.6774 GB, free: 5.734 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.002015/0.2564, allocations: 0.6889 MB / 0.6781 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003471/0.2599, allocations: 3.552 MB / 0.6815 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.2599, allocations: 4.062 kB / 0.6815 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003673/0.2603, allocations: 335.8 kB / 0.6819 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005975/0.2609, allocations: 67.34 kB / 0.6819 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00376/0.2647, allocations: 2.963 MB / 0.6848 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008502/0.2656, allocations: 1.235 MB / 0.686 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.2657, allocations: 23.42 kB / 0.686 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of SimCode: time 1.223e-06/0.2657, allocations: 4 kB / 0.686 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of Templates: time 0.03454/0.3003, allocations: 19.83 MB / 0.7054 GB, free: 8.957 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)