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.0009239/0.000923, allocations: 89.61 kB / 16.67 MB, free: 6.594 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.001093/0.001093, allocations: 185.1 kB / 17.58 MB, free: 6.188 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.449/1.449, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7365/0.7365, allocations: 115.5 MB / 408.2 MB, free: 7.109 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.0003611, allocations: 12 kB / 496.6 MB, free: 15.62 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.47/0.4704, allocations: 77.51 MB / 0.5606 GB, free: 35.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001629/0.4721, allocations: 1.143 MB / 0.5617 GB, free: 34.76 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006974/0.4791, allocations: 4.383 MB / 0.566 GB, free: 31.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.48e-05/0.4793, allocations: 8.969 kB / 0.566 GB, free: 31.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.4794, allocations: 7.797 kB / 0.566 GB, free: 31.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002729/0.4797, allocations: 30.77 kB / 0.5661 GB, free: 31.86 MB / 446.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.004707/0.4844, allocations: 1.172 MB / 0.5672 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002358/0.4847, allocations: 122 kB / 0.5673 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.954e-05/0.4847, allocations: 4.578 kB / 0.5673 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.623e-05/0.4848, allocations: 52.48 kB / 0.5674 GB, free: 31.33 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003786/0.4852, allocations: 228.6 kB / 0.5676 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.559e-05/0.4853, allocations: 14.34 kB / 0.5676 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005445/0.4907, allocations: 2.185 MB / 0.5697 GB, free: 30.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009876/0.4917, allocations: 0.7524 MB / 0.5705 GB, free: 30.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005143/0.4923, allocations: 0.524 MB / 0.571 GB, free: 30.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004652/0.4969, allocations: 1.783 MB / 0.5727 GB, free: 29.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.497, allocations: 1.844 kB / 0.5727 GB, free: 29.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.497, allocations: 0 / 0.5727 GB, free: 29.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.346e-05/0.497, allocations: 0 / 0.5727 GB, free: 29.7 MB / 446.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.01268/0.5097, allocations: 1.851 MB / 0.5745 GB, free: 28.4 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.5097, allocations: 13.56 kB / 0.5745 GB, free: 28.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005118/0.5103, allocations: 164.4 kB / 0.5747 GB, free: 28.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000666/0.5109, allocations: 0.578 MB / 0.5753 GB, free: 27.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.511, allocations: 6.344 kB / 0.5753 GB, free: 27.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.148e-05/0.511, allocations: 10.62 kB / 0.5753 GB, free: 27.83 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005441/0.5116, allocations: 395.9 kB / 0.5757 GB, free: 27.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.5116, allocations: 0 / 0.5757 GB, free: 27.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.5116, allocations: 2.406 kB / 0.5757 GB, free: 27.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.5116, allocations: 0.9688 kB / 0.5757 GB, free: 27.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005581/0.5122, allocations: 437.5 kB / 0.5761 GB, free: 27.76 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.5136, allocations: 0.9247 MB / 0.577 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006868/0.5143, allocations: 0.5613 MB / 0.5775 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004339/0.5148, allocations: 339.3 kB / 0.5779 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001018/0.5158, allocations: 1.032 MB / 0.5789 GB, free: 26.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000528/0.5163, allocations: 410.3 kB / 0.5793 GB, free: 25.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.873e-06/0.5163, allocations: 1.344 kB / 0.5793 GB, free: 25.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001956/0.5183, allocations: 1.369 MB / 0.5806 GB, free: 25.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.5184, allocations: 85.23 kB / 0.5807 GB, free: 25.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003129/0.5215, allocations: 2.219 MB / 0.5828 GB, free: 24.94 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.726e-05/0.5216, allocations: 28.64 kB / 0.5829 GB, free: 24.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004577/0.5221, allocations: 0.5278 MB / 0.5834 GB, free: 24.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.388e-05/0.5221, allocations: 21.75 kB / 0.5834 GB, free: 24.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004842/0.5226, allocations: 391.4 kB / 0.5838 GB, free: 24.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.327e-05/0.5227, allocations: 301.8 kB / 0.5841 GB, free: 24.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00234/0.525, allocations: 2.063 MB / 0.5861 GB, free: 23.47 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002219/0.5273, allocations: 2.234 MB / 0.5883 GB, free: 22.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006772/0.534, allocations: 4.682 MB / 0.5928 GB, free: 17.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.084e-06/0.5341, allocations: 0 / 0.5928 GB, free: 17.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.005121/0.5392, allocations: 6.239 MB / 0.5989 GB, free: 11.37 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.5392, allocations: 4 kB / 0.5989 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.201e-05/0.5393, allocations: 4 kB / 0.5989 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.5393, allocations: 0.875 kB / 0.5989 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.5394, allocations: 17.05 kB / 0.599 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.5395, allocations: 4 kB / 0.599 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.5405, allocations: 301.1 kB / 0.5992 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.097e-05/0.5405, allocations: 23.98 kB / 0.5993 GB, free: 11.02 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 (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.0007396/0.5413, allocations: 471.8 kB / 0.5997 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.159e-05/0.5414, allocations: 145.6 kB / 0.5999 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003391/0.5417, allocations: 145.6 kB / 0.6 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.5417, allocations: 2.781 kB / 0.6 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.5418, allocations: 7.984 kB / 0.6 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.5418, allocations: 0 / 0.6 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007771/0.5425, allocations: 0.7672 MB / 0.6008 GB, free: 9.441 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.5426, allocations: 0 / 0.6008 GB, free: 9.441 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.581e-05/0.5426, allocations: 19.92 kB / 0.6008 GB, free: 9.422 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.5426, allocations: 0 / 0.6008 GB, free: 9.422 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.5427, allocations: 5.438 kB / 0.6008 GB, free: 9.418 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.5427, allocations: 0 / 0.6008 GB, free: 9.418 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.5427, allocations: 0 / 0.6008 GB, free: 9.418 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007147/0.5434, allocations: 1.082 MB / 0.6018 GB, free: 8.312 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.5435, allocations: 222.6 kB / 0.602 GB, free: 8.074 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-05/0.5436, allocations: 0.9688 kB / 0.6021 GB, free: 8.074 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.5439, allocations: 11.45 kB / 0.6021 GB, free: 8.066 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.5439, allocations: 7.938 kB / 0.6021 GB, free: 8.059 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.812e-05/0.544, allocations: 15.97 kB / 0.6021 GB, free: 8.043 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00122/0.5452, allocations: 1.302 MB / 0.6034 GB, free: 6.727 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5452, allocations: 0 / 0.6034 GB, free: 6.727 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002632/0.5478, allocations: 0.6287 MB / 0.604 GB, free: 6.098 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 (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.00215/0.55, allocations: 0.6932 MB / 0.6046 GB, free: 5.426 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002394/0.5524, allocations: 3.556 MB / 0.6081 GB, free: 1.855 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5524, allocations: 0 / 0.6081 GB, free: 1.855 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002427/0.5527, allocations: 335.8 kB / 0.6084 GB, free: 1.527 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006493/0.5533, allocations: 60.72 kB / 0.6085 GB, free: 1.465 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004193/0.5575, allocations: 3.334 MB / 0.6118 GB, free: 14.09 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008983/0.5584, allocations: 1.239 MB / 0.613 GB, free: 12.83 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.5586, allocations: 27.41 kB / 0.613 GB, free: 12.8 MB / 462.1 MB Notification: Performance of SimCode: time 7.32e-07/0.5586, allocations: 0 / 0.613 GB, free: 12.8 MB / 462.1 MB Notification: Performance of Templates: time 0.03878/0.5974, allocations: 19.71 MB / 0.6322 GB, free: 9.098 MB / 478.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)