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: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00626/0.00626, allocations: 103 kB / 15.88 MB, free: 6.328 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.001193/0.001193, allocations: 196.2 kB / 16.79 MB, free: 6.254 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.465/1.465, allocations: 222.9 MB / 240.5 MB, free: 4.555 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.039/1.039, allocations: 143 MB / 433.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 67.91 kB / 0.5142 GB, free: 12.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1716, allocations: 82.04 MB / 0.5943 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003142/0.1748, allocations: 1.812 MB / 0.5961 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008103/0.183, allocations: 5.657 MB / 0.6016 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.1831, allocations: 7.938 kB / 0.6016 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.1844, allocations: 354.6 kB / 0.602 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001447/0.1846, allocations: 59.73 kB / 0.602 GB, free: 2.043 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‘. Notification: Performance of NFTyping.typeClassSections: time 0.003763/0.1883, allocations: 1.174 MB / 0.6032 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003357/0.1887, allocations: 207.3 kB / 0.6034 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.582e-05/0.1888, allocations: 9.562 kB / 0.6034 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.65e-05/0.1888, allocations: 55.72 kB / 0.6034 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002744/0.1891, allocations: 184.8 kB / 0.6036 GB, free: 428 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.408e-05/0.1892, allocations: 12 kB / 0.6036 GB, free: 416 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3009/0.49, allocations: 2.177 MB / 0.6057 GB, free: 38 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002422/0.4903, allocations: 278.4 kB / 0.606 GB, free: 38 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002587/0.4906, allocations: 310.3 kB / 0.6063 GB, free: 37.86 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002252/0.4929, allocations: 1.559 MB / 0.6078 GB, free: 37.75 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4929, allocations: 0.7812 kB / 0.6078 GB, free: 37.75 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4929, allocations: 0 / 0.6078 GB, free: 37.75 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.4929, allocations: 0.5312 kB / 0.6078 GB, free: 37.75 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.007937/0.5008, allocations: 1.362 MB / 0.6091 GB, free: 36.86 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.5009, allocations: 9.375 kB / 0.6092 GB, free: 36.86 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004227/0.5013, allocations: 98.53 kB / 0.6093 GB, free: 36.8 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004136/0.5018, allocations: 408 kB / 0.6096 GB, free: 36.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.5018, allocations: 3.75 kB / 0.6096 GB, free: 36.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.869e-05/0.5018, allocations: 9.438 kB / 0.6097 GB, free: 36.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000365/0.5022, allocations: 389.1 kB / 0.61 GB, free: 36.47 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.5022, allocations: 9.453 kB / 0.61 GB, free: 36.47 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.5023, allocations: 0 / 0.61 GB, free: 36.47 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.5023, allocations: 0 / 0.61 GB, free: 36.47 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003575/0.5026, allocations: 444.1 kB / 0.6105 GB, free: 36.47 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005501/0.5032, allocations: 0.6631 MB / 0.6111 GB, free: 36.18 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000416/0.5036, allocations: 0.5678 MB / 0.6117 GB, free: 36.13 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002385/0.5039, allocations: 333.2 kB / 0.612 GB, free: 36.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000849/0.5047, allocations: 1.026 MB / 0.613 GB, free: 34.99 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003338/0.5051, allocations: 414.4 kB / 0.6134 GB, free: 34.92 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.5051, allocations: 0 / 0.6134 GB, free: 34.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001203/0.5063, allocations: 1.296 MB / 0.6146 GB, free: 34.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.5063, allocations: 85.89 kB / 0.6147 GB, free: 34.74 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.5074, allocations: 1.292 MB / 0.616 GB, free: 34.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.532e-05/0.5075, allocations: 32.2 kB / 0.616 GB, free: 34.47 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.5076, allocations: 284.9 kB / 0.6163 GB, free: 34.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.5077, allocations: 19.48 kB / 0.6163 GB, free: 34.33 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002963/0.508, allocations: 354.9 kB / 0.6166 GB, free: 34.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.235e-05/0.5081, allocations: 314.5 kB / 0.6169 GB, free: 34.01 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009864/0.509, allocations: 1.373 MB / 0.6183 GB, free: 34.01 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.5101, allocations: 1.503 MB / 0.6198 GB, free: 33.83 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006284/0.5164, allocations: 3.563 MB / 0.6232 GB, free: 31.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.5164, allocations: 0 / 0.6232 GB, free: 31.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003608/0.5201, allocations: 4.013 MB / 0.6271 GB, free: 30 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.5201, allocations: 8.844 kB / 0.6272 GB, free: 30 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.087e-05/0.5201, allocations: 7.719 kB / 0.6272 GB, free: 30 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.5202, allocations: 0 / 0.6272 GB, free: 30 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.5203, allocations: 17.45 kB / 0.6272 GB, free: 30 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.5203, allocations: 0 / 0.6272 GB, free: 30 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004989/0.5208, allocations: 239.5 kB / 0.6274 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.964e-05/0.5209, allocations: 22.06 kB / 0.6274 GB, free: 29.8 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.0003122/0.5212, allocations: 249 kB / 0.6277 GB, free: 29.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.66e-05/0.5213, allocations: 79.06 kB / 0.6277 GB, free: 29.62 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002874/0.5216, allocations: 83.58 kB / 0.6278 GB, free: 29.56 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.5216, allocations: 0 / 0.6278 GB, free: 29.56 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.5216, allocations: 0.8438 kB / 0.6278 GB, free: 29.56 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.5216, allocations: 3.172 kB / 0.6278 GB, free: 29.56 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004026/0.522, allocations: 0.5108 MB / 0.6283 GB, free: 29.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.522, allocations: 2.625 kB / 0.6283 GB, free: 29.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.035e-05/0.5221, allocations: 8.641 kB / 0.6283 GB, free: 29.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.5221, allocations: 9.312 kB / 0.6283 GB, free: 29.28 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.5222, allocations: 10.67 kB / 0.6284 GB, free: 29.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.5222, allocations: 0 / 0.6284 GB, free: 29.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.5222, allocations: 3.688 kB / 0.6284 GB, free: 29.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009768/0.5231, allocations: 1 MB / 0.6293 GB, free: 29.13 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.5233, allocations: 167.8 kB / 0.6295 GB, free: 28.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.843e-05/0.5233, allocations: 5.562 kB / 0.6295 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.5235, allocations: 6.641 kB / 0.6295 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.5235, allocations: 8.156 kB / 0.6295 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.552e-05/0.5236, allocations: 14.11 kB / 0.6295 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008437/0.5244, allocations: 0.7265 MB / 0.6302 GB, free: 28.72 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.41e-07/0.5244, allocations: 0 / 0.6302 GB, free: 28.72 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002006/0.5264, allocations: 0.5934 MB / 0.6308 GB, free: 28.62 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.002186/0.5286, allocations: 0.6924 MB / 0.6315 GB, free: 28.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002515/0.5312, allocations: 2.549 MB / 0.634 GB, free: 27.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.5312, allocations: 0 / 0.634 GB, free: 27.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003553/0.5316, allocations: 335.5 kB / 0.6343 GB, free: 27.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005354/0.5321, allocations: 66.66 kB / 0.6344 GB, free: 27.36 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002423/0.5345, allocations: 2.104 MB / 0.6364 GB, free: 26.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004261/0.535, allocations: 0.9886 MB / 0.6374 GB, free: 25.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.5351, allocations: 32.38 kB / 0.6374 GB, free: 25.82 MB / 0.4981 GB Notification: Performance of SimCode: time 6.72e-07/0.5351, allocations: 0 / 0.6374 GB, free: 25.82 MB / 0.4981 GB Notification: Performance of Templates: time 0.02924/0.5644, allocations: 14.64 MB / 0.6517 GB, free: 24.01 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)