Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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_master_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.562/2.562, allocations: 287.9 MB / 302.9 MB, free: 8.34 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001414/0.001414, allocations: 175.7 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.064/2.064, allocations: 205.4 MB / 0.6301 GB, free: 10.4 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 92.31 kB / 0.7434 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004611/0.0004613, allocations: 12.28 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1526, allocations: 115.3 MB / 0.9788 GB, free: 28.15 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001319/0.1539, allocations: 1.103 MB / 0.9799 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004326/0.1583, allocations: 2.826 MB / 0.9826 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.108e-05/0.1584, allocations: 7.938 kB / 0.9826 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.1585, allocations: 0 / 0.9826 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.1587, allocations: 23.89 kB / 0.9827 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002326/0.161, allocations: 0.7196 MB / 0.9834 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.626e-05/0.1612, allocations: 63.8 kB / 0.9834 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.364e-05/0.1612, allocations: 0 / 0.9834 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.928e-05/0.1613, allocations: 31.91 kB / 0.9835 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002035/0.1615, allocations: 147.7 kB / 0.9836 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.316e-05/0.1616, allocations: 12 kB / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002057/0.1636, allocations: 1.256 MB / 0.9848 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.1638, allocations: 243.3 kB / 0.9851 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.323e-05/0.1639, allocations: 105.3 kB / 0.9852 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.1653, allocations: 0.9824 MB / 0.9861 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1653, allocations: 0 / 0.9861 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.503e-06/0.1654, allocations: 0 / 0.9861 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.683e-06/0.1654, allocations: 0 / 0.9861 GB, free: 20.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.009194/0.1746, allocations: 1.16 MB / 0.9873 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.1746, allocations: 20.02 kB / 0.9873 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003819/0.175, allocations: 86.69 kB / 0.9874 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003813/0.1754, allocations: 363.5 kB / 0.9877 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.1755, allocations: 4 kB / 0.9877 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.049e-05/0.1755, allocations: 4 kB / 0.9877 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004416/0.176, allocations: 403.1 kB / 0.9881 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.361e-06/0.176, allocations: 0 / 0.9881 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.176, allocations: 0 / 0.9881 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.154e-06/0.176, allocations: 0 / 0.9881 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004372/0.1765, allocations: 439.6 kB / 0.9885 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005715/0.1771, allocations: 0.6364 MB / 0.9891 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005665/0.1777, allocations: 0.5633 MB / 0.9897 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008492/0.1785, allocations: 1.036 MB / 0.9907 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004363/0.179, allocations: 404.9 kB / 0.9911 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 3.11e-06/0.179, allocations: 0 / 0.9911 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.001353/0.1804, allocations: 1.285 MB / 0.9923 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.1804, allocations: 89.23 kB / 0.9924 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.1816, allocations: 1.198 MB / 0.9936 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.031e-05/0.1817, allocations: 29.7 kB / 0.9936 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.1819, allocations: 253.4 kB / 0.9939 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/0.1819, allocations: 19.8 kB / 0.9939 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.1819, allocations: 0 / 0.9939 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1821, allocations: 423.8 kB / 0.9943 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001304/0.1834, allocations: 1.365 MB / 0.9956 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/0.1848, allocations: 1.497 MB / 0.9971 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001616/0.1865, allocations: 1.895 MB / 0.9989 GB, free: 6.973 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1865, allocations: 3.938 kB / 0.9989 GB, free: 6.969 MB / 0.6198 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004653/0.1912, allocations: 3.942 MB / 1.003 GB, free: 2.992 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.1912, allocations: 9.031 kB / 1.003 GB, free: 2.984 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.1912, allocations: 0 / 1.003 GB, free: 2.984 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.1913, allocations: 4 kB / 1.003 GB, free: 2.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.1914, allocations: 15.98 kB / 1.003 GB, free: 2.965 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.609e-06/0.1915, allocations: 0 / 1.003 GB, free: 2.965 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005212/0.192, allocations: 224.3 kB / 1.003 GB, free: 2.742 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.174e-05/0.1921, allocations: 31.97 kB / 1.003 GB, free: 2.711 MB / 0.6198 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.0003084/0.1924, allocations: 245.6 kB / 1.003 GB, free: 2.461 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.09e-05/0.1925, allocations: 70.77 kB / 1.003 GB, free: 2.391 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003359/0.1928, allocations: 66.91 kB / 1.003 GB, free: 2.316 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.798e-06/0.1928, allocations: 4 kB / 1.003 GB, free: 2.312 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.145e-06/0.1928, allocations: 0 / 1.003 GB, free: 2.312 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.514e-06/0.1929, allocations: 4 kB / 1.003 GB, free: 2.309 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004261/0.1933, allocations: 0.4889 MB / 1.004 GB, free: 1.773 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.272e-06/0.1933, allocations: 4.031 kB / 1.004 GB, free: 1.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.116e-05/0.1934, allocations: 11.98 kB / 1.004 GB, free: 1.758 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.628e-06/0.1934, allocations: 0 / 1.004 GB, free: 1.758 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.1935, allocations: 0 / 1.004 GB, free: 1.758 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.47e-06/0.1935, allocations: 4 kB / 1.004 GB, free: 1.754 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.189e-06/0.1935, allocations: 0 / 1.004 GB, free: 1.754 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000935/0.1944, allocations: 1.016 MB / 1.005 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.919e-05/0.1945, allocations: 155.9 kB / 1.005 GB, free: 0.5391 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.519e-05/0.1946, allocations: 3.938 kB / 1.005 GB, free: 0.5352 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.1948, allocations: 7.984 kB / 1.005 GB, free: 0.5273 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.1949, allocations: 7.984 kB / 1.005 GB, free: 0.5195 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.556e-05/0.1949, allocations: 11.98 kB / 1.005 GB, free: 0.5078 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0008362/0.1958, allocations: 0.6609 MB / 1.006 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.08e-07/0.1958, allocations: 0 / 1.006 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001202/0.197, allocations: 395.8 kB / 1.006 GB, free: 15.45 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.001537/0.1986, allocations: 486.7 kB / 1.007 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003351/0.2019, allocations: 2.492 MB / 1.009 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.003e-06/0.202, allocations: 0 / 1.009 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004821/0.2025, allocations: 343.7 kB / 1.009 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.2028, allocations: 36.45 kB / 1.009 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003129/0.2059, allocations: 1.828 MB / 1.011 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007846/0.2068, allocations: 0.9834 MB / 1.012 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002524/0.2071, allocations: 36.56 kB / 1.012 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.2072, allocations: 27.41 kB / 1.012 GB, free: 9.164 MB / 0.6355 GB Notification: Performance of SimCode: time 2.208e-06/0.2072, allocations: 0 / 1.012 GB, free: 9.164 MB / 0.6355 GB Notification: Performance of Templates: time 0.02435/0.2316, allocations: 8.953 MB / 1.021 GB, free: 252 kB / 0.6355 GB