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.00111/0.00111, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 191.8 kB / 16.53 MB, free: 6.391 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.399/1.399, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.031/1.031, allocations: 143 MB / 433.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 63.91 kB / 0.5143 GB, free: 11.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1622, allocations: 82.04 MB / 0.5944 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.003017/0.1652, allocations: 1.42 MB / 0.5958 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007169/0.1724, allocations: 4.192 MB / 0.5999 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.859e-05/0.1725, allocations: 3.938 kB / 0.5999 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.1727, allocations: 11.92 kB / 0.5999 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003186/0.173, allocations: 39.78 kB / 0.6 GB, free: 3.723 MB / 0.4981 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.004756/0.1778, allocations: 1.501 MB / 0.6014 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.178, allocations: 87.75 kB / 0.6015 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.855e-05/0.1781, allocations: 7.984 kB / 0.6015 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.03e-05/0.1782, allocations: 47.84 kB / 0.6016 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002507/0.1784, allocations: 147.6 kB / 0.6017 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.239e-05/0.1785, allocations: 12 kB / 0.6017 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2942/0.4727, allocations: 2.157 MB / 0.6038 GB, free: 37.95 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002012/0.4729, allocations: 270.4 kB / 0.6041 GB, free: 37.95 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001934/0.4731, allocations: 278 kB / 0.6044 GB, free: 37.81 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002855/0.476, allocations: 2.103 MB / 0.6064 GB, free: 37.62 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.476, allocations: 3.125 kB / 0.6064 GB, free: 37.62 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.313e-06/0.476, allocations: 0 / 0.6064 GB, free: 37.62 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.476, allocations: 0 / 0.6064 GB, free: 37.62 MB / 0.4981 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.0101/0.4861, allocations: 1.292 MB / 0.6077 GB, free: 36.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.4862, allocations: 8.625 kB / 0.6077 GB, free: 36.77 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.814e-05/0.4862, allocations: 38.3 kB / 0.6077 GB, free: 36.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003685/0.4866, allocations: 91.78 kB / 0.6078 GB, free: 36.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.4869, allocations: 369.7 kB / 0.6082 GB, free: 36.4 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.4869, allocations: 5.188 kB / 0.6082 GB, free: 36.4 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/0.487, allocations: 5.844 kB / 0.6082 GB, free: 36.4 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005309/0.4875, allocations: 393.9 kB / 0.6085 GB, free: 36.35 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.4875, allocations: 2.062 kB / 0.6085 GB, free: 36.35 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.4876, allocations: 3.812 kB / 0.6086 GB, free: 36.35 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.4876, allocations: 3.344 kB / 0.6086 GB, free: 36.35 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003548/0.4879, allocations: 434 kB / 0.609 GB, free: 36.35 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004351/0.4884, allocations: 0.6406 MB / 0.6096 GB, free: 36.06 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000403/0.4888, allocations: 0.562 MB / 0.6101 GB, free: 36.02 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002467/0.489, allocations: 333.8 kB / 0.6105 GB, free: 36 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008357/0.4899, allocations: 1.036 MB / 0.6115 GB, free: 34.88 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003186/0.4902, allocations: 407 kB / 0.6119 GB, free: 34.81 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.4902, allocations: 3.812 kB / 0.6119 GB, free: 34.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001265/0.4915, allocations: 1.287 MB / 0.6131 GB, free: 34.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.4915, allocations: 85.69 kB / 0.6132 GB, free: 34.63 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000905/0.4925, allocations: 1.21 MB / 0.6144 GB, free: 34.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.4925, allocations: 28.02 kB / 0.6144 GB, free: 34.37 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.4926, allocations: 261.1 kB / 0.6147 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.4927, allocations: 27.05 kB / 0.6147 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002549/0.4929, allocations: 355.7 kB / 0.615 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.761e-05/0.493, allocations: 309.4 kB / 0.6153 GB, free: 33.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001197/0.4942, allocations: 1.373 MB / 0.6167 GB, free: 33.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/0.4954, allocations: 1.502 MB / 0.6181 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006524/0.5019, allocations: 3.566 MB / 0.6216 GB, free: 32.42 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.502, allocations: 1.406 kB / 0.6216 GB, free: 32.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004122/0.5061, allocations: 4.005 MB / 0.6255 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.916e-05/0.5062, allocations: 6.188 kB / 0.6255 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.894e-05/0.5063, allocations: 6.547 kB / 0.6255 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.506e-05/0.5063, allocations: 2.406 kB / 0.6255 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.5065, allocations: 15.28 kB / 0.6256 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.5065, allocations: 4.203 kB / 0.6256 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004863/0.507, allocations: 232.1 kB / 0.6258 GB, free: 30.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.68e-05/0.5071, allocations: 21.39 kB / 0.6258 GB, free: 30.26 MB / 0.4981 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.0002916/0.5073, allocations: 242.8 kB / 0.626 GB, free: 30.14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.97e-05/0.5074, allocations: 68.34 kB / 0.6261 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002737/0.5077, allocations: 79.8 kB / 0.6262 GB, free: 30.03 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.5077, allocations: 32 / 0.6262 GB, free: 30.03 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.597e-06/0.5077, allocations: 4.5 kB / 0.6262 GB, free: 30.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.5077, allocations: 2.625 kB / 0.6262 GB, free: 30.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004058/0.5081, allocations: 498.8 kB / 0.6267 GB, free: 29.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5081, allocations: 0 / 0.6267 GB, free: 29.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.834e-05/0.5082, allocations: 17.33 kB / 0.6267 GB, free: 29.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.5082, allocations: 0 / 0.6267 GB, free: 29.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.5082, allocations: 2.594 kB / 0.6267 GB, free: 29.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.5082, allocations: 2.562 kB / 0.6267 GB, free: 29.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5083, allocations: 5.25 kB / 0.6267 GB, free: 29.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009646/0.5092, allocations: 0.9987 MB / 0.6277 GB, free: 29.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.5094, allocations: 153.6 kB / 0.6278 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/0.5095, allocations: 2.688 kB / 0.6278 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.5096, allocations: 6.125 kB / 0.6278 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.5096, allocations: 7.188 kB / 0.6278 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.923e-05/0.5097, allocations: 21.83 kB / 0.6278 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006851/0.5104, allocations: 0.6733 MB / 0.6285 GB, free: 29.22 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.483e-06/0.5104, allocations: 0 / 0.6285 GB, free: 29.22 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002144/0.5125, allocations: 0.5746 MB / 0.6291 GB, free: 29.12 MB / 0.4981 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.004696/0.5172, allocations: 2.145 MB / 0.6312 GB, free: 28.33 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003053/0.5203, allocations: 2.55 MB / 0.6336 GB, free: 27.31 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/0.5203, allocations: 0 / 0.6336 GB, free: 27.31 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005322/0.5209, allocations: 348.3 kB / 0.634 GB, free: 27.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007267/0.5216, allocations: 33.42 kB / 0.634 GB, free: 27.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01641/0.538, allocations: 15.15 MB / 0.6488 GB, free: 20.47 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.5384, allocations: 0.9683 MB / 0.6497 GB, free: 19.77 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001755/0.5386, allocations: 35.47 kB / 0.6498 GB, free: 19.76 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002344/0.5389, allocations: 268.8 kB / 0.65 GB, free: 19.54 MB / 0.4981 GB Notification: Performance of SimCode: time 7.42e-07/0.5389, allocations: 0 / 0.65 GB, free: 19.54 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05463/0.5935, allocations: 23.79 MB / 0.6733 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.764/9.357, allocations: 4.422 kB / 0.6733 GB, free: 11.27 MB / 0.4981 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)