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_1borehole_5meters.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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 105.6 kB / 16.41 MB, free: 6.512 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.001383/0.001383, allocations: 187 kB / 17.34 MB, free: 5.742 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.262/1.262, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8193/0.8193, allocations: 143.1 MB / 434.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 57.97 kB / 0.5963 GB, free: 12.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1481, allocations: 82.03 MB / 0.6764 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.003483/0.1516, allocations: 1.43 MB / 0.6778 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008539/0.1602, allocations: 4.207 MB / 0.6819 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.793e-05/0.1603, allocations: 0 / 0.6819 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001359/0.1604, allocations: 23.86 kB / 0.6819 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002701/0.1607, allocations: 35.77 kB / 0.6819 GB, free: 4.574 MB / 0.5137 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/IBPSA/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.0054/0.1662, allocations: 1.492 MB / 0.6834 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.1664, allocations: 95.73 kB / 0.6835 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.637e-05/0.1665, allocations: 7.938 kB / 0.6835 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.241e-05/0.1666, allocations: 47.83 kB / 0.6835 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002743/0.1669, allocations: 147.6 kB / 0.6837 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.718e-05/0.1669, allocations: 16 kB / 0.6837 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004532/0.1715, allocations: 2.2 MB / 0.6858 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000282/0.1718, allocations: 275.8 kB / 0.6861 GB, free: 308 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003198/0.1721, allocations: 270.3 kB / 0.6864 GB, free: 36 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003695/0.1758, allocations: 2.123 MB / 0.6884 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1759, allocations: 0 / 0.6884 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1759, allocations: 0 / 0.6884 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.754e-06/0.1759, allocations: 0 / 0.6884 GB, free: 13.91 MB / 0.5294 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.01137/0.1872, allocations: 1.296 MB / 0.6897 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.1873, allocations: 8.031 kB / 0.6897 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003876/0.1877, allocations: 87.69 kB / 0.6898 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003923/0.1881, allocations: 369 kB / 0.6902 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.1881, allocations: 4.359 kB / 0.6902 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.39e-05/0.1882, allocations: 16.36 kB / 0.6902 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000405/0.1886, allocations: 391.4 kB / 0.6905 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.1886, allocations: 0 / 0.6905 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.1886, allocations: 0 / 0.6905 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1886, allocations: 3.984 kB / 0.6905 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003946/0.189, allocations: 435.8 kB / 0.691 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005484/0.1896, allocations: 0.6404 MB / 0.6916 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004811/0.1901, allocations: 0.5671 MB / 0.6921 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003117/0.1904, allocations: 337.7 kB / 0.6925 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001006/0.1914, allocations: 1.028 MB / 0.6935 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003788/0.1918, allocations: 412.8 kB / 0.6939 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.1918, allocations: 0 / 0.6939 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001246/0.1931, allocations: 1.285 MB / 0.6951 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.1931, allocations: 85.11 kB / 0.6952 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.1942, allocations: 1.214 MB / 0.6964 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.183e-05/0.1943, allocations: 37.83 kB / 0.6964 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.1944, allocations: 253.4 kB / 0.6967 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.043e-05/0.1945, allocations: 23.78 kB / 0.6967 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003062/0.1948, allocations: 351.6 kB / 0.697 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.924e-05/0.1949, allocations: 310 kB / 0.6973 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/0.196, allocations: 1.377 MB / 0.6987 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/0.1973, allocations: 1.501 MB / 0.7001 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006955/0.2042, allocations: 3.557 MB / 0.7036 GB, free: 13.79 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.2043, allocations: 0 / 0.7036 GB, free: 13.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003873/0.2081, allocations: 4.006 MB / 0.7075 GB, free: 9.742 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.2082, allocations: 12.03 kB / 0.7075 GB, free: 9.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.2082, allocations: 3.984 kB / 0.7075 GB, free: 9.727 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.2082, allocations: 4 kB / 0.7075 GB, free: 9.723 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.2083, allocations: 12 kB / 0.7075 GB, free: 9.711 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.2084, allocations: 4.062 kB / 0.7075 GB, free: 9.707 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004245/0.2088, allocations: 236.2 kB / 0.7078 GB, free: 9.473 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-05/0.2089, allocations: 23.98 kB / 0.7078 GB, free: 9.449 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 (cluSiz[1],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.0002618/0.2091, allocations: 245.6 kB / 0.708 GB, free: 9.199 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.203e-05/0.2092, allocations: 66.72 kB / 0.7081 GB, free: 9.133 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002425/0.2094, allocations: 75.06 kB / 0.7082 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.2094, allocations: 3.938 kB / 0.7082 GB, free: 9.043 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2094, allocations: 0 / 0.7082 GB, free: 9.043 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2095, allocations: 4 kB / 0.7082 GB, free: 9.039 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003747/0.2098, allocations: 0.4891 MB / 0.7086 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.2098, allocations: 0 / 0.7086 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.192e-05/0.2099, allocations: 19.95 kB / 0.7087 GB, free: 8.488 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2099, allocations: 0 / 0.7087 GB, free: 8.488 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.2099, allocations: 4 kB / 0.7087 GB, free: 8.484 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.21, allocations: 7.938 kB / 0.7087 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.21, allocations: 0 / 0.7087 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008116/0.2108, allocations: 0.9936 MB / 0.7096 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.598e-05/0.2109, allocations: 155.8 kB / 0.7098 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.234e-05/0.2109, allocations: 3.938 kB / 0.7098 GB, free: 7.285 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.2111, allocations: 7.984 kB / 0.7098 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/0.2111, allocations: 8 kB / 0.7098 GB, free: 7.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.144e-05/0.2112, allocations: 15.97 kB / 0.7098 GB, free: 7.254 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006233/0.2118, allocations: 0.6689 MB / 0.7105 GB, free: 6.578 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2118, allocations: 0 / 0.7105 GB, free: 6.578 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00142/0.2132, allocations: 0.5779 MB / 0.7111 GB, free: 6 MB / 0.545 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.001504/0.2147, allocations: 0.685 MB / 0.7117 GB, free: 5.324 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002032/0.2168, allocations: 2.552 MB / 0.7142 GB, free: 2.758 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2168, allocations: 0 / 0.7142 GB, free: 2.758 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002873/0.2171, allocations: 343.8 kB / 0.7145 GB, free: 2.422 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.2174, allocations: 44.53 kB / 0.7146 GB, free: 2.375 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.2192, allocations: 1.796 MB / 0.7163 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004669/0.2197, allocations: 0.9601 MB / 0.7173 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.443e-05/0.2198, allocations: 27.41 kB / 0.7173 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.2198, allocations: 0 / 0.7173 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of Templates: time 0.01885/0.2387, allocations: 14 MB / 0.731 GB, free: 1.535 MB / 0.5606 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)