Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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.00144/0.00144, allocations: 80.75 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.001809/0.001809, allocations: 181 kB / 23.35 MB, free: 1.137 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.032/1.032, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.001681/0.001681, allocations: 247.1 kB / 260.5 MB, free: 12.69 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.7218/0.7218, allocations: 138.4 MB / 402.2 MB, free: 0.543 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_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.552e-06/1.552e-06, allocations: 0 / 462.4 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.473e-05/1.628e-05, allocations: 3.719 kB / 462.5 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001726/0.001742, allocations: 1.517 MB / 464 MB, free: 15.85 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004679/0.006421, allocations: 4.033 MB / 468 MB, free: 12.95 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.836e-05/0.00646, allocations: 5.312 kB / 468 MB, free: 12.95 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 8.931e-05/0.006549, allocations: 11.92 kB / 468 MB, free: 12.93 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001791/0.006728, allocations: 32.55 kB / 468 MB, free: 12.9 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.00203/0.008758, allocations: 1.423 MB / 469.5 MB, free: 11.48 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.008862, allocations: 96.16 kB / 469.6 MB, free: 11.39 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.248e-05/0.008895, allocations: 10.64 kB / 469.6 MB, free: 11.38 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.907e-05/0.008964, allocations: 59.88 kB / 469.6 MB, free: 11.32 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.902e-05/0.009053, allocations: 53.17 kB / 469.7 MB, free: 11.27 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.009067, allocations: 4 kB / 469.7 MB, free: 11.27 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.002285/0.01135, allocations: 2.557 MB / 472.2 MB, free: 8.727 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.01148, allocations: 251.3 kB / 472.5 MB, free: 8.48 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003229/0.0118, allocations: 120.4 kB / 472.6 MB, free: 8.363 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001668/0.01347, allocations: 2.322 MB / 474.9 MB, free: 6.035 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.01347, allocations: 10.03 kB / 474.9 MB, free: 6.027 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.01347, allocations: 0 / 474.9 MB, free: 6.027 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.01348, allocations: 0 / 474.9 MB, free: 6.027 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.0009902/0.01447, allocations: 1.202 MB / 476.1 MB, free: 4.801 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.719e-05/0.0145, allocations: 8.75 kB / 476.2 MB, free: 4.793 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000188/0.01468, allocations: 34.14 kB / 476.2 MB, free: 4.762 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.01492, allocations: 291.2 kB / 476.5 MB, free: 4.441 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.01493, allocations: 12.34 kB / 476.5 MB, free: 4.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.01496, allocations: 8.375 kB / 476.5 MB, free: 4.422 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.01514, allocations: 231.3 kB / 476.7 MB, free: 4.184 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.01515, allocations: 192 / 476.7 MB, free: 4.184 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.01515, allocations: 5.438 kB / 476.7 MB, free: 4.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.01516, allocations: 3.938 kB / 476.7 MB, free: 4.176 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.01528, allocations: 198.2 kB / 476.9 MB, free: 3.984 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001868/0.01547, allocations: 252.6 kB / 477.2 MB, free: 3.719 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.01564, allocations: 281 kB / 477.4 MB, free: 3.422 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.563e-05/0.01574, allocations: 154.4 kB / 477.6 MB, free: 3.266 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002635/0.016, allocations: 132.8 kB / 477.7 MB, free: 3.145 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/0.01617, allocations: 228.9 kB / 477.9 MB, free: 2.902 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.01618, allocations: 0.6875 kB / 477.9 MB, free: 2.902 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003623/0.01654, allocations: 495.3 kB / 478.4 MB, free: 2.414 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.01657, allocations: 81.11 kB / 478.5 MB, free: 2.316 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005049/0.01707, allocations: 0.9973 MB / 479.5 MB, free: 1.305 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.0171, allocations: 29.7 kB / 479.5 MB, free: 1.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003467/0.01744, allocations: 261.7 kB / 479.8 MB, free: 1.008 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.01747, allocations: 24.72 kB / 479.8 MB, free: 0.9844 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001915/0.01766, allocations: 331.2 kB / 480.1 MB, free: 0.6562 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.974e-05/0.01773, allocations: 319.9 kB / 480.5 MB, free: 348 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003208/0.01805, allocations: 0.508 MB / 481 MB, free: 15.83 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000341/0.01839, allocations: 0.6031 MB / 481.6 MB, free: 15.22 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001598/0.01999, allocations: 2.24 MB / 483.8 MB, free: 12.89 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.01999, allocations: 0 / 483.8 MB, free: 12.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002471/0.02247, allocations: 3.727 MB / 487.5 MB, free: 9.133 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.02248, allocations: 4 kB / 487.5 MB, free: 9.129 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.02249, allocations: 0 / 487.5 MB, free: 9.129 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.0225, allocations: 7 kB / 487.5 MB, free: 9.125 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.844e-05/0.02259, allocations: 19.98 kB / 487.6 MB, free: 9.105 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.02259, allocations: 6.969 kB / 487.6 MB, free: 9.102 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.02283, allocations: 245.2 kB / 487.8 MB, free: 8.859 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.02286, allocations: 23.98 kB / 487.8 MB, free: 8.836 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.0001092/0.02297, allocations: 116.6 kB / 487.9 MB, free: 8.711 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.02299, allocations: 11.98 kB / 488 MB, free: 8.699 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002823/0.02327, allocations: 371.4 kB / 488.3 MB, free: 8.332 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.02327, allocations: 0.7812 kB / 488.3 MB, free: 8.332 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.02327, allocations: 0 / 488.3 MB, free: 8.332 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.02328, allocations: 8.719 kB / 488.3 MB, free: 8.324 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.02346, allocations: 286.7 kB / 488.6 MB, free: 8.027 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.02346, allocations: 0.6562 kB / 488.6 MB, free: 8.027 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.405e-05/0.0235, allocations: 12.55 kB / 488.6 MB, free: 8.016 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.0235, allocations: 1 kB / 488.6 MB, free: 8.016 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.0235, allocations: 0 / 488.6 MB, free: 8.016 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.02351, allocations: 5.344 kB / 488.6 MB, free: 8.012 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.02351, allocations: 5.734 kB / 488.6 MB, free: 8.008 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.02375, allocations: 374.9 kB / 489 MB, free: 7.621 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002797/0.02403, allocations: 80.72 kB / 489.1 MB, free: 7.543 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.193e-05/0.02406, allocations: 4 kB / 489.1 MB, free: 7.539 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.954e-05/0.02412, allocations: 3.984 kB / 489.1 MB, free: 7.535 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.43e-05/0.02414, allocations: 7.984 kB / 489.1 MB, free: 7.527 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.02417, allocations: 13.14 kB / 489.1 MB, free: 7.516 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002385/0.0244, allocations: 395.7 kB / 489.5 MB, free: 7.121 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0244, allocations: 0.9375 kB / 489.5 MB, free: 7.121 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006783/0.02508, allocations: 0.5767 MB / 490.1 MB, free: 6.543 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.001165/0.02625, allocations: 0.8266 MB / 490.9 MB, free: 5.785 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000669/0.02692, allocations: 0.9652 MB / 491.9 MB, free: 4.801 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/0.02692, allocations: 12 kB / 491.9 MB, free: 4.789 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.02703, allocations: 161.5 kB / 492 MB, free: 4.629 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.02718, allocations: 41.22 kB / 492.1 MB, free: 4.59 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.02822, allocations: 1.441 MB / 493.5 MB, free: 3.121 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.02832, allocations: 187.1 kB / 493.7 MB, free: 2.918 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.668e-05/0.02839, allocations: 30.05 kB / 493.7 MB, free: 2.898 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.02851, allocations: 71.34 kB / 493.8 MB, free: 2.832 MB / 442.7 MB Notification: Performance of SimCode: time 9.02e-07/0.02851, allocations: 0 / 493.8 MB, free: 2.832 MB / 442.7 MB Notification: Performance of Templates: time 0.01683/0.04535, allocations: 15.46 MB / 0.4973 GB, free: 3.824 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.170782349072397]