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.72/2.72, allocations: 287.3 MB / 302.3 MB, free: 8.305 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.001592/0.001591, allocations: 188.8 kB / 370.8 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.363/2.363, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001267/0.001267, allocations: 97.88 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006385/0.0006385, allocations: 15.5 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2123, allocations: 115.3 MB / 0.9782 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0007989/0.2131, allocations: 308 kB / 0.9785 GB, free: 28.06 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.2144, allocations: 0.9294 MB / 0.9794 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.024e-05/0.2145, allocations: 0 / 0.9794 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.351e-05/0.2145, allocations: 0 / 0.9794 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008739/0.2154, allocations: 83.78 kB / 0.9795 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.845e-05/0.2154, allocations: 7.938 kB / 0.9795 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.78e-05/0.2155, allocations: 4 kB / 0.9795 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.015e-05/0.2155, allocations: 3.984 kB / 0.9795 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.101e-05/0.2156, allocations: 7.984 kB / 0.9795 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.2157, allocations: 31.98 kB / 0.9796 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.2158, allocations: 0 / 0.9796 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.2159, allocations: 55.89 kB / 0.9796 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.967e-06/0.2159, allocations: 3.984 kB / 0.9796 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.749e-05/0.2159, allocations: 33.64 kB / 0.9796 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.2161, allocations: 43.94 kB / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2161, allocations: 0 / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2161, allocations: 0 / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.2161, allocations: 0 / 0.9797 GB, free: 26.84 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.0002477/0.2164, allocations: 331.6 kB / 0.98 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.2164, allocations: 12.02 kB / 0.98 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.2165, allocations: 4 kB / 0.98 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.586e-05/0.2166, allocations: 167 kB / 0.9802 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.2166, allocations: 0 / 0.9802 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.2166, allocations: 0 / 0.9802 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.405e-05/0.2167, allocations: 29.7 kB / 0.9802 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.2167, allocations: 0 / 0.9802 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.2167, allocations: 3.984 kB / 0.9802 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.2167, allocations: 0 / 0.9802 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.977e-05/0.2168, allocations: 4 kB / 0.9802 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003257/0.2171, allocations: 472.5 kB / 0.9807 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.303e-05/0.2172, allocations: 166.1 kB / 0.9808 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.2172, allocations: 75.28 kB / 0.9809 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.2172, allocations: 117.8 kB / 0.981 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 3.366e-06/0.2172, allocations: 0 / 0.981 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.646e-05/0.2173, allocations: 33.58 kB / 0.981 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.2174, allocations: 126.7 kB / 0.9812 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.807e-05/0.2175, allocations: 101.8 kB / 0.9813 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.622e-06/0.2175, allocations: 25.7 kB / 0.9813 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.629e-05/0.2175, allocations: 84.14 kB / 0.9814 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.2175, allocations: 0 / 0.9814 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.2175, allocations: 4 kB / 0.9814 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.456e-05/0.2176, allocations: 314.8 kB / 0.9817 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.128e-05/0.2176, allocations: 0 / 0.9817 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.368e-06/0.2176, allocations: 7.984 kB / 0.9817 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.93e-05/0.2177, allocations: 0 / 0.9817 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2177, allocations: 0 / 0.9817 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.535e-05/0.2178, allocations: 41.58 kB / 0.9817 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.2178, allocations: 8 kB / 0.9817 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.2178, allocations: 4.094 kB / 0.9817 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.2178, allocations: 0 / 0.9817 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.752e-05/0.2179, allocations: 0 / 0.9817 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.2179, allocations: 0 / 0.9817 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.827e-05/0.2179, allocations: 4 kB / 0.9817 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.2179, allocations: 4 kB / 0.9817 GB, free: 24.5 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.451e-05/0.218, allocations: 189.1 kB / 0.9819 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.588e-05/0.2181, allocations: 101 kB / 0.982 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.931e-05/0.2181, allocations: 116 kB / 0.9821 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.272e-05/0.2181, allocations: 176.3 kB / 0.9823 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.388e-05/0.2182, allocations: 180.3 kB / 0.9825 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.151e-05/0.2182, allocations: 184.2 kB / 0.9826 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.2184, allocations: 401.2 kB / 0.983 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.008e-05/0.2185, allocations: 109.1 kB / 0.9831 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.011e-05/0.2185, allocations: 109 kB / 0.9832 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.63e-05/0.2185, allocations: 192.2 kB / 0.9834 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.408e-05/0.2186, allocations: 176.5 kB / 0.9836 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.094e-05/0.2186, allocations: 176.3 kB / 0.9837 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.05e-05/0.2187, allocations: 180.2 kB / 0.9839 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.389e-05/0.2188, allocations: 319.7 kB / 0.9842 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.014e-05/0.2188, allocations: 186 kB / 0.9844 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.539e-05/0.2189, allocations: 180.2 kB / 0.9846 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.208e-05/0.219, allocations: 108.9 kB / 0.9847 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.219, allocations: 184.3 kB / 0.9849 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.219, allocations: 108.9 kB / 0.985 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.905e-05/0.2191, allocations: 79.28 kB / 0.985 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2191, allocations: 0 / 0.985 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000345/0.2195, allocations: 19.98 kB / 0.9851 GB, free: 20.88 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.0003931/0.2199, allocations: 227.8 kB / 0.9853 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.474e-05/0.2199, allocations: 4 kB / 0.9853 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.22, allocations: 0 / 0.9853 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.374e-06/0.22, allocations: 0 / 0.9853 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.2202, allocations: 0.5237 MB / 0.9858 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002054/0.2204, allocations: 167.9 kB / 0.9859 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.2205, allocations: 0.677 MB / 0.9866 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.195e-05/0.2206, allocations: 1.5 kB / 0.9866 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.058e-05/0.2206, allocations: 7.438 kB / 0.9866 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of SimCode: time 6.51e-07/0.2206, allocations: 0 / 0.9866 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of Templates: time 0.003367/0.224, allocations: 0.639 MB / 0.9872 GB, free: 18.62 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)