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.001731/0.001731, allocations: 108 kB / 15.61 MB, free: 152 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.002033/0.002033, allocations: 197 kB / 16.53 MB, free: 6.664 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.463/1.463, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.9967/0.9967, allocations: 143.1 MB / 433.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 67.89 kB / 0.5143 GB, free: 11.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1716, allocations: 82.03 MB / 0.5944 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002961/0.1746, allocations: 1.75 MB / 0.5962 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007506/0.1822, allocations: 5.402 MB / 0.6014 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.1823, allocations: 0 / 0.6014 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001182/0.1835, allocations: 370.4 kB / 0.6018 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.1836, allocations: 59.66 kB / 0.6018 GB, free: 1.848 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.00356/0.1872, allocations: 1.496 MB / 0.6033 GB, free: 356 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000227/0.1874, allocations: 155.4 kB / 0.6035 GB, free: 200 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.854e-05/0.1875, allocations: 9.562 kB / 0.6035 GB, free: 192 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.117e-05/0.1876, allocations: 63.7 kB / 0.6035 GB, free: 128 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2446/0.4322, allocations: 162.4 kB / 0.6037 GB, free: 37.52 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.529e-05/0.4324, allocations: 16.91 kB / 0.6037 GB, free: 37.52 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003316/0.4357, allocations: 2.153 MB / 0.6058 GB, free: 37.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.4359, allocations: 277 kB / 0.6061 GB, free: 37.52 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002126/0.4361, allocations: 308.2 kB / 0.6064 GB, free: 37.39 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002055/0.4381, allocations: 2.179 MB / 0.6085 GB, free: 37.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.4382, allocations: 0.875 kB / 0.6085 GB, free: 37.16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4382, allocations: 0 / 0.6085 GB, free: 37.16 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.798e-06/0.4382, allocations: 0.6562 kB / 0.6085 GB, free: 37.16 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.00998/0.4482, allocations: 1.366 MB / 0.6098 GB, free: 36.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.4482, allocations: 8.812 kB / 0.6098 GB, free: 36.27 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.693e-05/0.4483, allocations: 34.44 kB / 0.6099 GB, free: 36.23 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004143/0.4487, allocations: 96.03 kB / 0.6099 GB, free: 36.18 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003606/0.4491, allocations: 407.2 kB / 0.6103 GB, free: 35.89 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.4491, allocations: 8.281 kB / 0.6103 GB, free: 35.89 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.698e-05/0.4491, allocations: 13.34 kB / 0.6104 GB, free: 35.89 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003383/0.4495, allocations: 390.4 kB / 0.6107 GB, free: 35.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.4495, allocations: 0.5 kB / 0.6107 GB, free: 35.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.4495, allocations: 1.5 kB / 0.6107 GB, free: 35.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.4495, allocations: 3.938 kB / 0.6107 GB, free: 35.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000335/0.4499, allocations: 431.8 kB / 0.6111 GB, free: 35.84 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000484/0.4503, allocations: 0.6676 MB / 0.6118 GB, free: 35.55 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003877/0.4507, allocations: 0.569 MB / 0.6124 GB, free: 35.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002306/0.451, allocations: 332.2 kB / 0.6127 GB, free: 35.49 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007916/0.4518, allocations: 1.037 MB / 0.6137 GB, free: 34.36 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003059/0.4521, allocations: 405.6 kB / 0.6141 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.4521, allocations: 0 / 0.6141 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001042/0.4532, allocations: 1.296 MB / 0.6153 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.4532, allocations: 83.69 kB / 0.6154 GB, free: 34.11 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009896/0.4542, allocations: 1.295 MB / 0.6167 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.4542, allocations: 30.14 kB / 0.6167 GB, free: 33.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.4544, allocations: 286.9 kB / 0.617 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.4544, allocations: 17.89 kB / 0.617 GB, free: 33.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002505/0.4547, allocations: 348.5 kB / 0.6173 GB, free: 33.69 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.954e-05/0.4547, allocations: 322.8 kB / 0.6176 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009287/0.4557, allocations: 1.371 MB / 0.619 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/0.4567, allocations: 1.504 MB / 0.6204 GB, free: 33.13 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006371/0.4631, allocations: 3.562 MB / 0.6239 GB, free: 31.28 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4631, allocations: 0 / 0.6239 GB, free: 31.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003607/0.4667, allocations: 4.015 MB / 0.6278 GB, free: 29.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.4668, allocations: 5.281 kB / 0.6279 GB, free: 29.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.4668, allocations: 2.656 kB / 0.6279 GB, free: 29.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.4668, allocations: 3.281 kB / 0.6279 GB, free: 29.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.4669, allocations: 15.28 kB / 0.6279 GB, free: 29.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.467, allocations: 6.141 kB / 0.6279 GB, free: 29.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004705/0.4674, allocations: 242.1 kB / 0.6281 GB, free: 29.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.211e-05/0.4675, allocations: 26.08 kB / 0.6281 GB, free: 29.11 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.0002989/0.4678, allocations: 244.2 kB / 0.6284 GB, free: 28.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.396e-05/0.4679, allocations: 77.86 kB / 0.6284 GB, free: 28.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002782/0.4682, allocations: 80.11 kB / 0.6285 GB, free: 28.87 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.4682, allocations: 3.406 kB / 0.6285 GB, free: 28.87 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.4682, allocations: 1.812 kB / 0.6285 GB, free: 28.87 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4682, allocations: 1.281 kB / 0.6285 GB, free: 28.87 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000425/0.4686, allocations: 0.5189 MB / 0.629 GB, free: 28.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.4686, allocations: 1.781 kB / 0.629 GB, free: 28.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.993e-05/0.4687, allocations: 9.062 kB / 0.629 GB, free: 28.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.4687, allocations: 1.125 kB / 0.629 GB, free: 28.58 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.4687, allocations: 5.391 kB / 0.629 GB, free: 28.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.4687, allocations: 1.312 kB / 0.6291 GB, free: 28.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4688, allocations: 4.031 kB / 0.6291 GB, free: 28.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.4699, allocations: 1.006 MB / 0.63 GB, free: 28.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.47, allocations: 169.2 kB / 0.6302 GB, free: 28.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.948e-05/0.4701, allocations: 5.547 kB / 0.6302 GB, free: 28.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.4702, allocations: 7 kB / 0.6302 GB, free: 28.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.4703, allocations: 9.156 kB / 0.6302 GB, free: 28.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.64e-05/0.4703, allocations: 14.41 kB / 0.6302 GB, free: 28.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008077/0.4711, allocations: 0.7241 MB / 0.6309 GB, free: 28.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4711, allocations: 0 / 0.6309 GB, free: 28.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001751/0.4729, allocations: 0.5835 MB / 0.6315 GB, free: 27.92 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.002972/0.4759, allocations: 2.144 MB / 0.6336 GB, free: 27.14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0021/0.478, allocations: 2.552 MB / 0.6361 GB, free: 26.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.478, allocations: 1.281 kB / 0.6361 GB, free: 26.11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003265/0.4783, allocations: 341.8 kB / 0.6364 GB, free: 26.11 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.4787, allocations: 57.83 kB / 0.6365 GB, free: 26.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01486/0.4936, allocations: 15.16 MB / 0.6513 GB, free: 19.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.4941, allocations: 0.9855 MB / 0.6522 GB, free: 18.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002024/0.4943, allocations: 41.91 kB / 0.6523 GB, free: 18.39 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002655/0.4946, allocations: 293.2 kB / 0.6526 GB, free: 18.15 MB / 0.4981 GB Notification: Performance of SimCode: time 1.272e-06/0.4946, allocations: 4 kB / 0.6526 GB, free: 18.15 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05284/0.5474, allocations: 24.03 MB / 0.676 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.292/8.839, allocations: 11.45 kB / 0.6761 GB, free: 7.734 MB / 0.4981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 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)