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.00152/0.001529, allocations: 104.8 kB / 15.99 MB, free: 6.355 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.001749/0.001749, allocations: 194.3 kB / 16.91 MB, free: 6.191 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.381/1.381, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.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.87/0.87, allocations: 143 MB / 433.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 63.91 kB / 0.5144 GB, free: 15.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4024, allocations: 82.03 MB / 0.5945 GB, free: 16.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002482/0.4049, allocations: 1.805 MB / 0.5963 GB, free: 14.58 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005702/0.4106, allocations: 5.397 MB / 0.6015 GB, free: 9.184 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.4108, allocations: 4 kB / 0.6015 GB, free: 9.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001093/0.4119, allocations: 356.2 kB / 0.6019 GB, free: 8.832 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.4121, allocations: 60.75 kB / 0.6019 GB, free: 8.773 MB / 446.1 MB [/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.003271/0.4153, allocations: 1.345 MB / 0.6032 GB, free: 7.438 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002203/0.4156, allocations: 152.2 kB / 0.6034 GB, free: 7.289 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.422e-05/0.4156, allocations: 9.562 kB / 0.6034 GB, free: 7.281 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.291e-05/0.4157, allocations: 65.17 kB / 0.6035 GB, free: 7.219 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.4159, allocations: 180.7 kB / 0.6036 GB, free: 7.039 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.364e-05/0.4159, allocations: 16 kB / 0.6036 GB, free: 7.023 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00247/0.4184, allocations: 2.201 MB / 0.6058 GB, free: 4.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.4186, allocations: 275.8 kB / 0.6061 GB, free: 4.551 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000172/0.4188, allocations: 310.9 kB / 0.6064 GB, free: 4.246 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001704/0.4205, allocations: 1.51 MB / 0.6078 GB, free: 2.734 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4205, allocations: 0 / 0.6078 GB, free: 2.734 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4205, allocations: 1 kB / 0.6078 GB, free: 2.734 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.705e-05/0.4205, allocations: 0 / 0.6078 GB, free: 2.734 MB / 446.1 MB 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.00842/0.429, allocations: 1.371 MB / 0.6092 GB, free: 1.312 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.429, allocations: 8.031 kB / 0.6092 GB, free: 1.305 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003788/0.4294, allocations: 93.09 kB / 0.6093 GB, free: 1.215 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003622/0.4298, allocations: 410.9 kB / 0.6097 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.4298, allocations: 8.312 kB / 0.6097 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.844e-05/0.4298, allocations: 13.7 kB / 0.6097 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/0.4302, allocations: 390 kB / 0.6101 GB, free: 364 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.4302, allocations: 7.984 kB / 0.6101 GB, free: 356 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.4302, allocations: 0 / 0.6101 GB, free: 356 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.4302, allocations: 0 / 0.6101 GB, free: 356 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003485/0.4306, allocations: 435.7 kB / 0.6105 GB, free: 15.92 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000634/0.4312, allocations: 0.6667 MB / 0.6111 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005105/0.4317, allocations: 0.561 MB / 0.6117 GB, free: 14.62 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003084/0.4321, allocations: 338.9 kB / 0.612 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001071/0.4331, allocations: 1.027 MB / 0.613 GB, free: 13.05 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004071/0.4336, allocations: 406.1 kB / 0.6134 GB, free: 12.63 MB / 462.1 MB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.4336, allocations: 1 kB / 0.6134 GB, free: 12.63 MB / 462.1 MB Notification: Performance of matching and sorting (n=8): time 0.001412/0.435, allocations: 1.299 MB / 0.6147 GB, free: 11.33 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.435, allocations: 81.11 kB / 0.6147 GB, free: 11.23 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/0.4363, allocations: 1.293 MB / 0.616 GB, free: 9.926 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.161e-05/0.4364, allocations: 35.03 kB / 0.616 GB, free: 9.887 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/0.4366, allocations: 281.4 kB / 0.6163 GB, free: 9.605 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.386e-05/0.4366, allocations: 15.81 kB / 0.6163 GB, free: 9.59 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003227/0.437, allocations: 357.1 kB / 0.6167 GB, free: 9.238 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.4371, allocations: 318 kB / 0.617 GB, free: 8.922 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/0.4383, allocations: 1.378 MB / 0.6183 GB, free: 7.543 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001312/0.4397, allocations: 1.498 MB / 0.6198 GB, free: 6.035 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006913/0.4466, allocations: 3.559 MB / 0.6232 GB, free: 2.387 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.4466, allocations: 0 / 0.6232 GB, free: 2.387 MB / 462.1 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004409/0.451, allocations: 4.025 MB / 0.6272 GB, free: 14.32 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.4511, allocations: 7.938 kB / 0.6272 GB, free: 14.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.4511, allocations: 4 kB / 0.6272 GB, free: 14.31 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.4512, allocations: 7.984 kB / 0.6272 GB, free: 14.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.4513, allocations: 16 kB / 0.6272 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.4513, allocations: 4 kB / 0.6272 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005734/0.4519, allocations: 229.7 kB / 0.6274 GB, free: 14.06 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.334e-05/0.452, allocations: 23.98 kB / 0.6275 GB, free: 14.04 MB / 478.1 MB 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.0003311/0.4523, allocations: 246.5 kB / 0.6277 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.907e-05/0.4524, allocations: 78.62 kB / 0.6278 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002974/0.4527, allocations: 82.22 kB / 0.6278 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.4527, allocations: 0 / 0.6278 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.4527, allocations: 4 kB / 0.6278 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.4527, allocations: 1.719 kB / 0.6278 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005089/0.4532, allocations: 0.5102 MB / 0.6283 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.4532, allocations: 0 / 0.6283 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.617e-05/0.4533, allocations: 15.86 kB / 0.6284 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.4533, allocations: 0.5312 kB / 0.6284 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.4534, allocations: 4 kB / 0.6284 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.4534, allocations: 4.766 kB / 0.6284 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.4534, allocations: 0 / 0.6284 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009572/0.4543, allocations: 1.016 MB / 0.6294 GB, free: 12.01 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.4545, allocations: 159.7 kB / 0.6295 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.594e-05/0.4546, allocations: 4.734 kB / 0.6295 GB, free: 11.83 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.4547, allocations: 4.625 kB / 0.6295 GB, free: 11.83 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.4548, allocations: 8.891 kB / 0.6295 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.831e-05/0.4548, allocations: 11.98 kB / 0.6295 GB, free: 11.81 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007647/0.4556, allocations: 0.727 MB / 0.6303 GB, free: 11.08 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4556, allocations: 0 / 0.6303 GB, free: 11.08 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001673/0.4573, allocations: 0.5824 MB / 0.6308 GB, free: 10.5 MB / 478.1 MB 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.001952/0.4592, allocations: 0.7019 MB / 0.6315 GB, free: 9.82 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002466/0.4617, allocations: 2.553 MB / 0.634 GB, free: 7.254 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.4617, allocations: 0.6875 kB / 0.634 GB, free: 7.254 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003877/0.4621, allocations: 341.6 kB / 0.6343 GB, free: 6.922 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004941/0.4626, allocations: 57.34 kB / 0.6344 GB, free: 6.867 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002529/0.4652, allocations: 2.11 MB / 0.6364 GB, free: 4.727 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006011/0.4658, allocations: 0.9839 MB / 0.6374 GB, free: 3.715 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.4659, allocations: 27.42 kB / 0.6374 GB, free: 3.688 MB / 478.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4659, allocations: 0 / 0.6374 GB, free: 3.688 MB / 478.1 MB Notification: Performance of Templates: time 0.02467/0.4906, allocations: 14.65 MB / 0.6517 GB, free: 5.047 MB / 494.1 MB 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)