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-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_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.006256/0.006256, allocations: 101.5 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.001383/0.001383, allocations: 200.5 kB / 16.68 MB, free: 5.965 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.088/1.088, allocations: 143.3 MB / 433.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 67.89 kB / 0.5954 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3854/0.3873, allocations: 82.03 MB / 0.6755 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003256/0.3906, allocations: 1.743 MB / 0.6772 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.009186/0.3998, allocations: 5.398 MB / 0.6825 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001845/0.4001, allocations: 2.438 kB / 0.6825 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001584/0.4017, allocations: 369.7 kB / 0.6828 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.4018, allocations: 63.69 kB / 0.6829 GB, free: 11.12 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.005137/0.407, allocations: 1.501 MB / 0.6844 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003467/0.4074, allocations: 152.4 kB / 0.6845 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.481e-05/0.4074, allocations: 13.8 kB / 0.6845 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.499e-05/0.4075, allocations: 64.58 kB / 0.6846 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002591/0.4078, allocations: 164.3 kB / 0.6847 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.519e-05/0.4078, allocations: 15.12 kB / 0.6847 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004694/0.4125, allocations: 2.215 MB / 0.6869 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003505/0.4129, allocations: 281.2 kB / 0.6872 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004033/0.4133, allocations: 307.3 kB / 0.6875 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005565/0.4189, allocations: 2.192 MB / 0.6896 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.419, allocations: 0 / 0.6896 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.649e-06/0.419, allocations: 3.984 kB / 0.6896 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.638e-05/0.419, allocations: 2.844 kB / 0.6896 GB, free: 7.102 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.01242/0.4314, allocations: 1.419 MB / 0.691 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.4315, allocations: 10.34 kB / 0.691 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.973e-05/0.4316, allocations: 34.73 kB / 0.691 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004602/0.432, allocations: 97.61 kB / 0.6911 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006637/0.4327, allocations: 408.7 kB / 0.6915 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.4327, allocations: 6.047 kB / 0.6915 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.217e-05/0.4328, allocations: 17.95 kB / 0.6916 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005283/0.4333, allocations: 396.8 kB / 0.6919 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.4333, allocations: 0 / 0.6919 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.4334, allocations: 0 / 0.6919 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.4334, allocations: 0 / 0.6919 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005181/0.4339, allocations: 439.7 kB / 0.6924 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008225/0.4347, allocations: 0.6699 MB / 0.693 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005917/0.4353, allocations: 0.5594 MB / 0.6936 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003551/0.4357, allocations: 337.7 kB / 0.6939 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001223/0.4369, allocations: 1.032 MB / 0.6949 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004811/0.4374, allocations: 404.8 kB / 0.6953 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.683e-06/0.4374, allocations: 0 / 0.6953 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001619/0.4391, allocations: 1.313 MB / 0.6966 GB, free: 140 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.603e-05/0.4391, allocations: 85.09 kB / 0.6966 GB, free: 36 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001606/0.4408, allocations: 1.294 MB / 0.6979 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.962e-05/0.4408, allocations: 25.7 kB / 0.6979 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002647/0.4411, allocations: 293.9 kB / 0.6982 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.485e-05/0.4412, allocations: 23.95 kB / 0.6982 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003767/0.4415, allocations: 359.6 kB / 0.6986 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.4417, allocations: 318 kB / 0.6989 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001439/0.4431, allocations: 1.369 MB / 0.7002 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001581/0.4447, allocations: 1.505 MB / 0.7017 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007774/0.4525, allocations: 3.568 MB / 0.7052 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/0.4526, allocations: 0 / 0.7052 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005147/0.4577, allocations: 4.011 MB / 0.7091 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.206e-05/0.4578, allocations: 8 kB / 0.7091 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.312e-05/0.4578, allocations: 0 / 0.7091 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.4578, allocations: 4 kB / 0.7091 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.458, allocations: 23.95 kB / 0.7091 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.458, allocations: 3.938 kB / 0.7091 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006853/0.4587, allocations: 241.4 kB / 0.7093 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.702e-05/0.4588, allocations: 19.98 kB / 0.7094 GB, free: 2.82 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.0004172/0.4592, allocations: 245.7 kB / 0.7096 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.974e-05/0.4593, allocations: 83.22 kB / 0.7097 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000327/0.4596, allocations: 83.75 kB / 0.7098 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.4597, allocations: 4 kB / 0.7098 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.4597, allocations: 0 / 0.7098 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.4597, allocations: 7.922 kB / 0.7098 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005808/0.4603, allocations: 0.5179 MB / 0.7103 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.4603, allocations: 3.938 kB / 0.7103 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.874e-05/0.4604, allocations: 8 kB / 0.7103 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.4604, allocations: 4 kB / 0.7103 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.4604, allocations: 3.984 kB / 0.7103 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.4604, allocations: 4.031 kB / 0.7103 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.399e-05/0.4604, allocations: 4 kB / 0.7103 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.4616, allocations: 1.002 MB / 0.7113 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001668/0.4618, allocations: 176.2 kB / 0.7114 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.021e-05/0.4619, allocations: 8 kB / 0.7115 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.4621, allocations: 8 kB / 0.7115 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.4621, allocations: 7.984 kB / 0.7115 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-05/0.4622, allocations: 11.98 kB / 0.7115 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009653/0.4631, allocations: 0.7222 MB / 0.7122 GB, free: 15.81 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.41e-07/0.4631, allocations: 0 / 0.7122 GB, free: 15.81 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001974/0.4651, allocations: 0.5923 MB / 0.7128 GB, free: 15.21 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.003961/0.4691, allocations: 2.155 MB / 0.7149 GB, free: 13.05 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002786/0.4719, allocations: 2.552 MB / 0.7174 GB, free: 10.48 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.472, allocations: 4 kB / 0.7174 GB, free: 10.48 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003889/0.4723, allocations: 343.8 kB / 0.7177 GB, free: 10.14 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004918/0.4729, allocations: 49.47 kB / 0.7177 GB, free: 10.09 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01819/0.4911, allocations: 15.29 MB / 0.7327 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00065/0.4917, allocations: 0.9957 MB / 0.7336 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001847/0.4919, allocations: 37.42 kB / 0.7337 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003855/0.4923, allocations: 291.3 kB / 0.734 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of SimCode: time 2.836e-06/0.4923, allocations: 0 / 0.734 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05805/0.5504, allocations: 24.22 MB / 0.7576 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.4, allocations: 7.125 kB / 0.7576 GB, free: 1.297 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)