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.004293/0.004293, allocations: 100.1 kB / 15.73 MB, free: 6.004 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.001071/0.001072, allocations: 191.5 kB / 16.67 MB, free: 5.926 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.273/1.273, allocations: 222.9 MB / 240.4 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.8297/0.8297, allocations: 143 MB / 433.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 64.31 kB / 0.5956 GB, free: 12.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1532, allocations: 82.04 MB / 0.6757 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002453/0.1556, allocations: 1.425 MB / 0.6771 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006292/0.162, allocations: 4.203 MB / 0.6812 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.623e-05/0.162, allocations: 0 / 0.6812 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.1622, allocations: 15.86 kB / 0.6812 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002358/0.1624, allocations: 39.77 kB / 0.6813 GB, free: 4.555 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.003908/0.1664, allocations: 1.503 MB / 0.6827 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.1665, allocations: 91.72 kB / 0.6828 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.108e-05/0.1666, allocations: 11.94 kB / 0.6828 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.427e-05/0.1666, allocations: 43.84 kB / 0.6829 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002114/0.1669, allocations: 143.6 kB / 0.683 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.963e-05/0.1669, allocations: 19.98 kB / 0.683 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003252/0.1702, allocations: 2.207 MB / 0.6852 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002261/0.1704, allocations: 267.8 kB / 0.6854 GB, free: 280 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002707/0.1707, allocations: 274.3 kB / 0.6857 GB, free: 4 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003206/0.1739, allocations: 2.112 MB / 0.6878 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1739, allocations: 0 / 0.6878 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1739, allocations: 0 / 0.6878 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.486e-05/0.174, allocations: 4 kB / 0.6878 GB, free: 13.88 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.01022/0.1842, allocations: 1.3 MB / 0.689 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.1842, allocations: 8.031 kB / 0.689 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003977/0.1846, allocations: 83.69 kB / 0.6891 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004126/0.1851, allocations: 365 kB / 0.6895 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.1851, allocations: 8.359 kB / 0.6895 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.388e-05/0.1851, allocations: 12.38 kB / 0.6895 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004097/0.1856, allocations: 391.4 kB / 0.6899 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.1856, allocations: 0 / 0.6899 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.1856, allocations: 3.984 kB / 0.6899 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1856, allocations: 0 / 0.6899 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004169/0.186, allocations: 431.8 kB / 0.6903 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005931/0.1866, allocations: 0.6443 MB / 0.6909 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005043/0.1872, allocations: 0.5672 MB / 0.6915 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002951/0.1875, allocations: 333.7 kB / 0.6918 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00105/0.1885, allocations: 1.032 MB / 0.6928 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003844/0.1889, allocations: 408.8 kB / 0.6932 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.1889, allocations: 0 / 0.6932 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001275/0.1902, allocations: 1.293 MB / 0.6944 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.1903, allocations: 85.09 kB / 0.6945 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.1915, allocations: 1.214 MB / 0.6957 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.331e-05/0.1915, allocations: 33.7 kB / 0.6957 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002151/0.1917, allocations: 257.4 kB / 0.696 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.574e-05/0.1918, allocations: 23.92 kB / 0.696 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000323/0.1921, allocations: 347.6 kB / 0.6963 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1923, allocations: 314 kB / 0.6966 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/0.1935, allocations: 1.373 MB / 0.698 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/0.1948, allocations: 1.501 MB / 0.6994 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006809/0.2016, allocations: 3.564 MB / 0.7029 GB, free: 13.76 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2016, allocations: 0 / 0.7029 GB, free: 13.76 MB / 0.545 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004323/0.206, allocations: 4.009 MB / 0.7068 GB, free: 9.715 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.206, allocations: 6.812 kB / 0.7068 GB, free: 9.711 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.393e-05/0.206, allocations: 7.984 kB / 0.7069 GB, free: 9.703 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.206, allocations: 0 / 0.7069 GB, free: 9.703 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.2062, allocations: 20.03 kB / 0.7069 GB, free: 9.684 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.351e-06/0.2062, allocations: 0 / 0.7069 GB, free: 9.684 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004674/0.2067, allocations: 244.2 kB / 0.7071 GB, free: 9.441 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-05/0.2067, allocations: 23.98 kB / 0.7071 GB, free: 9.418 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.0002981/0.207, allocations: 237.6 kB / 0.7074 GB, free: 9.176 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.15e-05/0.2071, allocations: 66.72 kB / 0.7074 GB, free: 9.109 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002694/0.2074, allocations: 79.06 kB / 0.7075 GB, free: 9.02 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.2074, allocations: 0 / 0.7075 GB, free: 9.02 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.964e-06/0.2074, allocations: 4 kB / 0.7075 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2074, allocations: 3.938 kB / 0.7075 GB, free: 9.012 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004399/0.2079, allocations: 496.9 kB / 0.708 GB, free: 8.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2079, allocations: 0 / 0.708 GB, free: 8.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.245e-05/0.2079, allocations: 15.92 kB / 0.708 GB, free: 8.465 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.208, allocations: 0 / 0.708 GB, free: 8.465 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.208, allocations: 8.031 kB / 0.708 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.208, allocations: 3.938 kB / 0.708 GB, free: 8.453 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.208, allocations: 0 / 0.708 GB, free: 8.453 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009493/0.2089, allocations: 0.9975 MB / 0.709 GB, free: 7.434 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.2091, allocations: 151.8 kB / 0.7091 GB, free: 7.266 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.458e-05/0.2091, allocations: 0 / 0.7091 GB, free: 7.266 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.2093, allocations: 15.98 kB / 0.7091 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.2093, allocations: 7.984 kB / 0.7091 GB, free: 7.242 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.77e-05/0.2094, allocations: 15.97 kB / 0.7092 GB, free: 7.227 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007181/0.2101, allocations: 0.6689 MB / 0.7098 GB, free: 6.551 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.01e-07/0.2101, allocations: 0 / 0.7098 GB, free: 6.551 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001392/0.2115, allocations: 0.5818 MB / 0.7104 GB, free: 5.969 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.00214/0.2137, allocations: 0.6923 MB / 0.7111 GB, free: 5.281 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002271/0.2159, allocations: 2.551 MB / 0.7135 GB, free: 2.719 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.216, allocations: 0 / 0.7135 GB, free: 2.719 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003379/0.2163, allocations: 331.8 kB / 0.7139 GB, free: 2.395 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.2166, allocations: 46.08 kB / 0.7139 GB, free: 2.348 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.2186, allocations: 1.752 MB / 0.7156 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005128/0.2192, allocations: 0.9679 MB / 0.7166 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001234/0.2193, allocations: 36.55 kB / 0.7166 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.855e-05/0.2194, allocations: 27.41 kB / 0.7166 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.2194, allocations: 0 / 0.7166 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of Templates: time 0.02266/0.2421, allocations: 13.68 MB / 0.73 GB, free: 1.875 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)