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: "" <> 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.006281/0.00628, allocations: 99.64 kB / 15.73 MB, free: 6.023 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.001197/0.001197, allocations: 187.2 kB / 16.67 MB, free: 5.957 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.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.9693/0.9693, allocations: 143 MB / 433.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 67.89 kB / 0.5951 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.4023, allocations: 82.01 MB / 0.6752 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.0021/0.4044, allocations: 1.421 MB / 0.6766 GB, free: 12 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006188/0.4107, allocations: 4.209 MB / 0.6807 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.549e-05/0.4107, allocations: 9.875 kB / 0.6807 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001084/0.4108, allocations: 11.86 kB / 0.6808 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002967/0.4112, allocations: 27.69 kB / 0.6808 GB, free: 12.68 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.004268/0.4154, allocations: 1.505 MB / 0.6822 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.4156, allocations: 85.72 kB / 0.6823 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.559e-05/0.4157, allocations: 15.31 kB / 0.6823 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.957e-05/0.4158, allocations: 54.98 kB / 0.6824 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.416, allocations: 142.3 kB / 0.6825 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.192e-05/0.4161, allocations: 14.38 kB / 0.6825 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003547/0.4196, allocations: 2.205 MB / 0.6847 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002044/0.4198, allocations: 266.3 kB / 0.685 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002808/0.4201, allocations: 281 kB / 0.6852 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003038/0.4232, allocations: 2.112 MB / 0.6873 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4232, allocations: 0 / 0.6873 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.515e-06/0.4232, allocations: 3.938 kB / 0.6873 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.908e-06/0.4232, allocations: 1.281 kB / 0.6873 GB, free: 8.797 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.0112/0.4344, allocations: 1.298 MB / 0.6886 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.4345, allocations: 9.719 kB / 0.6886 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.002e-05/0.4345, allocations: 32.72 kB / 0.6886 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004115/0.4349, allocations: 92.72 kB / 0.6887 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000606/0.4356, allocations: 366.5 kB / 0.689 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.4356, allocations: 8.125 kB / 0.689 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.165e-05/0.4356, allocations: 9.125 kB / 0.6891 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004384/0.4361, allocations: 392.2 kB / 0.6894 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.4361, allocations: 7.938 kB / 0.6894 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.4361, allocations: 7.984 kB / 0.6894 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.4361, allocations: 0 / 0.6894 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005087/0.4366, allocations: 431.1 kB / 0.6899 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008959/0.4376, allocations: 0.633 MB / 0.6905 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005018/0.4381, allocations: 0.5665 MB / 0.691 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003091/0.4384, allocations: 333.7 kB / 0.6913 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001142/0.4395, allocations: 1.032 MB / 0.6924 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00037/0.4399, allocations: 404.8 kB / 0.6927 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.4399, allocations: 0 / 0.6927 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001289/0.4412, allocations: 1.285 MB / 0.694 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.4413, allocations: 89.17 kB / 0.6941 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/0.4424, allocations: 1.218 MB / 0.6953 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/0.4425, allocations: 29.7 kB / 0.6953 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.4427, allocations: 257.4 kB / 0.6955 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/0.4427, allocations: 31.66 kB / 0.6956 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003093/0.443, allocations: 355.6 kB / 0.6959 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.4431, allocations: 310 kB / 0.6962 GB, free: 464 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/0.4444, allocations: 1.373 MB / 0.6975 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001398/0.4458, allocations: 1.505 MB / 0.699 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006862/0.4527, allocations: 3.564 MB / 0.7025 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.4527, allocations: 0 / 0.7025 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004129/0.4568, allocations: 3.999 MB / 0.7064 GB, free: 5.867 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.4568, allocations: 4 kB / 0.7064 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/0.4569, allocations: 7.984 kB / 0.7064 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.4569, allocations: 0 / 0.7064 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.457, allocations: 19.88 kB / 0.7064 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.457, allocations: 4 kB / 0.7064 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005113/0.4576, allocations: 232.3 kB / 0.7067 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.978e-05/0.4576, allocations: 23.98 kB / 0.7067 GB, free: 5.578 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.0003043/0.4579, allocations: 241.7 kB / 0.7069 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.714e-05/0.458, allocations: 66.72 kB / 0.707 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002657/0.4583, allocations: 79 kB / 0.707 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.4583, allocations: 0 / 0.707 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4583, allocations: 0 / 0.707 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4583, allocations: 0 / 0.707 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004285/0.4587, allocations: 0.493 MB / 0.7075 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.4588, allocations: 3.938 kB / 0.7075 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.719e-05/0.4588, allocations: 7.984 kB / 0.7075 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4588, allocations: 0 / 0.7075 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.4589, allocations: 8 kB / 0.7075 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4589, allocations: 0 / 0.7075 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4589, allocations: 0 / 0.7075 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009076/0.4598, allocations: 1.001 MB / 0.7085 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.4599, allocations: 159.8 kB / 0.7087 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.28e-05/0.46, allocations: 4 kB / 0.7087 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.4601, allocations: 7.984 kB / 0.7087 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/0.4601, allocations: 4 kB / 0.7087 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.341e-05/0.4602, allocations: 15.97 kB / 0.7087 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006805/0.4608, allocations: 0.6728 MB / 0.7094 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2e-07/0.4609, allocations: 0 / 0.7094 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001674/0.4625, allocations: 0.574 MB / 0.7099 GB, free: 2.133 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.00281/0.4653, allocations: 2.148 MB / 0.712 GB, free: 15.96 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002179/0.4675, allocations: 2.556 MB / 0.7145 GB, free: 13.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4676, allocations: 0 / 0.7145 GB, free: 13.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002985/0.4679, allocations: 339.8 kB / 0.7148 GB, free: 13.07 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.4682, allocations: 39.97 kB / 0.7149 GB, free: 13.03 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/0.4821, allocations: 15.24 MB / 0.7298 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005282/0.4827, allocations: 0.9685 MB / 0.7307 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001597/0.4829, allocations: 44.67 kB / 0.7308 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002806/0.4832, allocations: 263.3 kB / 0.731 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of SimCode: time 7.51e-07/0.4832, allocations: 0 / 0.731 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05057/0.5337, allocations: 24.16 MB / 0.7546 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.01/10.55, allocations: 15.56 kB / 0.7546 GB, free: 4.363 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)