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.001022/0.001022, allocations: 113.2 kB / 16.37 MB, free: 6 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.001006/0.001007, allocations: 197.6 kB / 17.31 MB, free: 5.613 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.192/1.192, allocations: 222.9 MB / 241 MB, free: 15.17 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.7611/0.7611, allocations: 143 MB / 434.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 67.89 kB / 0.5156 GB, free: 14.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2621, allocations: 82.04 MB / 0.5958 GB, free: 16.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002171/0.2643, allocations: 1.746 MB / 0.5975 GB, free: 14.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004865/0.2692, allocations: 5.404 MB / 0.6027 GB, free: 9.102 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.958e-05/0.2693, allocations: 0 / 0.6027 GB, free: 9.102 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008071/0.2701, allocations: 364.8 kB / 0.6031 GB, free: 8.746 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.815e-05/0.2702, allocations: 61 kB / 0.6031 GB, free: 8.688 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.002265/0.2725, allocations: 1.496 MB / 0.6046 GB, free: 7.199 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.2726, allocations: 158 kB / 0.6048 GB, free: 7.047 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.502e-05/0.2727, allocations: 18.98 kB / 0.6048 GB, free: 7.031 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.171e-05/0.2727, allocations: 67.64 kB / 0.6048 GB, free: 6.965 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.2729, allocations: 159.5 kB / 0.605 GB, free: 6.809 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.2729, allocations: 17.38 kB / 0.605 GB, free: 6.793 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001879/0.2748, allocations: 2.207 MB / 0.6072 GB, free: 4.582 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.2749, allocations: 280.8 kB / 0.6074 GB, free: 4.305 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.2751, allocations: 306.1 kB / 0.6077 GB, free: 4.004 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001536/0.2766, allocations: 2.179 MB / 0.6099 GB, free: 1.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.2767, allocations: 1.344 kB / 0.6099 GB, free: 1.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2767, allocations: 0 / 0.6099 GB, free: 1.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.2767, allocations: 0 / 0.6099 GB, free: 1.82 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.007244/0.2839, allocations: 1.375 MB / 0.6112 GB, free: 404 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.641e-05/0.284, allocations: 9.031 kB / 0.6112 GB, free: 396 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003122/0.2843, allocations: 92.09 kB / 0.6113 GB, free: 304 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004041/0.2847, allocations: 411.4 kB / 0.6117 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.2847, allocations: 8.312 kB / 0.6117 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.919e-05/0.2848, allocations: 12.86 kB / 0.6117 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003706/0.2851, allocations: 385.8 kB / 0.6121 GB, free: 15.44 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.2852, allocations: 4 kB / 0.6121 GB, free: 15.43 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.2852, allocations: 0 / 0.6121 GB, free: 15.43 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.2852, allocations: 0 / 0.6121 GB, free: 15.43 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003859/0.2856, allocations: 446.3 kB / 0.6125 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005162/0.2861, allocations: 0.6653 MB / 0.6132 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005068/0.2866, allocations: 0.565 MB / 0.6137 GB, free: 13.7 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002716/0.2869, allocations: 334.2 kB / 0.614 GB, free: 13.37 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009126/0.2878, allocations: 1.035 MB / 0.615 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000347/0.2882, allocations: 402.8 kB / 0.6154 GB, free: 11.71 MB / 462.1 MB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.2882, allocations: 1.656 kB / 0.6154 GB, free: 11.71 MB / 462.1 MB Notification: Performance of matching and sorting (n=8): time 0.00117/0.2894, allocations: 1.294 MB / 0.6167 GB, free: 10.41 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.2894, allocations: 81.09 kB / 0.6168 GB, free: 10.31 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.2905, allocations: 1.301 MB / 0.618 GB, free: 9 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.2905, allocations: 30.45 kB / 0.6181 GB, free: 8.965 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.2907, allocations: 286.1 kB / 0.6183 GB, free: 8.68 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.2908, allocations: 23.78 kB / 0.6184 GB, free: 8.656 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002876/0.2911, allocations: 352.8 kB / 0.6187 GB, free: 8.309 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.2912, allocations: 318 kB / 0.619 GB, free: 7.992 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/0.2923, allocations: 1.375 MB / 0.6203 GB, free: 6.617 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.2935, allocations: 1.504 MB / 0.6218 GB, free: 5.105 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006497/0.3, allocations: 3.556 MB / 0.6253 GB, free: 1.457 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3, allocations: 0 / 0.6253 GB, free: 1.457 MB / 462.1 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003637/0.3036, allocations: 4.028 MB / 0.6292 GB, free: 13.4 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.3037, allocations: 6.031 kB / 0.6292 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.3037, allocations: 8 kB / 0.6292 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.3037, allocations: 0 / 0.6292 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.3038, allocations: 17.3 kB / 0.6292 GB, free: 13.37 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.3038, allocations: 4 kB / 0.6292 GB, free: 13.37 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004091/0.3043, allocations: 224.3 kB / 0.6295 GB, free: 13.14 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.324e-05/0.3043, allocations: 28.86 kB / 0.6295 GB, free: 13.12 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.0002479/0.3046, allocations: 246.3 kB / 0.6297 GB, free: 12.87 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.541e-05/0.3046, allocations: 83.17 kB / 0.6298 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000232/0.3049, allocations: 77.61 kB / 0.6299 GB, free: 12.71 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.696e-06/0.3049, allocations: 0 / 0.6299 GB, free: 12.71 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3049, allocations: 8.703 kB / 0.6299 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3049, allocations: 0 / 0.6299 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003975/0.3053, allocations: 0.5156 MB / 0.6304 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3053, allocations: 0 / 0.6304 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.648e-05/0.3054, allocations: 11.88 kB / 0.6304 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3054, allocations: 0 / 0.6304 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.3054, allocations: 8.703 kB / 0.6304 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3054, allocations: 0 / 0.6304 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3054, allocations: 1.156 kB / 0.6304 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007965/0.3062, allocations: 1.008 MB / 0.6314 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.3063, allocations: 163.7 kB / 0.6315 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.611e-05/0.3064, allocations: 0.5625 kB / 0.6316 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.3066, allocations: 5.781 kB / 0.6316 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.3066, allocations: 11.98 kB / 0.6316 GB, free: 10.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.3066, allocations: 15.97 kB / 0.6316 GB, free: 10.88 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00069/0.3073, allocations: 0.7267 MB / 0.6323 GB, free: 10.15 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3073, allocations: 0.9062 kB / 0.6323 GB, free: 10.15 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001161/0.3085, allocations: 0.5779 MB / 0.6329 GB, free: 9.574 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.001463/0.31, allocations: 0.6969 MB / 0.6335 GB, free: 8.898 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001991/0.312, allocations: 2.548 MB / 0.636 GB, free: 6.336 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.312, allocations: 3.688 kB / 0.636 GB, free: 6.336 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002887/0.3123, allocations: 339.8 kB / 0.6364 GB, free: 6.004 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.3126, allocations: 67.52 kB / 0.6364 GB, free: 5.941 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.3145, allocations: 1.859 MB / 0.6382 GB, free: 4.062 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004666/0.315, allocations: 0.9839 MB / 0.6392 GB, free: 3.055 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001288/0.3151, allocations: 41.67 kB / 0.6392 GB, free: 3.016 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.786e-05/0.3152, allocations: 27.42 kB / 0.6393 GB, free: 2.988 MB / 478.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3152, allocations: 4 kB / 0.6393 GB, free: 2.984 MB / 478.1 MB Notification: Performance of Templates: time 0.5239/0.8391, allocations: 14.31 MB / 0.6532 GB, free: 4.746 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 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)