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.001035/0.001035, allocations: 93.19 kB / 16.02 MB, free: 84 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.0009439/0.000944, allocations: 173.9 kB / 16.92 MB, free: 6.684 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.358/1.358, allocations: 223.3 MB / 241 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6983/0.6983, allocations: 115.4 MB / 407.4 MB, free: 2.797 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003197/0.0003198, allocations: 12.66 kB / 495.8 MB, free: 6.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1471, allocations: 77.51 MB / 0.5598 GB, free: 9.133 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001551/0.1487, allocations: 1.148 MB / 0.561 GB, free: 7.969 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006647/0.1553, allocations: 4.385 MB / 0.5652 GB, free: 3.562 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.239e-05/0.1554, allocations: 0 / 0.5652 GB, free: 3.562 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.1556, allocations: 7.922 kB / 0.5652 GB, free: 3.555 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002111/0.1558, allocations: 23.84 kB / 0.5653 GB, free: 3.531 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.003287/0.1591, allocations: 1.181 MB / 0.5664 GB, free: 2.352 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.1592, allocations: 119.7 kB / 0.5665 GB, free: 2.234 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.963e-05/0.1593, allocations: 15.92 kB / 0.5665 GB, free: 2.219 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.179e-05/0.1594, allocations: 39.8 kB / 0.5666 GB, free: 2.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003019/0.1597, allocations: 232.9 kB / 0.5668 GB, free: 1.953 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.413e-05/0.1597, allocations: 16 kB / 0.5668 GB, free: 1.938 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003627/0.1634, allocations: 2.188 MB / 0.569 GB, free: 15.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007765/0.1642, allocations: 0.7419 MB / 0.5697 GB, free: 15 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005524/0.1647, allocations: 0.5253 MB / 0.5702 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004608/0.1694, allocations: 2.579 MB / 0.5727 GB, free: 11.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.1694, allocations: 4 kB / 0.5727 GB, free: 11.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1694, allocations: 0 / 0.5727 GB, free: 11.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.1694, allocations: 0 / 0.5727 GB, free: 11.88 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.01237/0.1818, allocations: 1.856 MB / 0.5745 GB, free: 9.961 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.1819, allocations: 8.031 kB / 0.5745 GB, free: 9.953 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004702/0.1823, allocations: 166.5 kB / 0.5747 GB, free: 9.789 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006123/0.183, allocations: 0.5618 MB / 0.5752 GB, free: 9.164 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.183, allocations: 12.31 kB / 0.5753 GB, free: 9.152 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.448e-05/0.183, allocations: 4.375 kB / 0.5753 GB, free: 9.148 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000465/0.1835, allocations: 399.4 kB / 0.5756 GB, free: 8.746 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.1835, allocations: 4 kB / 0.5756 GB, free: 8.742 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.1836, allocations: 4 kB / 0.5757 GB, free: 8.738 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1836, allocations: 0 / 0.5757 GB, free: 8.738 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004774/0.1841, allocations: 435.7 kB / 0.5761 GB, free: 8.312 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.1851, allocations: 0.9258 MB / 0.577 GB, free: 7.328 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005791/0.1857, allocations: 0.5672 MB / 0.5775 GB, free: 6.742 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003113/0.186, allocations: 333.7 kB / 0.5778 GB, free: 6.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001153/0.1872, allocations: 1.032 MB / 0.5789 GB, free: 5.156 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004572/0.1876, allocations: 420.8 kB / 0.5793 GB, free: 4.727 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.863e-06/0.1877, allocations: 0 / 0.5793 GB, free: 4.727 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.00147/0.1891, allocations: 1.366 MB / 0.5806 GB, free: 3.352 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.1892, allocations: 81.09 kB / 0.5807 GB, free: 3.254 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002153/0.1914, allocations: 2.216 MB / 0.5828 GB, free: 1.008 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.61e-05/0.1914, allocations: 33.69 kB / 0.5829 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003834/0.1918, allocations: 0.525 MB / 0.5834 GB, free: 448 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.1919, allocations: 19.73 kB / 0.5834 GB, free: 428 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002773/0.1921, allocations: 383.4 kB / 0.5838 GB, free: 36 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.2575/0.4496, allocations: 301.8 kB / 0.584 GB, free: 29.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002286/0.4519, allocations: 2.055 MB / 0.5861 GB, free: 29.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002172/0.4541, allocations: 2.233 MB / 0.5882 GB, free: 29.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008462/0.4626, allocations: 4.684 MB / 0.5928 GB, free: 26.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.4627, allocations: 0 / 0.5928 GB, free: 26.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.006646/0.4693, allocations: 6.237 MB / 0.5989 GB, free: 23.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.4694, allocations: 7.906 kB / 0.5989 GB, free: 23.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.4694, allocations: 1.828 kB / 0.5989 GB, free: 23.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.4694, allocations: 5.812 kB / 0.5989 GB, free: 23.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.4696, allocations: 18.23 kB / 0.5989 GB, free: 23.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.4696, allocations: 1.781 kB / 0.5989 GB, free: 23.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006535/0.4703, allocations: 295.7 kB / 0.5992 GB, free: 23.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.025e-05/0.4703, allocations: 28.75 kB / 0.5992 GB, free: 23.71 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.0007406/0.4711, allocations: 471 kB / 0.5997 GB, free: 23.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.4712, allocations: 142.4 kB / 0.5998 GB, free: 23.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003948/0.4716, allocations: 153.3 kB / 0.6 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.4716, allocations: 2.781 kB / 0.6 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.4716, allocations: 5.969 kB / 0.6 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.4717, allocations: 0.5156 kB / 0.6 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007293/0.4724, allocations: 0.7693 MB / 0.6007 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.4724, allocations: 1 kB / 0.6007 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.584e-05/0.4725, allocations: 14.95 kB / 0.6007 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.4725, allocations: 0.9688 kB / 0.6007 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.4725, allocations: 6.844 kB / 0.6008 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.4725, allocations: 4.969 kB / 0.6008 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.4725, allocations: 8.234 kB / 0.6008 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.4736, allocations: 1.073 MB / 0.6018 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.4737, allocations: 220.3 kB / 0.602 GB, free: 22.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.4738, allocations: 2.203 kB / 0.602 GB, free: 22.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.4741, allocations: 9.531 kB / 0.602 GB, free: 22.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.4741, allocations: 10.55 kB / 0.602 GB, free: 22.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.133e-05/0.4742, allocations: 19.98 kB / 0.6021 GB, free: 22.63 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001598/0.4758, allocations: 1.301 MB / 0.6033 GB, free: 22.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4758, allocations: 0 / 0.6033 GB, free: 22.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001677/0.4775, allocations: 0.6367 MB / 0.604 GB, free: 22.23 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.002226/0.4797, allocations: 0.6871 MB / 0.6046 GB, free: 22.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003604/0.4833, allocations: 3.561 MB / 0.6081 GB, free: 20.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.4833, allocations: 0 / 0.6081 GB, free: 20.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002965/0.4837, allocations: 345.7 kB / 0.6084 GB, free: 20.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007034/0.4844, allocations: 58.06 kB / 0.6085 GB, free: 20.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003553/0.4879, allocations: 3.26 MB / 0.6117 GB, free: 19.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007307/0.4887, allocations: 1.236 MB / 0.6129 GB, free: 18.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001992/0.4889, allocations: 31.55 kB / 0.6129 GB, free: 18.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.489, allocations: 24.78 kB / 0.6129 GB, free: 18.59 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.489, allocations: 0 / 0.6129 GB, free: 18.59 MB / 446.1 MB Notification: Performance of Templates: time 0.02315/0.5122, allocations: 14.05 MB / 0.6267 GB, free: 5.641 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)