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.001309/0.001309, allocations: 79.69 kB / 21.74 MB, free: 2.52 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.001617/0.001617, allocations: 172.9 kB / 25.18 MB, free: 9.117 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.9724/0.9724, allocations: 177.1 MB / 205.6 MB, free: 5.023 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.979/1.979, allocations: 389.6 MB / 0.6364 GB, free: 12.2 MB / 0.6042 GB " [Timeout remaining time 177] 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.774e-06/1.774e-06, allocations: 0 / 0.7756 GB, free: 5.879 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.676e-05, allocations: 6.25 kB / 0.7756 GB, free: 5.871 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002163/0.00219, allocations: 1.518 MB / 0.7771 GB, free: 4.367 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.005043/0.007233, allocations: 4.032 MB / 0.7811 GB, free: 352 kB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.547e-05/0.007318, allocations: 3.938 kB / 0.7811 GB, free: 348 kB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001295/0.007448, allocations: 8.891 kB / 0.7811 GB, free: 340 kB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002767/0.007725, allocations: 36.23 kB / 0.7811 GB, free: 304 kB / 0.7292 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.00328/0.011, allocations: 1.439 MB / 0.7825 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001459/0.01115, allocations: 92.31 kB / 0.7826 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.578e-05/0.0112, allocations: 15.97 kB / 0.7826 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.648e-05/0.01128, allocations: 57 kB / 0.7827 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.01139, allocations: 49.19 kB / 0.7827 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.01141, allocations: 4.906 kB / 0.7827 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003363/0.01477, allocations: 2.592 MB / 0.7852 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001859/0.01496, allocations: 254.3 kB / 0.7855 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.01508, allocations: 123.4 kB / 0.7856 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.003179/0.01826, allocations: 2.341 MB / 0.7879 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.01826, allocations: 0 / 0.7879 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.212e-06/0.01826, allocations: 0 / 0.7879 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.01827, allocations: 3.031 kB / 0.7879 GB, free: 9.348 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.001458/0.01973, allocations: 1.193 MB / 0.7891 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.01977, allocations: 17.33 kB / 0.7891 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002449/0.02002, allocations: 28.91 kB / 0.7891 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/0.02029, allocations: 294.4 kB / 0.7894 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.02031, allocations: 13.81 kB / 0.7894 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.859e-05/0.02034, allocations: 12.3 kB / 0.7894 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.02058, allocations: 232.5 kB / 0.7896 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.02058, allocations: 1.188 kB / 0.7896 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.02059, allocations: 384 / 0.7896 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.0206, allocations: 7.938 kB / 0.7896 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.02073, allocations: 193 kB / 0.7898 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002161/0.02094, allocations: 252.5 kB / 0.7901 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.02115, allocations: 282.2 kB / 0.7903 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.914e-05/0.02125, allocations: 161.9 kB / 0.7905 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000318/0.02157, allocations: 122.1 kB / 0.7906 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002024/0.02177, allocations: 232.9 kB / 0.7908 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.02177, allocations: 0 / 0.7908 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0004308/0.0222, allocations: 486.3 kB / 0.7913 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.02225, allocations: 85.89 kB / 0.7914 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005619/0.02281, allocations: 1.001 MB / 0.7924 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.02284, allocations: 30.36 kB / 0.7924 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.02297, allocations: 261.7 kB / 0.7926 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.023, allocations: 25.48 kB / 0.7927 GB, free: 4.297 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/0.02322, allocations: 335.2 kB / 0.793 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.407e-05/0.0233, allocations: 310 kB / 0.7933 GB, free: 3.656 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003449/0.02365, allocations: 0.5136 MB / 0.7938 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003668/0.02402, allocations: 0.6069 MB / 0.7944 GB, free: 2.527 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001531/0.02555, allocations: 2.236 MB / 0.7965 GB, free: 208 kB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.02555, allocations: 0 / 0.7965 GB, free: 208 kB / 0.7448 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002705/0.02826, allocations: 3.731 MB / 0.8002 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.02828, allocations: 4 kB / 0.8002 GB, free: 12.44 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/0.0283, allocations: 4 kB / 0.8002 GB, free: 12.44 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.02831, allocations: 0 / 0.8002 GB, free: 12.44 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.02843, allocations: 27.92 kB / 0.8002 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.02843, allocations: 0 / 0.8002 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002631/0.02869, allocations: 242.2 kB / 0.8005 GB, free: 12.17 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.355e-05/0.02873, allocations: 19.98 kB / 0.8005 GB, free: 12.15 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.0001427/0.02887, allocations: 125.6 kB / 0.8006 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.02889, allocations: 8 kB / 0.8006 GB, free: 12.01 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004933/0.02939, allocations: 371.4 kB / 0.801 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.02939, allocations: 5.969 kB / 0.801 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.0294, allocations: 0 / 0.801 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.0294, allocations: 3.938 kB / 0.801 GB, free: 11.63 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.02963, allocations: 286.7 kB / 0.8012 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.02963, allocations: 0 / 0.8012 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.75e-05/0.02969, allocations: 13.05 kB / 0.8013 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.02969, allocations: 0 / 0.8013 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.0297, allocations: 8 kB / 0.8013 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.0297, allocations: 1.969 kB / 0.8013 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.0297, allocations: 0 / 0.8013 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.02997, allocations: 382.8 kB / 0.8016 GB, free: 10.92 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.725e-05/0.03003, allocations: 79.34 kB / 0.8017 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.03006, allocations: 0.625 kB / 0.8017 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.513e-05/0.03013, allocations: 4 kB / 0.8017 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/0.03016, allocations: 13.86 kB / 0.8017 GB, free: 10.83 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.03018, allocations: 7.984 kB / 0.8017 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002382/0.03042, allocations: 395.7 kB / 0.8021 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.03042, allocations: 0 / 0.8021 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001301/0.03172, allocations: 0.589 MB / 0.8027 GB, free: 9.836 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.001584/0.03331, allocations: 0.8105 MB / 0.8035 GB, free: 9.062 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0007607/0.03407, allocations: 0.9746 MB / 0.8044 GB, free: 8.07 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.692e-05/0.03408, allocations: 8 kB / 0.8044 GB, free: 8.062 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003076/0.03439, allocations: 168.7 kB / 0.8046 GB, free: 7.895 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.03459, allocations: 33.22 kB / 0.8046 GB, free: 7.859 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.03591, allocations: 1.477 MB / 0.8061 GB, free: 6.344 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.03614, allocations: 356.9 kB / 0.8064 GB, free: 5.973 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.03627, allocations: 76.31 kB / 0.8065 GB, free: 5.898 MB / 0.7605 GB Notification: Performance of SimCode: time 1.323e-06/0.03627, allocations: 0 / 0.8065 GB, free: 5.898 MB / 0.7605 GB Notification: Performance of Templates: time 0.01803/0.0543, allocations: 14.1 MB / 0.8202 GB, free: 7.875 MB / 0.7761 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 > Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.9088895274326205]