Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.612/1.612, allocations: 288.4 MB / 303.7 MB, free: 8.086 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000934/0.0009342, allocations: 179.8 kB / 372.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.633/1.633, allocations: 205.4 MB / 0.631 GB, free: 9.809 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009469/0.0009469, allocations: 98.84 kB / 0.7444 GB, free: 5.699 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004421/0.0004421, allocations: 21.22 kB / 0.8676 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1805, allocations: 115.3 MB / 0.9802 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001214/0.1817, allocations: 1.115 MB / 0.9813 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00338/0.1851, allocations: 2.848 MB / 0.984 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.1e-05/0.1852, allocations: 4 kB / 0.9841 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.1853, allocations: 7.922 kB / 0.9841 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002236/0.1856, allocations: 31.84 kB / 0.9841 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001731/0.1873, allocations: 0.7604 MB / 0.9848 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.719e-05/0.1874, allocations: 91.72 kB / 0.9849 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.258e-05/0.1875, allocations: 0 / 0.9849 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.403e-05/0.1875, allocations: 47.83 kB / 0.985 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.1877, allocations: 171.7 kB / 0.9851 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.343e-05/0.1878, allocations: 16 kB / 0.9851 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001435/0.1892, allocations: 1.33 MB / 0.9864 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.1894, allocations: 263.2 kB / 0.9867 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.1895, allocations: 279.6 kB / 0.987 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000799/0.1903, allocations: 0.9942 MB / 0.9879 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1903, allocations: 4 kB / 0.9879 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1903, allocations: 0 / 0.9879 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.503e-06/0.1904, allocations: 0 / 0.9879 GB, free: 19.33 MB / 0.6198 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.00869/0.1991, allocations: 1.152 MB / 0.9891 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.1991, allocations: 8.031 kB / 0.9891 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002946/0.1994, allocations: 87.69 kB / 0.9892 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.1997, allocations: 360.9 kB / 0.9895 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.1997, allocations: 8.359 kB / 0.9895 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.542e-05/0.1998, allocations: 12.36 kB / 0.9895 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003107/0.2001, allocations: 387.5 kB / 0.9899 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.2001, allocations: 3.938 kB / 0.9899 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.2001, allocations: 0 / 0.9899 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.2001, allocations: 0 / 0.9899 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003059/0.2005, allocations: 443.7 kB / 0.9903 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.2008, allocations: 0.6286 MB / 0.9909 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003575/0.2012, allocations: 0.5633 MB / 0.9915 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002147/0.2014, allocations: 341.7 kB / 0.9918 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007187/0.2022, allocations: 1.036 MB / 0.9928 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002953/0.2025, allocations: 416.8 kB / 0.9932 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/0.2025, allocations: 0 / 0.9932 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0008969/0.2034, allocations: 1.285 MB / 0.9945 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.2034, allocations: 89.17 kB / 0.9946 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007932/0.2042, allocations: 1.19 MB / 0.9957 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.2043, allocations: 33.69 kB / 0.9957 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.2044, allocations: 253.4 kB / 0.996 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.2044, allocations: 23.7 kB / 0.996 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.086e-05/0.2044, allocations: 8 kB / 0.996 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.386e-05/0.2045, allocations: 411.8 kB / 0.9964 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000832/0.2054, allocations: 1.361 MB / 0.9977 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008823/0.2063, allocations: 1.497 MB / 0.9992 GB, free: 7.285 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007142/0.2135, allocations: 3.502 MB / 1.003 GB, free: 3.695 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.513e-06/0.2135, allocations: 3.938 kB / 1.003 GB, free: 3.691 MB / 0.6198 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003685/0.2172, allocations: 3.949 MB / 1.006 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.2173, allocations: 4 kB / 1.006 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.2173, allocations: 0 / 1.006 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.2173, allocations: 4 kB / 1.006 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.2175, allocations: 23.92 kB / 1.007 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.2175, allocations: 0 / 1.007 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005557/0.218, allocations: 236.2 kB / 1.007 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-05/0.2181, allocations: 19.98 kB / 1.007 GB, free: 15.42 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003147/0.2184, allocations: 241.7 kB / 1.007 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.19e-05/0.2185, allocations: 70.72 kB / 1.007 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002835/0.2188, allocations: 74.83 kB / 1.007 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.2188, allocations: 4 kB / 1.007 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2188, allocations: 0 / 1.007 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.2188, allocations: 0 / 1.007 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004359/0.2193, allocations: 496.8 kB / 1.008 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.2193, allocations: 4 kB / 1.008 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.515e-05/0.2193, allocations: 7.938 kB / 1.008 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.2194, allocations: 0 / 1.008 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.2194, allocations: 7.984 kB / 1.008 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.2194, allocations: 4 kB / 1.008 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.2194, allocations: 0 / 1.008 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009157/0.2203, allocations: 1.005 MB / 1.009 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.2204, allocations: 163.8 kB / 1.009 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.476e-05/0.2205, allocations: 0 / 1.009 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.2206, allocations: 4 kB / 1.009 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/0.2207, allocations: 11.98 kB / 1.009 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.879e-05/0.2207, allocations: 11.98 kB / 1.009 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006862/0.2214, allocations: 0.6609 MB / 1.009 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2214, allocations: 0 / 1.009 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001047/0.2225, allocations: 395.9 kB / 1.01 GB, free: 12.17 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001208/0.2237, allocations: 482.8 kB / 1.01 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00229/0.226, allocations: 2.499 MB / 1.013 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.226, allocations: 0 / 1.013 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003447/0.2264, allocations: 339.8 kB / 1.013 GB, free: 8.852 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.2267, allocations: 36.42 kB / 1.013 GB, free: 8.816 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002047/0.2288, allocations: 1.837 MB / 1.015 GB, free: 6.949 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005126/0.2293, allocations: 0.9562 MB / 1.016 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001745/0.2295, allocations: 40.55 kB / 1.016 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.991e-05/0.2296, allocations: 23.42 kB / 1.016 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of SimCode: time 4.51e-07/0.2296, allocations: 3.938 kB / 1.016 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of Templates: time 0.01577/0.2454, allocations: 8.967 MB / 1.025 GB, free: 12.98 MB / 0.6511 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)