Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001143/0.001143, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001448/0.001448, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.931/0.931, allocations: 143.3 MB / 434.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002827/0.0002827, allocations: 12 kB / 0.5159 GB, free: 11.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1584, allocations: 83.4 MB / 0.5973 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001429/0.1598, allocations: 1.119 MB / 0.5984 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005587/0.1655, allocations: 3.848 MB / 0.6022 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.581e-05/0.1655, allocations: 3.938 kB / 0.6022 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.1657, allocations: 11.92 kB / 0.6022 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001757/0.1658, allocations: 31.83 kB / 0.6022 GB, free: 2.742 MB / 0.4981 GB [/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.00303/0.1689, allocations: 1.08 MB / 0.6033 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.169, allocations: 55.86 kB / 0.6033 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.381e-05/0.169, allocations: 4 kB / 0.6033 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.589e-05/0.1691, allocations: 43.89 kB / 0.6034 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.1693, allocations: 151.7 kB / 0.6035 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.539e-05/0.1694, allocations: 12 kB / 0.6035 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2694/0.4387, allocations: 1.858 MB / 0.6053 GB, free: 35.67 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005518/0.4393, allocations: 0.6622 MB / 0.606 GB, free: 35.67 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000153/0.4395, allocations: 203.9 kB / 0.6062 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002403/0.4419, allocations: 1.684 MB / 0.6078 GB, free: 35.44 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.4419, allocations: 0 / 0.6078 GB, free: 35.44 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4419, allocations: 0 / 0.6078 GB, free: 35.44 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.339e-05/0.442, allocations: 0 / 0.6078 GB, free: 35.44 MB / 0.4981 GB 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.01085/0.4528, allocations: 1.877 MB / 0.6097 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.4529, allocations: 10.25 kB / 0.6097 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004816/0.4534, allocations: 165.9 kB / 0.6098 GB, free: 34.17 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006121/0.454, allocations: 0.5337 MB / 0.6103 GB, free: 33.8 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.454, allocations: 6.125 kB / 0.6104 GB, free: 33.8 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.964e-05/0.4541, allocations: 12.06 kB / 0.6104 GB, free: 33.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004315/0.4545, allocations: 387.6 kB / 0.6107 GB, free: 33.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.4545, allocations: 0 / 0.6107 GB, free: 33.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.4545, allocations: 3.094 kB / 0.6107 GB, free: 33.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.4546, allocations: 2.531 kB / 0.6107 GB, free: 33.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004203/0.455, allocations: 439.7 kB / 0.6112 GB, free: 33.75 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008059/0.4558, allocations: 0.933 MB / 0.6121 GB, free: 33.4 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000431/0.4562, allocations: 0.5581 MB / 0.6126 GB, free: 33.36 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008172/0.4571, allocations: 1.043 MB / 0.6136 GB, free: 32.22 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003257/0.4574, allocations: 404.7 kB / 0.614 GB, free: 32.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.4574, allocations: 0 / 0.614 GB, free: 32.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001173/0.4586, allocations: 1.364 MB / 0.6154 GB, free: 32.03 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.4587, allocations: 79.55 kB / 0.6154 GB, free: 31.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001845/0.4605, allocations: 2.214 MB / 0.6176 GB, free: 31.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.884e-05/0.4606, allocations: 32.05 kB / 0.6176 GB, free: 31.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003073/0.4609, allocations: 0.5201 MB / 0.6181 GB, free: 31.42 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.4609, allocations: 16.34 kB / 0.6181 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-05/0.4609, allocations: 8.625 kB / 0.6182 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.461, allocations: 446 kB / 0.6186 GB, free: 31.1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/0.4625, allocations: 2.06 MB / 0.6206 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001515/0.464, allocations: 2.228 MB / 0.6228 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001816/0.4659, allocations: 2.986 MB / 0.6257 GB, free: 30.15 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.4659, allocations: 3.953 kB / 0.6257 GB, free: 30.15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.005871/0.4718, allocations: 6.221 MB / 0.6318 GB, free: 28.11 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.4718, allocations: 5.344 kB / 0.6318 GB, free: 28.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/0.4718, allocations: 2.688 kB / 0.6318 GB, free: 28.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/0.4719, allocations: 4.469 kB / 0.6318 GB, free: 28.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.472, allocations: 11.59 kB / 0.6318 GB, free: 28.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.472, allocations: 4.562 kB / 0.6318 GB, free: 28.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008042/0.4729, allocations: 299.1 kB / 0.6321 GB, free: 27.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.658e-05/0.4729, allocations: 27.28 kB / 0.6321 GB, free: 27.86 MB / 0.4981 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 ($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.0008163/0.4737, allocations: 464.8 kB / 0.6325 GB, free: 27.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.4739, allocations: 147.6 kB / 0.6327 GB, free: 27.62 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004012/0.4743, allocations: 146.7 kB / 0.6328 GB, free: 27.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.4743, allocations: 1.625 kB / 0.6328 GB, free: 27.54 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.4743, allocations: 0.9688 kB / 0.6328 GB, free: 27.54 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.4744, allocations: 3.969 kB / 0.6328 GB, free: 27.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008716/0.4752, allocations: 0.7717 MB / 0.6336 GB, free: 27.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.4753, allocations: 3.938 kB / 0.6336 GB, free: 27.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.92e-05/0.4753, allocations: 10.03 kB / 0.6336 GB, free: 27.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.4753, allocations: 0.6562 kB / 0.6336 GB, free: 27.17 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.4754, allocations: 16.94 kB / 0.6336 GB, free: 27.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.4754, allocations: 1.969 kB / 0.6336 GB, free: 27.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4754, allocations: 0 / 0.6336 GB, free: 27.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.4766, allocations: 1.088 MB / 0.6347 GB, free: 26.94 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001959/0.4768, allocations: 223.2 kB / 0.6349 GB, free: 26.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.4769, allocations: 4.078 kB / 0.6349 GB, free: 26.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.4771, allocations: 7.438 kB / 0.6349 GB, free: 26.74 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/0.4772, allocations: 9.828 kB / 0.6349 GB, free: 26.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.071e-05/0.4772, allocations: 13.88 kB / 0.6349 GB, free: 26.74 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001657/0.4789, allocations: 1.293 MB / 0.6362 GB, free: 26.37 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4789, allocations: 0 / 0.6362 GB, free: 26.37 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002356/0.4813, allocations: 0.623 MB / 0.6368 GB, free: 26.27 MB / 0.4981 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 (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.001905/0.4832, allocations: 0.6814 MB / 0.6375 GB, free: 26.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003901/0.4871, allocations: 3.56 MB / 0.6409 GB, free: 24.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.4871, allocations: 0 / 0.6409 GB, free: 24.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003992/0.4875, allocations: 342.8 kB / 0.6413 GB, free: 24.72 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004954/0.488, allocations: 62.03 kB / 0.6413 GB, free: 24.67 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003716/0.4918, allocations: 3.069 MB / 0.6443 GB, free: 23.51 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006683/0.4925, allocations: 1.266 MB / 0.6456 GB, free: 22.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001882/0.4927, allocations: 34.75 kB / 0.6456 GB, free: 22.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.854e-05/0.4928, allocations: 26.47 kB / 0.6456 GB, free: 22.79 MB / 0.4981 GB Notification: Performance of SimCode: time 8.12e-07/0.4928, allocations: 0 / 0.6456 GB, free: 22.79 MB / 0.4981 GB Notification: Performance of Templates: time 0.02995/0.5227, allocations: 13.96 MB / 0.6593 GB, free: 21.88 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1) Environment - environmentSimulation: