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.006905/0.006905, allocations: 99.95 kB / 15.73 MB, free: 6.059 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.001657/0.001657, allocations: 188.7 kB / 16.67 MB, free: 5.973 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.8764/0.8764, allocations: 143 MB / 433.6 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 59.97 kB / 0.5956 GB, free: 12.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1595, allocations: 82.03 MB / 0.6757 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.00232/0.1618, allocations: 1.431 MB / 0.6771 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005936/0.1678, allocations: 4.211 MB / 0.6812 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.289e-05/0.1679, allocations: 7.938 kB / 0.6812 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.168, allocations: 19.86 kB / 0.6812 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.1682, allocations: 23.84 kB / 0.6813 GB, free: 4.59 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.003378/0.1716, allocations: 1.496 MB / 0.6827 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.1718, allocations: 99.67 kB / 0.6828 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.237e-05/0.1718, allocations: 7.984 kB / 0.6828 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.312e-05/0.1719, allocations: 43.84 kB / 0.6829 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/0.1721, allocations: 151.6 kB / 0.683 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.305e-05/0.1722, allocations: 16 kB / 0.683 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00294/0.1751, allocations: 2.2 MB / 0.6852 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001989/0.1753, allocations: 271.8 kB / 0.6854 GB, free: 320 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002191/0.1756, allocations: 274.3 kB / 0.6857 GB, free: 44 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002464/0.178, allocations: 2.118 MB / 0.6878 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1781, allocations: 4 kB / 0.6878 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.452e-06/0.1781, allocations: 0 / 0.6878 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.1781, allocations: 0 / 0.6878 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.01007/0.1882, allocations: 1.347 MB / 0.6891 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.1882, allocations: 12.03 kB / 0.6891 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003668/0.1886, allocations: 92.25 kB / 0.6892 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003565/0.189, allocations: 369 kB / 0.6895 GB, free: 12 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.189, allocations: 384 / 0.6895 GB, free: 12 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.693e-05/0.189, allocations: 4.375 kB / 0.6895 GB, free: 12 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004049/0.1894, allocations: 395.5 kB / 0.6899 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.1894, allocations: 0 / 0.6899 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.1895, allocations: 4 kB / 0.6899 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1895, allocations: 4 kB / 0.6899 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004118/0.1899, allocations: 439.7 kB / 0.6903 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005332/0.1904, allocations: 0.6449 MB / 0.691 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004817/0.1909, allocations: 0.5634 MB / 0.6915 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003309/0.1913, allocations: 337.5 kB / 0.6918 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009812/0.1923, allocations: 1.028 MB / 0.6929 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003879/0.1927, allocations: 408.8 kB / 0.6932 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.1927, allocations: 4 kB / 0.6932 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001255/0.1939, allocations: 1.289 MB / 0.6945 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.194, allocations: 85.09 kB / 0.6946 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.1951, allocations: 1.223 MB / 0.6958 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.761e-05/0.1951, allocations: 29.69 kB / 0.6958 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.1953, allocations: 269.9 kB / 0.6961 GB, free: 4.934 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.1954, allocations: 23.84 kB / 0.6961 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003125/0.1957, allocations: 351.6 kB / 0.6964 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.016e-05/0.1958, allocations: 309.9 kB / 0.6967 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/0.1969, allocations: 1.373 MB / 0.6981 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001254/0.1982, allocations: 1.505 MB / 0.6995 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007065/0.2053, allocations: 3.557 MB / 0.703 GB, free: 13.71 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.2053, allocations: 0 / 0.703 GB, free: 13.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004166/0.2095, allocations: 4.011 MB / 0.7069 GB, free: 9.668 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.2095, allocations: 8 kB / 0.7069 GB, free: 9.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.2096, allocations: 0 / 0.7069 GB, free: 9.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.2096, allocations: 4 kB / 0.7069 GB, free: 9.656 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.2097, allocations: 15.98 kB / 0.7069 GB, free: 9.641 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.2097, allocations: 0 / 0.7069 GB, free: 9.641 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004836/0.2102, allocations: 245.3 kB / 0.7072 GB, free: 9.398 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-05/0.2103, allocations: 27.92 kB / 0.7072 GB, free: 9.371 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.00028/0.2106, allocations: 241.7 kB / 0.7074 GB, free: 9.125 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.569e-05/0.2106, allocations: 71.28 kB / 0.7075 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/0.2109, allocations: 79.02 kB / 0.7076 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2109, allocations: 3.938 kB / 0.7076 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.2109, allocations: 0 / 0.7076 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.2109, allocations: 7.984 kB / 0.7076 GB, free: 8.953 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004116/0.2114, allocations: 0.4891 MB / 0.7081 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2114, allocations: 8.031 kB / 0.7081 GB, free: 8.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.645e-05/0.2114, allocations: 7.938 kB / 0.7081 GB, free: 8.402 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.2114, allocations: 7.984 kB / 0.7081 GB, free: 8.395 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.2115, allocations: 0 / 0.7081 GB, free: 8.395 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2115, allocations: 0 / 0.7081 GB, free: 8.395 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.2115, allocations: 4 kB / 0.7081 GB, free: 8.391 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008499/0.2123, allocations: 1.002 MB / 0.7091 GB, free: 7.367 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.958e-05/0.2124, allocations: 160.4 kB / 0.7092 GB, free: 7.191 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.605e-05/0.2125, allocations: 0 / 0.7092 GB, free: 7.191 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.2126, allocations: 4 kB / 0.7092 GB, free: 7.188 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.2127, allocations: 15.92 kB / 0.7092 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-05/0.2127, allocations: 7.984 kB / 0.7093 GB, free: 7.164 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006952/0.2134, allocations: 0.6728 MB / 0.7099 GB, free: 6.484 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2135, allocations: 8 kB / 0.7099 GB, free: 6.477 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001443/0.2149, allocations: 0.5806 MB / 0.7105 GB, free: 5.895 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.001765/0.2167, allocations: 0.6966 MB / 0.7112 GB, free: 5.207 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002351/0.219, allocations: 2.552 MB / 0.7137 GB, free: 2.641 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2191, allocations: 4.062 kB / 0.7137 GB, free: 2.637 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004622/0.2195, allocations: 343.7 kB / 0.714 GB, free: 2.301 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.2199, allocations: 44.67 kB / 0.714 GB, free: 2.254 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.222, allocations: 1.77 MB / 0.7158 GB, free: 460 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006283/0.2227, allocations: 0.9601 MB / 0.7167 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000147/0.2228, allocations: 40.48 kB / 0.7167 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.2229, allocations: 27.42 kB / 0.7168 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.133e-06/0.2229, allocations: 0 / 0.7168 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.02238/0.2453, allocations: 13.68 MB / 0.7301 GB, free: 1.758 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)