Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.001/2.001, allocations: 287.5 MB / 302.6 MB, free: 8.137 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.001052/0.001052, allocations: 188.6 kB / 371.2 MB, free: 10.82 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.378/1.378, allocations: 205.4 MB / 0.6298 GB, free: 10.56 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.0007994/0.0007995, allocations: 96.92 kB / 0.7432 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003583/0.0003584, allocations: 12.77 kB / 0.8661 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1749, allocations: 115.3 MB / 0.9787 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001108/0.1761, allocations: 1.115 MB / 0.9798 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003282/0.1794, allocations: 2.852 MB / 0.9826 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4e-05/0.1794, allocations: 0 / 0.9826 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.26e-05/0.1796, allocations: 15.92 kB / 0.9826 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001852/0.1797, allocations: 31.84 kB / 0.9826 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.1815, allocations: 0.748 MB / 0.9834 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.755e-05/0.1816, allocations: 87.72 kB / 0.9835 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.1817, allocations: 8 kB / 0.9835 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.288e-05/0.1818, allocations: 43.84 kB / 0.9835 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.182, allocations: 235.7 kB / 0.9837 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.89e-05/0.182, allocations: 12 kB / 0.9837 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.1836, allocations: 1.306 MB / 0.985 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000474/0.1841, allocations: 0.7132 MB / 0.9857 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.1842, allocations: 173 kB / 0.9859 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.1853, allocations: 1.181 MB / 0.987 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1854, allocations: 0 / 0.987 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1854, allocations: 0 / 0.987 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.362e-05/0.1854, allocations: 4 kB / 0.987 GB, free: 19.61 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.009145/0.1945, allocations: 1.593 MB / 0.9886 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.1946, allocations: 12.03 kB / 0.9886 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003303/0.1949, allocations: 142.9 kB / 0.9887 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003689/0.1953, allocations: 0.5173 MB / 0.9892 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.1953, allocations: 12.31 kB / 0.9893 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.806e-05/0.1954, allocations: 4.375 kB / 0.9893 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003215/0.1957, allocations: 391.5 kB / 0.9896 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.1957, allocations: 0 / 0.9896 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.1957, allocations: 4 kB / 0.9896 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.1957, allocations: 8 kB / 0.9896 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000314/0.196, allocations: 435.7 kB / 0.9901 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005258/0.1966, allocations: 0.8035 MB / 0.9908 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003668/0.197, allocations: 0.5555 MB / 0.9914 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/0.1972, allocations: 337.7 kB / 0.9917 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007075/0.1979, allocations: 1.048 MB / 0.9927 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002897/0.1982, allocations: 404.8 kB / 0.9931 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.1982, allocations: 0 / 0.9931 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0009638/0.1992, allocations: 1.343 MB / 0.9944 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.1992, allocations: 81.09 kB / 0.9945 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/0.2006, allocations: 1.842 MB / 0.9963 GB, free: 9.566 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.2006, allocations: 33.77 kB / 0.9963 GB, free: 9.527 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000236/0.2008, allocations: 477.3 kB / 0.9968 GB, free: 9.055 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.2009, allocations: 19.75 kB / 0.9968 GB, free: 9.035 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.991e-05/0.2009, allocations: 4 kB / 0.9968 GB, free: 9.031 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.742e-05/0.201, allocations: 411 kB / 0.9972 GB, free: 8.625 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009326/0.2019, allocations: 1.506 MB / 0.9987 GB, free: 7.117 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009964/0.2029, allocations: 1.646 MB / 1 GB, free: 5.461 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007233/0.2102, allocations: 3.658 MB / 1.004 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2102, allocations: 0 / 1.004 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004066/0.2143, allocations: 4.308 MB / 1.008 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.2143, allocations: 4 kB / 1.008 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.2143, allocations: 4.031 kB / 1.008 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.2143, allocations: 4 kB / 1.008 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.2145, allocations: 15.98 kB / 1.008 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.2145, allocations: 0 / 1.008 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000518/0.215, allocations: 228.3 kB / 1.008 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.475e-05/0.2151, allocations: 23.98 kB / 1.008 GB, free: 13.09 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.000408/0.2155, allocations: 370.8 kB / 1.009 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.342e-05/0.2156, allocations: 134 kB / 1.009 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003283/0.2159, allocations: 141.1 kB / 1.009 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.2159, allocations: 4 kB / 1.009 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.2159, allocations: 0 / 1.009 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.2159, allocations: 0 / 1.009 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006062/0.2166, allocations: 0.6793 MB / 1.01 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2166, allocations: 0 / 1.01 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.642e-05/0.2166, allocations: 11.92 kB / 1.01 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.2167, allocations: 11.97 kB / 1.01 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.2167, allocations: 0 / 1.01 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.2167, allocations: 0 / 1.01 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2167, allocations: 0 / 1.01 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009357/0.2176, allocations: 1.063 MB / 1.011 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001612/0.2178, allocations: 203.1 kB / 1.011 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.804e-05/0.2179, allocations: 0 / 1.011 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.2181, allocations: 7.984 kB / 1.011 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.948e-05/0.2181, allocations: 4 kB / 1.011 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/0.2182, allocations: 15.97 kB / 1.011 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.00118/0.2194, allocations: 1.1 MB / 1.012 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2194, allocations: 0 / 1.012 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009741/0.2204, allocations: 431.9 kB / 1.012 GB, free: 8.793 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.001199/0.2216, allocations: 478.8 kB / 1.013 GB, free: 8.316 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002322/0.2239, allocations: 2.652 MB / 1.015 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2239, allocations: 0 / 1.015 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003233/0.2242, allocations: 339.8 kB / 1.016 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004387/0.2247, allocations: 54.47 kB / 1.016 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003071/0.2278, allocations: 2.714 MB / 1.018 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007624/0.2285, allocations: 1.157 MB / 1.02 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001749/0.2287, allocations: 32.56 kB / 1.02 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.425e-05/0.2288, allocations: 27.41 kB / 1.02 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of SimCode: time 3.91e-07/0.2288, allocations: 0 / 1.02 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of Templates: time 0.01756/0.2464, allocations: 9.513 MB / 1.029 GB, free: 7.801 MB / 0.6511 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)