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_SmallScaleValidation.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_SmallScaleValidation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",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.005725/0.005725, allocations: 97.3 kB / 15.73 MB, free: 6.035 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.001199/0.001199, allocations: 199.4 kB / 16.68 MB, free: 5.961 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.312 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 1.012/1.012, allocations: 143 MB / 433.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 63.89 kB / 0.5951 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4313/0.4327, allocations: 82.03 MB / 0.6752 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002698/0.4354, allocations: 1.741 MB / 0.6769 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008752/0.4442, allocations: 5.402 MB / 0.6822 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.4443, allocations: 5.094 kB / 0.6822 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001545/0.4459, allocations: 370.2 kB / 0.6826 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001463/0.4461, allocations: 65.34 kB / 0.6826 GB, free: 11.21 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.004577/0.4507, allocations: 1.491 MB / 0.6841 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004885/0.4512, allocations: 157.2 kB / 0.6843 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.208e-05/0.4513, allocations: 8.438 kB / 0.6843 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.432e-05/0.4514, allocations: 65.95 kB / 0.6843 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002385/0.4516, allocations: 168.3 kB / 0.6845 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.347e-05/0.4517, allocations: 15.12 kB / 0.6845 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003787/0.4555, allocations: 2.207 MB / 0.6867 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002689/0.4558, allocations: 289.7 kB / 0.6869 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002959/0.4561, allocations: 303 kB / 0.6872 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003908/0.46, allocations: 2.194 MB / 0.6894 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.46, allocations: 1.062 kB / 0.6894 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.693e-06/0.46, allocations: 0 / 0.6894 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.46, allocations: 4 kB / 0.6894 GB, free: 7.188 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.01103/0.4711, allocations: 1.422 MB / 0.6908 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.4711, allocations: 9.312 kB / 0.6908 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.958e-05/0.4712, allocations: 35.8 kB / 0.6908 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004659/0.4717, allocations: 100.1 kB / 0.6909 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006712/0.4724, allocations: 408.6 kB / 0.6913 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.4724, allocations: 11.44 kB / 0.6913 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.009e-05/0.4724, allocations: 9.656 kB / 0.6913 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006166/0.4731, allocations: 400.6 kB / 0.6917 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.4731, allocations: 0 / 0.6917 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.4731, allocations: 0 / 0.6917 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.4731, allocations: 0 / 0.6917 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004484/0.4736, allocations: 443.7 kB / 0.6921 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007274/0.4743, allocations: 0.6659 MB / 0.6928 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005389/0.4748, allocations: 0.5595 MB / 0.6933 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003278/0.4752, allocations: 337.6 kB / 0.6936 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001242/0.4764, allocations: 1.028 MB / 0.6946 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004229/0.4769, allocations: 416.8 kB / 0.695 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.4769, allocations: 0 / 0.695 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.00146/0.4783, allocations: 1.301 MB / 0.6963 GB, free: 380 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.873e-05/0.4784, allocations: 81.11 kB / 0.6964 GB, free: 280 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001459/0.4799, allocations: 1.294 MB / 0.6976 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.87e-05/0.4799, allocations: 29.7 kB / 0.6977 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.4802, allocations: 297.9 kB / 0.698 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.4802, allocations: 23.83 kB / 0.698 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003292/0.4805, allocations: 351.6 kB / 0.6983 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.4807, allocations: 322 kB / 0.6986 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/0.482, allocations: 1.369 MB / 0.7 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001547/0.4836, allocations: 1.509 MB / 0.7014 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007219/0.4909, allocations: 3.564 MB / 0.7049 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.4909, allocations: 0 / 0.7049 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005032/0.4959, allocations: 4.015 MB / 0.7088 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.496, allocations: 8 kB / 0.7088 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.222e-05/0.496, allocations: 4.031 kB / 0.7088 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.4961, allocations: 4 kB / 0.7088 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.4962, allocations: 19.98 kB / 0.7089 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.4962, allocations: 0 / 0.7089 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006121/0.4968, allocations: 241.3 kB / 0.7091 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.996e-05/0.4969, allocations: 19.98 kB / 0.7091 GB, free: 3.055 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.0003981/0.4973, allocations: 249.6 kB / 0.7093 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.419e-05/0.4974, allocations: 79.23 kB / 0.7094 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004347/0.4978, allocations: 83.81 kB / 0.7095 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.4979, allocations: 4 kB / 0.7095 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4979, allocations: 0 / 0.7095 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.4979, allocations: 0 / 0.7095 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005221/0.4984, allocations: 0.5218 MB / 0.71 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.4984, allocations: 3.938 kB / 0.71 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.081e-05/0.4985, allocations: 7.984 kB / 0.71 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.4985, allocations: 8.031 kB / 0.71 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.4985, allocations: 3.938 kB / 0.71 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.4985, allocations: 0 / 0.71 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.4985, allocations: 4 kB / 0.71 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009342/0.4995, allocations: 1.006 MB / 0.711 GB, free: 1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.4996, allocations: 176.2 kB / 0.7112 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.785e-05/0.4997, allocations: 3.984 kB / 0.7112 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.4998, allocations: 4 kB / 0.7112 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.4999, allocations: 11.98 kB / 0.7112 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.786e-05/0.4999, allocations: 11.98 kB / 0.7112 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009853/0.5009, allocations: 0.7222 MB / 0.7119 GB, free: 52 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5009, allocations: 7.938 kB / 0.7119 GB, free: 44 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002359/0.5033, allocations: 0.5845 MB / 0.7125 GB, free: 15.46 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.003678/0.507, allocations: 2.161 MB / 0.7146 GB, free: 13.28 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002502/0.5096, allocations: 2.552 MB / 0.7171 GB, free: 10.71 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.5096, allocations: 0 / 0.7171 GB, free: 10.71 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003541/0.5099, allocations: 343.8 kB / 0.7174 GB, free: 10.38 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004819/0.5105, allocations: 57.38 kB / 0.7175 GB, free: 10.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01643/0.5269, allocations: 15.29 MB / 0.7324 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005639/0.5275, allocations: 0.9879 MB / 0.7334 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001685/0.5277, allocations: 41.36 kB / 0.7334 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003319/0.5281, allocations: 287.3 kB / 0.7337 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of SimCode: time 1.012e-06/0.5281, allocations: 0 / 0.7337 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0536/0.5817, allocations: 24.21 MB / 0.7574 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/10.8, allocations: 7.125 kB / 0.7574 GB, free: 1.531 MB / 0.5762 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.csv --start-time 0 --stop-time 1.8e+12 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 7.2e+08 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)