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.001025/0.001025, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 175.7 kB / 16.57 MB, free: 6.398 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.411/1.411, allocations: 223.2 MB / 240.5 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6949/0.6949, allocations: 113.8 MB / 405.4 MB, free: 4.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00038/0.0003801, allocations: 17.84 kB / 493.1 MB, free: 8.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1504, allocations: 77.15 MB / 0.5569 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.00143/0.1519, allocations: 1.109 MB / 0.558 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006121/0.158, allocations: 3.834 MB / 0.5617 GB, free: 6.605 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.981e-05/0.1581, allocations: 0 / 0.5617 GB, free: 6.605 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001325/0.1583, allocations: 7.938 kB / 0.5617 GB, free: 6.598 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002067/0.1585, allocations: 31.89 kB / 0.5618 GB, free: 6.566 MB / 430.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‘. Notification: Performance of NFTyping.typeClassSections: time 0.003723/0.1622, allocations: 1.083 MB / 0.5628 GB, free: 5.488 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.1624, allocations: 55.91 kB / 0.5629 GB, free: 5.434 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.687e-05/0.1624, allocations: 3.938 kB / 0.5629 GB, free: 5.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.899e-05/0.1625, allocations: 47.83 kB / 0.5629 GB, free: 5.383 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.1627, allocations: 151.7 kB / 0.5631 GB, free: 5.234 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.72e-05/0.1628, allocations: 12 kB / 0.5631 GB, free: 5.223 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003318/0.1661, allocations: 1.861 MB / 0.5649 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006262/0.1668, allocations: 0.6703 MB / 0.5655 GB, free: 2.688 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000179/0.1669, allocations: 200.8 kB / 0.5657 GB, free: 2.484 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002354/0.1693, allocations: 1.68 MB / 0.5674 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1693, allocations: 0 / 0.5674 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1693, allocations: 0 / 0.5674 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.1693, allocations: 0 / 0.5674 GB, free: 0.8008 MB / 430.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.01039/0.1797, allocations: 1.875 MB / 0.5692 GB, free: 14.87 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.1798, allocations: 12.02 kB / 0.5692 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004395/0.1803, allocations: 165.6 kB / 0.5694 GB, free: 14.69 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006693/0.1809, allocations: 0.5301 MB / 0.5699 GB, free: 14.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.181, allocations: 0 / 0.5699 GB, free: 14.1 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.116e-05/0.181, allocations: 11.98 kB / 0.5699 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004387/0.1815, allocations: 399 kB / 0.5703 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.1815, allocations: 0 / 0.5703 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.1815, allocations: 7.984 kB / 0.5703 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1815, allocations: 3.938 kB / 0.5703 GB, free: 13.67 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004458/0.182, allocations: 431.7 kB / 0.5707 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000943/0.1829, allocations: 0.9375 MB / 0.5716 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005603/0.1835, allocations: 0.5595 MB / 0.5722 GB, free: 11.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001128/0.1846, allocations: 1.036 MB / 0.5732 GB, free: 10.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004002/0.185, allocations: 408.8 kB / 0.5736 GB, free: 10 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.185, allocations: 0 / 0.5736 GB, free: 10 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001391/0.1864, allocations: 1.362 MB / 0.5749 GB, free: 8.629 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.1865, allocations: 85.03 kB / 0.575 GB, free: 8.527 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002285/0.1888, allocations: 2.212 MB / 0.5771 GB, free: 6.285 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.076e-05/0.1889, allocations: 29.7 kB / 0.5772 GB, free: 6.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000389/0.1893, allocations: 0.5251 MB / 0.5777 GB, free: 5.719 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.1893, allocations: 19.75 kB / 0.5777 GB, free: 5.699 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.297e-05/0.1893, allocations: 4 kB / 0.5777 GB, free: 5.695 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.1895, allocations: 445 kB / 0.5781 GB, free: 5.254 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001676/0.1912, allocations: 2.053 MB / 0.5801 GB, free: 3.199 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001804/0.193, allocations: 2.238 MB / 0.5823 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2803/0.4733, allocations: 2.975 MB / 0.5852 GB, free: 30.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/0.4734, allocations: 0 / 0.5852 GB, free: 30.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.006877/0.4803, allocations: 6.209 MB / 0.5913 GB, free: 28.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.4803, allocations: 6.203 kB / 0.5913 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.046e-05/0.4804, allocations: 7.094 kB / 0.5913 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.4804, allocations: 1.062 kB / 0.5913 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.4805, allocations: 18.05 kB / 0.5913 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.4806, allocations: 3.578 kB / 0.5913 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006442/0.4812, allocations: 298.8 kB / 0.5916 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.599e-05/0.4813, allocations: 26.14 kB / 0.5916 GB, free: 28.11 MB / 446.1 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 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2,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]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006924/0.482, allocations: 476.4 kB / 0.5921 GB, free: 27.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.4821, allocations: 143.8 kB / 0.5922 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003496/0.4824, allocations: 144.8 kB / 0.5924 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.4824, allocations: 5.406 kB / 0.5924 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4825, allocations: 0 / 0.5924 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.4825, allocations: 1.453 kB / 0.5924 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007964/0.4833, allocations: 0.7768 MB / 0.5931 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4833, allocations: 0.5625 kB / 0.5931 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.261e-05/0.4834, allocations: 9.406 kB / 0.5931 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.4834, allocations: 0 / 0.5931 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.4834, allocations: 6.734 kB / 0.5931 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.4834, allocations: 2.719 kB / 0.5931 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.4834, allocations: 1.797 kB / 0.5931 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.4846, allocations: 1.1 MB / 0.5942 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001727/0.4848, allocations: 220.1 kB / 0.5944 GB, free: 27.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.4849, allocations: 6.641 kB / 0.5944 GB, free: 27.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.4851, allocations: 6.281 kB / 0.5944 GB, free: 27.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.4852, allocations: 6.328 kB / 0.5945 GB, free: 27.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.53e-05/0.4853, allocations: 14.69 kB / 0.5945 GB, free: 27.01 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001854/0.4871, allocations: 1.302 MB / 0.5957 GB, free: 26.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4871, allocations: 0 / 0.5957 GB, free: 26.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001954/0.4891, allocations: 0.6241 MB / 0.5963 GB, free: 26.6 MB / 446.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001774/0.4909, allocations: 0.6777 MB / 0.597 GB, free: 26.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003377/0.4943, allocations: 3.553 MB / 0.6005 GB, free: 25.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.4943, allocations: 2.812 kB / 0.6005 GB, free: 25.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004359/0.4947, allocations: 338.7 kB / 0.6008 GB, free: 25.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/0.4952, allocations: 54.52 kB / 0.6009 GB, free: 25.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003785/0.499, allocations: 3.075 MB / 0.6039 GB, free: 23.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008992/0.4999, allocations: 1.264 MB / 0.6051 GB, free: 23.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002367/0.5001, allocations: 39.83 kB / 0.6051 GB, free: 23.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.5002, allocations: 24.2 kB / 0.6052 GB, free: 23.19 MB / 446.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5002, allocations: 0 / 0.6052 GB, free: 23.19 MB / 446.1 MB Notification: Performance of Templates: time 0.02417/0.5244, allocations: 13.83 MB / 0.6187 GB, free: 14.63 MB / 446.1 MB 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)