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.ShaGFunction.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.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.601/2.601, allocations: 287.5 MB / 302.4 MB, free: 8.25 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.001381/0.001381, allocations: 176.3 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.02/2.02, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.000959/0.000959, allocations: 98.03 kB / 0.743 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005064/0.0005066, allocations: 15.5 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2087, allocations: 115.3 MB / 0.9784 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0007611/0.2095, allocations: 303 kB / 0.9787 GB, free: 28.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.2108, allocations: 0.9567 MB / 0.9796 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.695e-05/0.2108, allocations: 0 / 0.9796 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.014e-05/0.2109, allocations: 7.938 kB / 0.9796 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008673/0.2117, allocations: 71.86 kB / 0.9797 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.783e-05/0.2118, allocations: 8 kB / 0.9797 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.928e-05/0.2118, allocations: 3.984 kB / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.144e-05/0.2119, allocations: 4 kB / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.005e-05/0.2119, allocations: 11.98 kB / 0.9797 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002615/0.2122, allocations: 29.23 kB / 0.9797 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.2122, allocations: 3.984 kB / 0.9798 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001822/0.2124, allocations: 63.94 kB / 0.9798 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.065e-06/0.2124, allocations: 0 / 0.9798 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.639e-05/0.2125, allocations: 25.7 kB / 0.9798 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.2126, allocations: 51.88 kB / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2126, allocations: 0 / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.806e-06/0.2126, allocations: 0 / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.2126, allocations: 4 kB / 0.9799 GB, free: 26.77 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002548/0.2129, allocations: 335.6 kB / 0.9802 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.2129, allocations: 12.02 kB / 0.9802 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.213, allocations: 0 / 0.9802 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.277e-05/0.2131, allocations: 167 kB / 0.9804 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.2131, allocations: 0 / 0.9804 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.2131, allocations: 0 / 0.9804 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.688e-05/0.2132, allocations: 33.62 kB / 0.9804 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.2132, allocations: 7.984 kB / 0.9804 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.2132, allocations: 4 kB / 0.9804 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.2133, allocations: 0 / 0.9804 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.889e-05/0.2133, allocations: 0 / 0.9804 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003217/0.2136, allocations: 468.5 kB / 0.9809 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.153e-05/0.2137, allocations: 173.1 kB / 0.981 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.144e-05/0.2137, allocations: 85.02 kB / 0.9811 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.2137, allocations: 75.28 kB / 0.9812 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.2138, allocations: 109.9 kB / 0.9813 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.393e-06/0.2138, allocations: 0 / 0.9813 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.989e-05/0.2139, allocations: 33.69 kB / 0.9813 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.2139, allocations: 126.7 kB / 0.9814 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.342e-05/0.214, allocations: 101.9 kB / 0.9815 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.733e-06/0.214, allocations: 25.7 kB / 0.9816 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.464e-05/0.214, allocations: 80.14 kB / 0.9816 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.436e-06/0.214, allocations: 7.938 kB / 0.9817 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-06/0.2141, allocations: 0 / 0.9817 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.668e-05/0.2141, allocations: 318.8 kB / 0.982 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.568e-06/0.2141, allocations: 3.938 kB / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.306e-06/0.2142, allocations: 0 / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.167e-05/0.2142, allocations: 12.06 kB / 0.982 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2142, allocations: 0 / 0.982 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.456e-05/0.2143, allocations: 29.7 kB / 0.982 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.2143, allocations: 8 kB / 0.982 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2143, allocations: 0 / 0.982 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.2144, allocations: 0 / 0.982 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.907e-05/0.2144, allocations: 4 kB / 0.982 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.2144, allocations: 3.984 kB / 0.982 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.818e-05/0.2144, allocations: 3.984 kB / 0.982 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.2144, allocations: 0 / 0.982 GB, free: 24.35 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 6.269e-05/0.2145, allocations: 197 kB / 0.9822 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.697e-05/0.2146, allocations: 101 kB / 0.9823 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.039e-05/0.2146, allocations: 108.1 kB / 0.9824 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.488e-05/0.2147, allocations: 184.2 kB / 0.9826 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.354e-05/0.2147, allocations: 180.2 kB / 0.9828 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.299e-05/0.2147, allocations: 184.2 kB / 0.9829 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.2149, allocations: 409.2 kB / 0.9833 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.095e-05/0.215, allocations: 109 kB / 0.9834 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.058e-05/0.215, allocations: 104.9 kB / 0.9835 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.107e-05/0.215, allocations: 176.3 kB / 0.9837 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.354e-05/0.2151, allocations: 184.2 kB / 0.9839 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.943e-05/0.2151, allocations: 180.3 kB / 0.984 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.145e-05/0.2152, allocations: 176.3 kB / 0.9842 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.277e-05/0.2152, allocations: 315.7 kB / 0.9845 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.726e-05/0.2153, allocations: 185.9 kB / 0.9847 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.401e-05/0.2154, allocations: 192.2 kB / 0.9849 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.825e-05/0.2154, allocations: 101 kB / 0.985 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.2155, allocations: 180.2 kB / 0.9851 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.2155, allocations: 101 kB / 0.9852 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.682e-05/0.2156, allocations: 83.27 kB / 0.9853 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.7e-07/0.2156, allocations: 0 / 0.9853 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000318/0.2159, allocations: 24 kB / 0.9853 GB, free: 20.73 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0003985/0.2163, allocations: 238.4 kB / 0.9856 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001089/0.2164, allocations: 3.938 kB / 0.9856 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2164, allocations: 0 / 0.9856 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.835e-06/0.2165, allocations: 4 kB / 0.9856 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.2168, allocations: 0.5264 MB / 0.9861 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003792/0.2172, allocations: 190 kB / 0.9863 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.2173, allocations: 0.6731 MB / 0.9869 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.438e-05/0.2174, allocations: 11.98 kB / 0.9869 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.973e-05/0.2174, allocations: 7.438 kB / 0.9869 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of SimCode: time 7.21e-07/0.2174, allocations: 0 / 0.9869 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of Templates: time 0.003354/0.2208, allocations: 0.6416 MB / 0.9876 GB, free: 18.42 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)