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.001067/0.001067, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001163/0.001163, allocations: 161 kB / 24.16 MB, free: 336 kB / 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.9579/0.9579, allocations: 177.1 MB / 204.6 MB, free: 5.473 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.877/1.877, allocations: 389.6 MB / 0.6354 GB, free: 12.29 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 2.715e-06/2.715e-06, allocations: 4 kB / 0.7752 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.367e-05, allocations: 3.781 kB / 0.7753 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.005371/0.005394, allocations: 1.475 MB / 0.7767 GB, free: 3.828 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.004591/0.009985, allocations: 4.032 MB / 0.7806 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.498e-05/0.01004, allocations: 4 kB / 0.7806 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.01014, allocations: 12.8 kB / 0.7806 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002147/0.01036, allocations: 32.52 kB / 0.7807 GB, free: 15.76 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.00263/0.01299, allocations: 1.631 MB / 0.7823 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.0131, allocations: 95.67 kB / 0.7824 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.739e-05/0.01314, allocations: 13.25 kB / 0.7824 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.118e-05/0.01322, allocations: 55.88 kB / 0.7824 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.01333, allocations: 53.12 kB / 0.7825 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.01334, allocations: 5.188 kB / 0.7825 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00265/0.01599, allocations: 2.406 MB / 0.7848 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.01613, allocations: 251.3 kB / 0.7851 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.543e-05/0.01623, allocations: 124.6 kB / 0.7852 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001931/0.01816, allocations: 2.349 MB / 0.7875 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.01816, allocations: 0 / 0.7875 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.242e-06/0.01816, allocations: 1.062 kB / 0.7875 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.01817, allocations: 0 / 0.7875 GB, free: 8.797 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.001095/0.01926, allocations: 1.197 MB / 0.7887 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.01929, allocations: 17.33 kB / 0.7887 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/0.01948, allocations: 26.72 kB / 0.7887 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.01972, allocations: 294.5 kB / 0.789 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.01973, allocations: 4.375 kB / 0.789 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.01975, allocations: 9.812 kB / 0.789 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.01995, allocations: 228.5 kB / 0.7892 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.01996, allocations: 0.8438 kB / 0.7892 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-06/0.01996, allocations: 384 / 0.7892 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.01997, allocations: 8.625 kB / 0.7892 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.02009, allocations: 196.5 kB / 0.7894 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002073/0.0203, allocations: 256.5 kB / 0.7896 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.02048, allocations: 285.8 kB / 0.7899 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.246e-05/0.02058, allocations: 154.6 kB / 0.7901 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005146/0.02109, allocations: 128.9 kB / 0.7902 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001739/0.02126, allocations: 229.7 kB / 0.7904 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.02127, allocations: 0 / 0.7904 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0003691/0.02163, allocations: 490.4 kB / 0.7909 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.02167, allocations: 86.8 kB / 0.791 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005083/0.02218, allocations: 1.005 MB / 0.7919 GB, free: 4.066 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.0222, allocations: 29.7 kB / 0.792 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.02231, allocations: 257.7 kB / 0.7922 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.02234, allocations: 31.77 kB / 0.7922 GB, free: 3.742 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001888/0.02253, allocations: 332.3 kB / 0.7926 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.291e-05/0.02259, allocations: 314 kB / 0.7929 GB, free: 3.102 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000314/0.0229, allocations: 0.5114 MB / 0.7934 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003602/0.02326, allocations: 0.6031 MB / 0.794 GB, free: 1.977 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/0.02466, allocations: 2.232 MB / 0.7961 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.02466, allocations: 0.7812 kB / 0.7961 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002573/0.02723, allocations: 3.73 MB / 0.7998 GB, free: 11.9 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.02725, allocations: 4 kB / 0.7998 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.02726, allocations: 4 kB / 0.7998 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.02728, allocations: 4.484 kB / 0.7998 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.062e-05/0.02737, allocations: 27.2 kB / 0.7998 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.02737, allocations: 0 / 0.7998 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.0276, allocations: 241.3 kB / 0.8 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/0.02763, allocations: 23.98 kB / 0.8001 GB, free: 11.6 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.0001176/0.02775, allocations: 120.7 kB / 0.8002 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.84e-05/0.02776, allocations: 4 kB / 0.8002 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002924/0.02806, allocations: 375.3 kB / 0.8005 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.02806, allocations: 0 / 0.8005 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.02806, allocations: 1 kB / 0.8005 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.02806, allocations: 3.938 kB / 0.8005 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.02826, allocations: 288.9 kB / 0.8008 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.02826, allocations: 0 / 0.8008 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.433e-05/0.02829, allocations: 4 kB / 0.8008 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.0283, allocations: 4 kB / 0.8008 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.0283, allocations: 3.984 kB / 0.8008 GB, free: 10.78 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.0283, allocations: 0 / 0.8008 GB, free: 10.78 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.02831, allocations: 6.688 kB / 0.8008 GB, free: 10.78 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.02854, allocations: 378.9 kB / 0.8012 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.904e-05/0.02859, allocations: 87.27 kB / 0.8013 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.217e-05/0.02862, allocations: 0 / 0.8013 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.14e-05/0.02868, allocations: 4 kB / 0.8013 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.386e-05/0.02871, allocations: 11.98 kB / 0.8013 GB, free: 10.29 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.02873, allocations: 17.48 kB / 0.8013 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002401/0.02897, allocations: 391.7 kB / 0.8017 GB, free: 9.879 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.02897, allocations: 0 / 0.8017 GB, free: 9.879 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0008853/0.02986, allocations: 0.5845 MB / 0.8023 GB, free: 9.293 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.001231/0.03109, allocations: 0.8075 MB / 0.803 GB, free: 8.52 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006505/0.03174, allocations: 0.97 MB / 0.804 GB, free: 7.531 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.03175, allocations: 12 kB / 0.804 GB, free: 7.52 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003357/0.03208, allocations: 161.4 kB / 0.8042 GB, free: 7.359 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.03225, allocations: 45.47 kB / 0.8042 GB, free: 7.312 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.03332, allocations: 1.44 MB / 0.8056 GB, free: 5.84 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.918e-05/0.03342, allocations: 188 kB / 0.8058 GB, free: 5.637 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 7.48e-05/0.03349, allocations: 28.31 kB / 0.8058 GB, free: 5.613 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.0336, allocations: 71.34 kB / 0.8059 GB, free: 5.543 MB / 0.7605 GB Notification: Performance of SimCode: time 5.81e-07/0.0336, allocations: 0.875 kB / 0.8059 GB, free: 5.543 MB / 0.7605 GB Notification: Performance of Templates: time 0.0172/0.05081, allocations: 15.52 MB / 0.821 GB, free: 6.246 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 -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.461220764089376]