Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001244/0.001244, allocations: 80.94 kB / 21.55 MB, free: 2.949 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.0009644/0.0009644, allocations: 162.7 kB / 24.96 MB, free: 8.711 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 0.8602/0.8602, allocations: 177.1 MB / 205.4 MB, free: 4.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.867/1.867, allocations: 389.6 MB / 0.6361 GB, free: 13.39 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.7761 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.16e-05/1.278e-05, allocations: 6.25 kB / 0.7761 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001647/0.00166, allocations: 1.524 MB / 0.7776 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004395/0.006055, allocations: 4.027 MB / 0.7815 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.695e-05/0.006102, allocations: 3.938 kB / 0.7815 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.993e-05/0.006202, allocations: 15.86 kB / 0.7815 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001948/0.006397, allocations: 39.72 kB / 0.7816 GB, free: 8.219 MB / 0.7448 GB [/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.002538/0.008935, allocations: 1.441 MB / 0.783 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.00905, allocations: 95.66 kB / 0.7831 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.365e-05/0.009084, allocations: 4 kB / 0.7831 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.979e-05/0.009153, allocations: 55.88 kB / 0.7831 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.508e-05/0.009248, allocations: 53.17 kB / 0.7832 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.009263, allocations: 4 kB / 0.7832 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002955/0.01222, allocations: 2.596 MB / 0.7857 GB, free: 3.969 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.01235, allocations: 243.3 kB / 0.7859 GB, free: 3.73 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.157e-05/0.01244, allocations: 123.4 kB / 0.7861 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002094/0.01454, allocations: 2.345 MB / 0.7883 GB, free: 1.258 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.01454, allocations: 0 / 0.7883 GB, free: 1.258 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.402e-06/0.01454, allocations: 4 kB / 0.7883 GB, free: 1.254 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.01455, allocations: 0 / 0.7883 GB, free: 1.254 MB / 0.7448 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.001218/0.01576, allocations: 1.212 MB / 0.7895 GB, free: 12 kB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.789e-05/0.01579, allocations: 8.031 kB / 0.7895 GB, free: 4 kB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002205/0.01601, allocations: 32.84 kB / 0.7896 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.01624, allocations: 290.5 kB / 0.7898 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-06/0.01625, allocations: 384 / 0.7898 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.01627, allocations: 12.36 kB / 0.7899 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.01646, allocations: 228.5 kB / 0.7901 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.01647, allocations: 192 / 0.7901 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.01648, allocations: 384 / 0.7901 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.01648, allocations: 3.938 kB / 0.7901 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.0166, allocations: 199.8 kB / 0.7903 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001966/0.0168, allocations: 252.5 kB / 0.7905 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.01697, allocations: 293.1 kB / 0.7908 GB, free: 14.63 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.944e-05/0.01706, allocations: 157.7 kB / 0.7909 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002732/0.01733, allocations: 131.8 kB / 0.7911 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/0.01751, allocations: 225 kB / 0.7913 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.01751, allocations: 0 / 0.7913 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of matching and sorting (n=8): time 0.0004073/0.01792, allocations: 497.3 kB / 0.7918 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.01796, allocations: 85.09 kB / 0.7918 GB, free: 13.51 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007264/0.01869, allocations: 1.001 MB / 0.7928 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.01872, allocations: 29.7 kB / 0.7928 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.01882, allocations: 257.8 kB / 0.7931 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.01886, allocations: 27.77 kB / 0.7931 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/0.01907, allocations: 335.2 kB / 0.7934 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 7.996e-05/0.01915, allocations: 318 kB / 0.7937 GB, free: 11.53 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003328/0.01948, allocations: 0.5058 MB / 0.7942 GB, free: 11.02 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003643/0.01985, allocations: 0.6031 MB / 0.7948 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.02138, allocations: 2.24 MB / 0.797 GB, free: 8.074 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.02138, allocations: 0 / 0.797 GB, free: 8.074 MB / 0.7605 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002463/0.02385, allocations: 3.721 MB / 0.8006 GB, free: 4.324 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.02386, allocations: 4 kB / 0.8006 GB, free: 4.32 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.02388, allocations: 0 / 0.8006 GB, free: 4.32 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.02389, allocations: 4 kB / 0.8007 GB, free: 4.316 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.404e-05/0.02398, allocations: 23.92 kB / 0.8007 GB, free: 4.293 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.02399, allocations: 4 kB / 0.8007 GB, free: 4.289 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.02423, allocations: 249.3 kB / 0.8009 GB, free: 4.043 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.097e-05/0.02426, allocations: 20.3 kB / 0.8009 GB, free: 4.023 MB / 0.7605 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 (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.0001178/0.02438, allocations: 120.7 kB / 0.8011 GB, free: 3.895 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.857e-05/0.02439, allocations: 4 kB / 0.8011 GB, free: 3.891 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002998/0.02469, allocations: 378.8 kB / 0.8014 GB, free: 3.512 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.0247, allocations: 0 / 0.8014 GB, free: 3.512 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.0247, allocations: 0 / 0.8014 GB, free: 3.512 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.02471, allocations: 3.938 kB / 0.8014 GB, free: 3.508 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.0249, allocations: 298.8 kB / 0.8017 GB, free: 3.199 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.02491, allocations: 0 / 0.8017 GB, free: 3.199 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.655e-05/0.02494, allocations: 11.98 kB / 0.8017 GB, free: 3.188 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.02494, allocations: 0 / 0.8017 GB, free: 3.188 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.02495, allocations: 0 / 0.8017 GB, free: 3.188 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.02495, allocations: 0 / 0.8017 GB, free: 3.188 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.02495, allocations: 4 kB / 0.8017 GB, free: 3.184 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.02518, allocations: 374.8 kB / 0.8021 GB, free: 2.797 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.745e-05/0.02522, allocations: 83.23 kB / 0.8022 GB, free: 2.715 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.939e-05/0.02525, allocations: 8 kB / 0.8022 GB, free: 2.707 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.654e-05/0.02531, allocations: 4 kB / 0.8022 GB, free: 2.703 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.591e-05/0.02533, allocations: 11.97 kB / 0.8022 GB, free: 2.691 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.02536, allocations: 15.97 kB / 0.8022 GB, free: 2.676 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002258/0.02558, allocations: 387.8 kB / 0.8026 GB, free: 2.289 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.4e-07/0.02558, allocations: 0 / 0.8026 GB, free: 2.289 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0009256/0.02651, allocations: 0.5845 MB / 0.8031 GB, free: 1.703 MB / 0.7605 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.001216/0.02773, allocations: 0.8073 MB / 0.8039 GB, free: 0.9258 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.2693/0.297, allocations: 0.9698 MB / 0.8049 GB, free: 34.06 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.957e-05/0.297, allocations: 10.81 kB / 0.8049 GB, free: 34.06 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.2972, allocations: 162.6 kB / 0.805 GB, free: 34.05 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.2975, allocations: 36.56 kB / 0.8051 GB, free: 34.05 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.2988, allocations: 1.439 MB / 0.8065 GB, free: 33.47 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/0.2989, allocations: 186 kB / 0.8067 GB, free: 33.4 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001063/0.299, allocations: 30.16 kB / 0.8067 GB, free: 33.4 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.2991, allocations: 77.14 kB / 0.8068 GB, free: 33.36 MB / 0.7605 GB Notification: Performance of SimCode: time 1.172e-06/0.2991, allocations: 1.75 kB / 0.8068 GB, free: 33.36 MB / 0.7605 GB Notification: Performance of Templates: time 0.01876/0.3179, allocations: 15.51 MB / 0.8219 GB, free: 31.52 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.397745489142835]