Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 173.4 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.065/1.065, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001543/0.001543, allocations: 246.3 kB / 260.5 MB, free: 12.68 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7341/0.7341, allocations: 138.4 MB / 402.2 MB, free: 0.5625 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 462.4 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.644e-05/1.752e-05, allocations: 3.297 kB / 462.4 MB, free: 0.875 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002385/0.002402, allocations: 1.85 MB / 464.3 MB, free: 15.7 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.006114/0.008517, allocations: 5.198 MB / 469.5 MB, free: 11.53 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.008621, allocations: 4 kB / 469.5 MB, free: 11.53 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009538/0.009574, allocations: 365.4 kB / 469.8 MB, free: 11.17 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.009683, allocations: 68.59 kB / 469.9 MB, free: 11.11 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.002705/0.01239, allocations: 1.425 MB / 471.3 MB, free: 9.688 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000209/0.0126, allocations: 160.7 kB / 471.5 MB, free: 9.531 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.766e-05/0.01263, allocations: 7.406 kB / 471.5 MB, free: 9.527 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.499e-05/0.01272, allocations: 83.78 kB / 471.6 MB, free: 9.445 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.465e-05/0.01281, allocations: 58.41 kB / 471.6 MB, free: 9.391 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.01283, allocations: 4 kB / 471.6 MB, free: 9.387 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: 'inertia' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. Notification: Performance of NFFlatten.collectFunctions: time 0.003027/0.01586, allocations: 2.561 MB / 474.2 MB, free: 6.84 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.01602, allocations: 260.2 kB / 474.5 MB, free: 6.586 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.01613, allocations: 135.3 kB / 474.6 MB, free: 6.453 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002933/0.01907, allocations: 2.361 MB / 477 MB, free: 4.086 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.01907, allocations: 4 kB / 477 MB, free: 4.082 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01907, allocations: 0.9062 kB / 477 MB, free: 4.082 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.01907, allocations: 0 / 477 MB, free: 4.082 MB / 426.7 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.001227/0.0203, allocations: 1.278 MB / 478.2 MB, free: 2.777 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.818e-05/0.02033, allocations: 8.75 kB / 478.2 MB, free: 2.77 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002063/0.02054, allocations: 32.89 kB / 478.3 MB, free: 2.738 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.02082, allocations: 329.9 kB / 478.6 MB, free: 2.383 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.02083, allocations: 6.484 kB / 478.6 MB, free: 2.379 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.02085, allocations: 8.375 kB / 478.6 MB, free: 2.371 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.02105, allocations: 237.6 kB / 478.8 MB, free: 2.125 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.02106, allocations: 192 / 478.8 MB, free: 2.125 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.02107, allocations: 384 / 478.8 MB, free: 2.125 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.02107, allocations: 3.938 kB / 478.9 MB, free: 2.121 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.0212, allocations: 198.9 kB / 479 MB, free: 1.93 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002063/0.02141, allocations: 252.5 kB / 479.3 MB, free: 1.664 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.0216, allocations: 285.2 kB / 479.6 MB, free: 1.367 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.641e-05/0.0217, allocations: 157.7 kB / 479.7 MB, free: 1.207 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002879/0.02199, allocations: 131.2 kB / 479.9 MB, free: 1.086 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001787/0.02217, allocations: 226.8 kB / 480.1 MB, free: 0.8477 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.02217, allocations: 0 / 480.1 MB, free: 0.8477 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003938/0.02256, allocations: 498.1 kB / 480.6 MB, free: 364 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.02259, allocations: 77.61 kB / 480.6 MB, free: 268 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005799/0.02317, allocations: 1.057 MB / 481.7 MB, free: 15.19 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.0232, allocations: 35.27 kB / 481.7 MB, free: 15.15 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.02332, allocations: 273.7 kB / 482 MB, free: 14.88 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.02335, allocations: 27.78 kB / 482 MB, free: 14.85 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/0.02355, allocations: 331.2 kB / 482.3 MB, free: 14.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.187e-05/0.02362, allocations: 323.2 kB / 482.7 MB, free: 14.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003374/0.02396, allocations: 0.5136 MB / 483.2 MB, free: 13.69 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005919/0.02455, allocations: 0.5967 MB / 483.8 MB, free: 13.08 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/0.02603, allocations: 2.248 MB / 486 MB, free: 10.75 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.02603, allocations: 0 / 486 MB, free: 10.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002455/0.02849, allocations: 3.726 MB / 489.7 MB, free: 6.992 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.0285, allocations: 4 kB / 489.8 MB, free: 6.988 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.02852, allocations: 9 kB / 489.8 MB, free: 6.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.02853, allocations: 0 / 489.8 MB, free: 6.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.399e-05/0.02862, allocations: 24.77 kB / 489.8 MB, free: 6.957 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.02862, allocations: 0 / 489.8 MB, free: 6.957 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000246/0.02887, allocations: 242 kB / 490 MB, free: 6.719 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.0289, allocations: 16.55 kB / 490 MB, free: 6.703 MB / 442.7 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 (labels[1],cluSiz[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.0001288/0.02903, allocations: 127.8 kB / 490.2 MB, free: 6.57 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.02905, allocations: 16.83 kB / 490.2 MB, free: 6.555 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003065/0.02936, allocations: 367 kB / 490.5 MB, free: 6.191 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.02936, allocations: 11.48 kB / 490.5 MB, free: 6.184 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.02937, allocations: 0 / 490.5 MB, free: 6.184 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.02937, allocations: 3.938 kB / 490.6 MB, free: 6.18 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.0296, allocations: 311.8 kB / 490.9 MB, free: 5.859 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.0296, allocations: 0 / 490.9 MB, free: 5.859 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.622e-05/0.02964, allocations: 4 kB / 490.9 MB, free: 5.855 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.02964, allocations: 1.375 kB / 490.9 MB, free: 5.855 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.02965, allocations: 7.984 kB / 490.9 MB, free: 5.848 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.02965, allocations: 0 / 490.9 MB, free: 5.848 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.02965, allocations: 2.047 kB / 490.9 MB, free: 5.848 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000485/0.03014, allocations: 375.4 kB / 491.2 MB, free: 5.461 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.836e-05/0.03019, allocations: 95.17 kB / 491.3 MB, free: 5.367 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.03023, allocations: 4.625 kB / 491.3 MB, free: 5.363 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.771e-05/0.0303, allocations: 8.656 kB / 491.3 MB, free: 5.355 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.588e-05/0.03032, allocations: 7.984 kB / 491.4 MB, free: 5.348 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.03035, allocations: 8.766 kB / 491.4 MB, free: 5.34 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002769/0.03062, allocations: 429.9 kB / 491.8 MB, free: 4.918 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.03062, allocations: 0 / 491.8 MB, free: 4.918 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001044/0.03167, allocations: 0.5884 MB / 492.4 MB, free: 4.328 MB / 442.7 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.001358/0.03302, allocations: 0.8215 MB / 493.2 MB, free: 3.57 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006894/0.03371, allocations: 0.9671 MB / 494.2 MB, free: 2.586 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/0.03372, allocations: 12 kB / 494.2 MB, free: 2.574 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.03383, allocations: 164.7 kB / 494.3 MB, free: 2.41 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.03405, allocations: 57.14 kB / 494.4 MB, free: 2.359 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.0353, allocations: 1.543 MB / 495.9 MB, free: 0.7891 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.03541, allocations: 191.6 kB / 496.1 MB, free: 0.582 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 9.32e-05/0.03551, allocations: 36.7 kB / 496.2 MB, free: 0.5586 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.03565, allocations: 91.84 kB / 496.2 MB, free: 484 kB / 442.7 MB Notification: Performance of SimCode: time 1.403e-06/0.03565, allocations: 0 / 496.2 MB, free: 484 kB / 442.7 MB Notification: Performance of Templates: time 0.01919/0.05484, allocations: 16.21 MB / 0.5004 GB, free: 0.7344 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.179802522994578]