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.006175/0.006175, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001348/0.001348, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.191 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.987/0.987, allocations: 143 MB / 433.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 59.91 kB / 0.5951 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4419/0.4432, allocations: 82.03 MB / 0.6752 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002757/0.446, allocations: 1.428 MB / 0.6766 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007227/0.4532, allocations: 4.204 MB / 0.6807 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.965e-05/0.4533, allocations: 5.125 kB / 0.6807 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.4534, allocations: 12.95 kB / 0.6808 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002422/0.4537, allocations: 31.5 kB / 0.6808 GB, free: 12.65 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.005014/0.4588, allocations: 1.506 MB / 0.6823 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.459, allocations: 89.77 kB / 0.6823 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.922e-05/0.459, allocations: 6.938 kB / 0.6824 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.322e-05/0.4591, allocations: 51.11 kB / 0.6824 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.4593, allocations: 150.8 kB / 0.6825 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.292e-05/0.4594, allocations: 13.66 kB / 0.6826 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004101/0.4635, allocations: 2.206 MB / 0.6847 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002525/0.4638, allocations: 260.9 kB / 0.685 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003289/0.4641, allocations: 285.8 kB / 0.6852 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004129/0.4683, allocations: 2.111 MB / 0.6873 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.4683, allocations: 1.312 kB / 0.6873 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4683, allocations: 0 / 0.6873 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.15e-05/0.4683, allocations: 0 / 0.6873 GB, free: 8.766 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.008744/0.4771, allocations: 1.296 MB / 0.6886 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.4771, allocations: 9.562 kB / 0.6886 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.907e-05/0.4772, allocations: 36.2 kB / 0.6886 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005011/0.4777, allocations: 92.59 kB / 0.6887 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005548/0.4783, allocations: 362.7 kB / 0.689 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.4783, allocations: 11.14 kB / 0.689 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.251e-05/0.4783, allocations: 13.17 kB / 0.6891 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004106/0.4788, allocations: 387 kB / 0.6894 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.4788, allocations: 0 / 0.6894 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.4788, allocations: 5.125 kB / 0.6894 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.4788, allocations: 1.156 kB / 0.6894 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004342/0.4792, allocations: 438.9 kB / 0.6899 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007688/0.48, allocations: 0.6365 MB / 0.6905 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005253/0.4806, allocations: 0.5626 MB / 0.691 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003216/0.4809, allocations: 333.7 kB / 0.6913 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001097/0.482, allocations: 1.032 MB / 0.6924 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004266/0.4824, allocations: 404.8 kB / 0.6927 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.703e-06/0.4825, allocations: 0 / 0.6927 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001414/0.4839, allocations: 1.289 MB / 0.694 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.776e-05/0.484, allocations: 89.23 kB / 0.6941 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/0.4853, allocations: 1.214 MB / 0.6953 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.885e-05/0.4853, allocations: 29.7 kB / 0.6953 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001974/0.4855, allocations: 257.4 kB / 0.6955 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.4856, allocations: 23.73 kB / 0.6956 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003179/0.4859, allocations: 359.6 kB / 0.6959 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.524e-05/0.486, allocations: 310 kB / 0.6962 GB, free: 436 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001197/0.4872, allocations: 1.373 MB / 0.6975 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001358/0.4886, allocations: 1.517 MB / 0.699 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00692/0.4955, allocations: 3.553 MB / 0.7025 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.4955, allocations: 0 / 0.7025 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004285/0.4998, allocations: 4.006 MB / 0.7064 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.4999, allocations: 4 kB / 0.7064 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/0.4999, allocations: 4 kB / 0.7064 GB, free: 5.824 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.4999, allocations: 0 / 0.7064 GB, free: 5.824 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.5001, allocations: 23.92 kB / 0.7064 GB, free: 5.801 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/0.5001, allocations: 4 kB / 0.7064 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005285/0.5006, allocations: 232.3 kB / 0.7067 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.584e-05/0.5007, allocations: 24.3 kB / 0.7067 GB, free: 5.543 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.0003587/0.501, allocations: 245.6 kB / 0.7069 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.136e-05/0.5011, allocations: 66.72 kB / 0.707 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002804/0.5014, allocations: 75.06 kB / 0.7071 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.5014, allocations: 0 / 0.7071 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5014, allocations: 0 / 0.7071 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.5014, allocations: 0 / 0.7071 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004453/0.5019, allocations: 0.4969 MB / 0.7075 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.5019, allocations: 3.938 kB / 0.7075 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.344e-05/0.502, allocations: 11.92 kB / 0.7076 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.502, allocations: 4 kB / 0.7076 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.502, allocations: 0 / 0.7076 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.502, allocations: 0 / 0.7076 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.502, allocations: 0 / 0.7076 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008608/0.5029, allocations: 1.001 MB / 0.7085 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.503, allocations: 155.8 kB / 0.7087 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.663e-05/0.5031, allocations: 4 kB / 0.7087 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.5032, allocations: 11.98 kB / 0.7087 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.5033, allocations: 4 kB / 0.7087 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.116e-05/0.5033, allocations: 15.91 kB / 0.7087 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007055/0.504, allocations: 0.6728 MB / 0.7094 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/0.504, allocations: 0 / 0.7094 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001879/0.5059, allocations: 0.574 MB / 0.7099 GB, free: 2.094 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.003671/0.5096, allocations: 2.143 MB / 0.712 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002589/0.5122, allocations: 2.556 MB / 0.7145 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5122, allocations: 0 / 0.7145 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003189/0.5126, allocations: 343.7 kB / 0.7149 GB, free: 13.03 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.513, allocations: 38.42 kB / 0.7149 GB, free: 12.99 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01728/0.5303, allocations: 15.24 MB / 0.7298 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005587/0.5309, allocations: 0.9646 MB / 0.7307 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001704/0.531, allocations: 40.69 kB / 0.7308 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003286/0.5314, allocations: 267.3 kB / 0.731 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of SimCode: time 1.233e-06/0.5314, allocations: 0 / 0.731 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04822/0.5796, allocations: 23.95 MB / 0.7544 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.732/10.31, allocations: 4.312 kB / 0.7544 GB, free: 4.543 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)