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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005731/0.005731, allocations: 96.7 kB / 15.73 MB, free: 6.043 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.00139/0.00139, allocations: 196.7 kB / 16.67 MB, free: 5.969 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.555/1.555, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.086/1.086, allocations: 143.3 MB / 433.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 71.88 kB / 0.5954 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4231/0.4249, allocations: 82.03 MB / 0.6755 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002474/0.4274, allocations: 1.429 MB / 0.6769 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007109/0.4346, allocations: 4.205 MB / 0.681 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.571e-05/0.4346, allocations: 1.125 kB / 0.681 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.4348, allocations: 20.92 kB / 0.681 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002166/0.435, allocations: 27.59 kB / 0.681 GB, free: 12.61 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-master/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.004295/0.4393, allocations: 1.503 MB / 0.6825 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.4395, allocations: 92.8 kB / 0.6826 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.325e-05/0.4395, allocations: 3.406 kB / 0.6826 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.256e-05/0.4396, allocations: 46.3 kB / 0.6826 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.4398, allocations: 151.7 kB / 0.6828 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.245e-05/0.4399, allocations: 13.34 kB / 0.6828 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003543/0.4434, allocations: 2.202 MB / 0.685 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002503/0.4437, allocations: 269.7 kB / 0.6852 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002815/0.444, allocations: 281.8 kB / 0.6855 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003226/0.4472, allocations: 2.122 MB / 0.6876 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.4472, allocations: 0 / 0.6876 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4472, allocations: 1.188 kB / 0.6876 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.4473, allocations: 0 / 0.6876 GB, free: 8.73 MB / 0.5137 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.01171/0.459, allocations: 1.342 MB / 0.6889 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/0.459, allocations: 9.812 kB / 0.6889 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.549e-05/0.4591, allocations: 35.77 kB / 0.6889 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000514/0.4596, allocations: 93.44 kB / 0.689 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009669/0.4606, allocations: 364.5 kB / 0.6893 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.4606, allocations: 12.3 kB / 0.6894 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.139e-05/0.4607, allocations: 8.609 kB / 0.6894 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006457/0.4613, allocations: 389.2 kB / 0.6897 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.4614, allocations: 7.938 kB / 0.6897 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.4614, allocations: 1.344 kB / 0.6897 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.4614, allocations: 5.406 kB / 0.6898 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000679/0.4621, allocations: 438 kB / 0.6902 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008134/0.4629, allocations: 0.6427 MB / 0.6908 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008098/0.4637, allocations: 0.5594 MB / 0.6913 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000362/0.4641, allocations: 333.7 kB / 0.6917 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001373/0.4655, allocations: 1.032 MB / 0.6927 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004883/0.466, allocations: 408.8 kB / 0.6931 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.763e-06/0.466, allocations: 0 / 0.6931 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001774/0.4678, allocations: 1.293 MB / 0.6943 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/0.4679, allocations: 81.09 kB / 0.6944 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/0.4692, allocations: 1.219 MB / 0.6956 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.253e-05/0.4692, allocations: 37.69 kB / 0.6956 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003551/0.4696, allocations: 265.9 kB / 0.6959 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.894e-05/0.4696, allocations: 27.78 kB / 0.6959 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004074/0.47, allocations: 355.6 kB / 0.6962 GB, free: 432 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.4702, allocations: 314 kB / 0.6965 GB, free: 112 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001541/0.4718, allocations: 1.369 MB / 0.6979 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001661/0.4734, allocations: 1.513 MB / 0.6994 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00737/0.4808, allocations: 3.549 MB / 0.7028 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.4808, allocations: 4 kB / 0.7028 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.0049/0.4857, allocations: 4.011 MB / 0.7067 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.4858, allocations: 4 kB / 0.7067 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.4858, allocations: 0 / 0.7067 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.4858, allocations: 4 kB / 0.7068 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.486, allocations: 19.98 kB / 0.7068 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.486, allocations: 320 / 0.7068 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00055/0.4865, allocations: 245.3 kB / 0.707 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.311e-05/0.4866, allocations: 19.98 kB / 0.707 GB, free: 5.23 MB / 0.5294 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.0003264/0.4869, allocations: 245.6 kB / 0.7073 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.842e-05/0.487, allocations: 75.28 kB / 0.7073 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002853/0.4873, allocations: 79.02 kB / 0.7074 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.4873, allocations: 0 / 0.7074 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.4873, allocations: 4 kB / 0.7074 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.4873, allocations: 0 / 0.7074 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006025/0.4879, allocations: 496.8 kB / 0.7079 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4879, allocations: 7.969 kB / 0.7079 GB, free: 4.273 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.203e-05/0.488, allocations: 11.94 kB / 0.7079 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.488, allocations: 3.984 kB / 0.7079 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.488, allocations: 0 / 0.7079 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.488, allocations: 4 kB / 0.7079 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.4881, allocations: 3.984 kB / 0.7079 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.4891, allocations: 1.002 MB / 0.7089 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.4892, allocations: 164.4 kB / 0.709 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.825e-05/0.4893, allocations: 4 kB / 0.7091 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.4894, allocations: 4 kB / 0.7091 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.4895, allocations: 7.984 kB / 0.7091 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.905e-05/0.4895, allocations: 15.92 kB / 0.7091 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007781/0.4903, allocations: 0.6767 MB / 0.7097 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4903, allocations: 0 / 0.7097 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001992/0.4923, allocations: 0.5845 MB / 0.7103 GB, free: 1.75 MB / 0.5294 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.003313/0.4956, allocations: 2.147 MB / 0.7124 GB, free: 15.58 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00277/0.4984, allocations: 2.548 MB / 0.7149 GB, free: 13.02 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4984, allocations: 0 / 0.7149 GB, free: 13.02 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003716/0.4988, allocations: 343.7 kB / 0.7152 GB, free: 12.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.4991, allocations: 46.59 kB / 0.7153 GB, free: 12.64 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01751/0.5166, allocations: 15.28 MB / 0.7302 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006886/0.5174, allocations: 0.9687 MB / 0.7311 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002082/0.5176, allocations: 40.48 kB / 0.7312 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003419/0.518, allocations: 267.3 kB / 0.7314 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of SimCode: time 9.71e-07/0.518, allocations: 0 / 0.7314 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05761/0.5756, allocations: 23.95 MB / 0.7548 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.39, allocations: 9.062 kB / 0.7548 GB, free: 4.18 MB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)