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.001204/0.001204, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001212/0.001212, allocations: 197.8 kB / 16.26 MB, free: 6.621 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.297/1.297, allocations: 222.9 MB / 239.9 MB, free: 4.547 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.9337/0.9337, allocations: 143 MB / 433.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 64.09 kB / 0.5138 GB, free: 11.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1612, allocations: 82.05 MB / 0.594 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.00247/0.1637, allocations: 1.489 MB / 0.5954 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005798/0.1696, allocations: 4.208 MB / 0.5995 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.819e-05/0.1696, allocations: 4 kB / 0.5995 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.1698, allocations: 11.86 kB / 0.5995 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002135/0.17, allocations: 23.91 kB / 0.5996 GB, free: 3.984 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.003361/0.1734, allocations: 1.343 MB / 0.6009 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.1735, allocations: 91.73 kB / 0.601 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.323e-05/0.1736, allocations: 15.92 kB / 0.601 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.154e-05/0.1736, allocations: 35.92 kB / 0.601 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002198/0.1739, allocations: 164.9 kB / 0.6012 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.387e-05/0.1739, allocations: 12 kB / 0.6012 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002728/0.1766, allocations: 2.203 MB / 0.6033 GB, free: 120 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.2498/0.4264, allocations: 262 kB / 0.6036 GB, free: 37.91 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002172/0.4267, allocations: 283.2 kB / 0.6039 GB, free: 37.79 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003099/0.4298, allocations: 2.119 MB / 0.6059 GB, free: 37.6 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4298, allocations: 0 / 0.6059 GB, free: 37.6 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4298, allocations: 0 / 0.6059 GB, free: 37.6 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.4298, allocations: 0 / 0.6059 GB, free: 37.6 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.008659/0.4385, allocations: 1.297 MB / 0.6072 GB, free: 36.75 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.4386, allocations: 9.25 kB / 0.6072 GB, free: 36.75 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.473e-05/0.4386, allocations: 36.53 kB / 0.6072 GB, free: 36.71 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003496/0.439, allocations: 88.59 kB / 0.6073 GB, free: 36.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.4393, allocations: 370.6 kB / 0.6077 GB, free: 36.38 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.4393, allocations: 5.625 kB / 0.6077 GB, free: 36.38 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.527e-05/0.4393, allocations: 8 kB / 0.6077 GB, free: 36.38 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003404/0.4397, allocations: 393 kB / 0.6081 GB, free: 36.33 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.4397, allocations: 0.7812 kB / 0.6081 GB, free: 36.33 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.4397, allocations: 2.75 kB / 0.6081 GB, free: 36.33 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.4397, allocations: 1.156 kB / 0.6081 GB, free: 36.33 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003312/0.44, allocations: 434.3 kB / 0.6085 GB, free: 36.33 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004077/0.4405, allocations: 0.6426 MB / 0.6091 GB, free: 36.04 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003889/0.4409, allocations: 0.5647 MB / 0.6097 GB, free: 36 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002346/0.4411, allocations: 331.4 kB / 0.61 GB, free: 35.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008032/0.4419, allocations: 1.03 MB / 0.611 GB, free: 34.86 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003178/0.4422, allocations: 407.4 kB / 0.6114 GB, free: 34.79 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.703e-06/0.4422, allocations: 3.469 kB / 0.6114 GB, free: 34.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001035/0.4433, allocations: 1.287 MB / 0.6126 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.4433, allocations: 91.47 kB / 0.6127 GB, free: 34.61 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008845/0.4442, allocations: 1.209 MB / 0.6139 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.4443, allocations: 28.27 kB / 0.6139 GB, free: 34.35 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.4444, allocations: 261.4 kB / 0.6142 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.4444, allocations: 25.45 kB / 0.6142 GB, free: 34.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002332/0.4447, allocations: 351.5 kB / 0.6145 GB, free: 34.19 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.148e-05/0.4447, allocations: 312.8 kB / 0.6148 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009342/0.4457, allocations: 1.375 MB / 0.6162 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009696/0.4466, allocations: 1.506 MB / 0.6176 GB, free: 33.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006093/0.4527, allocations: 3.558 MB / 0.6211 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.4528, allocations: 0 / 0.6211 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003226/0.456, allocations: 4.005 MB / 0.625 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.456, allocations: 5.25 kB / 0.625 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.456, allocations: 6.594 kB / 0.625 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.4561, allocations: 6.562 kB / 0.625 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.4562, allocations: 12.78 kB / 0.6251 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.4562, allocations: 8.375 kB / 0.6251 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004059/0.4566, allocations: 230.5 kB / 0.6253 GB, free: 30.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.511e-05/0.4567, allocations: 21.56 kB / 0.6253 GB, free: 30.31 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.0002401/0.4569, allocations: 240.2 kB / 0.6255 GB, free: 30.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.286e-05/0.457, allocations: 69.25 kB / 0.6256 GB, free: 30.14 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002614/0.4572, allocations: 79.72 kB / 0.6257 GB, free: 30.08 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.4573, allocations: 3.281 kB / 0.6257 GB, free: 30.08 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4573, allocations: 4.031 kB / 0.6257 GB, free: 30.08 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4573, allocations: 0 / 0.6257 GB, free: 30.08 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003035/0.4576, allocations: 0.4886 MB / 0.6262 GB, free: 29.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4576, allocations: 0 / 0.6262 GB, free: 29.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.584e-05/0.4577, allocations: 13.88 kB / 0.6262 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.4577, allocations: 2.75 kB / 0.6262 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.4577, allocations: 0 / 0.6262 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.4577, allocations: 3 kB / 0.6262 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.4577, allocations: 3.047 kB / 0.6262 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006914/0.4584, allocations: 1.001 MB / 0.6272 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.185e-05/0.4585, allocations: 155.7 kB / 0.6273 GB, free: 29.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.797e-05/0.4585, allocations: 3.094 kB / 0.6273 GB, free: 29.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.4587, allocations: 2.688 kB / 0.6273 GB, free: 29.51 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.4587, allocations: 10.86 kB / 0.6273 GB, free: 29.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.488e-05/0.4588, allocations: 20.28 kB / 0.6273 GB, free: 29.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005962/0.4594, allocations: 0.6744 MB / 0.628 GB, free: 29.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4594, allocations: 3.688 kB / 0.628 GB, free: 29.27 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001506/0.4609, allocations: 0.5722 MB / 0.6286 GB, free: 29.17 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.002903/0.4638, allocations: 2.143 MB / 0.6307 GB, free: 28.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002154/0.4659, allocations: 2.554 MB / 0.6332 GB, free: 27.36 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.466, allocations: 1 kB / 0.6332 GB, free: 27.36 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003242/0.4663, allocations: 338.5 kB / 0.6335 GB, free: 27.36 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.4666, allocations: 42.16 kB / 0.6335 GB, free: 27.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01354/0.4802, allocations: 15.25 MB / 0.6484 GB, free: 20.37 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.4806, allocations: 0.966 MB / 0.6493 GB, free: 19.67 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001744/0.4808, allocations: 45.92 kB / 0.6494 GB, free: 19.65 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002412/0.481, allocations: 264.3 kB / 0.6496 GB, free: 19.43 MB / 0.4981 GB Notification: Performance of SimCode: time 1.864e-06/0.481, allocations: 1.219 kB / 0.6496 GB, free: 19.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05483/0.5359, allocations: 23.66 MB / 0.6728 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001681/0.5361, allocations: 340.1 kB / 0.6731 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.492/3.028, allocations: 192 / 0.6731 GB, free: 11.46 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)