Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.577/1.577, allocations: 252 MB / 268 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00107/0.00107, allocations: 174.9 kB / 327.6 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.949/1.949, allocations: 205.4 MB / 0.5786 GB, free: 20.13 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008799/0.0008797, allocations: 86.34 kB / 0.6832 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004553/0.0004555, allocations: 8.031 kB / 0.7976 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2137, allocations: 106.3 MB / 0.9015 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0006704/0.2144, allocations: 306.8 kB / 0.9018 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001195/0.2157, allocations: 0.9876 MB / 0.9027 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.443e-05/0.2157, allocations: 4 kB / 0.9027 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.295e-05/0.2157, allocations: 4 kB / 0.9028 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000713/0.2164, allocations: 75.86 kB / 0.9028 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.022e-05/0.2165, allocations: 19.92 kB / 0.9028 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.784e-05/0.2165, allocations: 4 kB / 0.9028 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.406e-05/0.2166, allocations: 0 / 0.9028 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.742e-05/0.2166, allocations: 4 kB / 0.9029 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002585/0.2169, allocations: 35.84 kB / 0.9029 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.989e-06/0.2169, allocations: 0 / 0.9029 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001749/0.2171, allocations: 83.91 kB / 0.903 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.868e-06/0.2171, allocations: 0 / 0.903 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.559e-05/0.2171, allocations: 29.7 kB / 0.903 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.2172, allocations: 51.94 kB / 0.903 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2173, allocations: 3.984 kB / 0.903 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2173, allocations: 0 / 0.903 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.2173, allocations: 0 / 0.903 GB, free: 61.7 MB / 0.6042 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.000241/0.2175, allocations: 329.7 kB / 0.9034 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.2176, allocations: 16.02 kB / 0.9034 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.2176, allocations: 0.9375 kB / 0.9034 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.192e-05/0.2177, allocations: 168.3 kB / 0.9035 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.2177, allocations: 4.375 kB / 0.9035 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.655e-06/0.2177, allocations: 4.375 kB / 0.9035 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.753e-05/0.2178, allocations: 29.83 kB / 0.9036 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.2178, allocations: 0 / 0.9036 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.2178, allocations: 0 / 0.9036 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.2178, allocations: 0 / 0.9036 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.927e-05/0.2179, allocations: 4 kB / 0.9036 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003269/0.2182, allocations: 468.5 kB / 0.904 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.025e-05/0.2183, allocations: 177.1 kB / 0.9042 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.913e-05/0.2183, allocations: 80.14 kB / 0.9043 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.2183, allocations: 75.28 kB / 0.9043 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.2183, allocations: 105.8 kB / 0.9044 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.343e-06/0.2183, allocations: 4 kB / 0.9044 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.51e-05/0.2184, allocations: 29.64 kB / 0.9045 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.2185, allocations: 130.7 kB / 0.9046 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.87e-05/0.2185, allocations: 102.1 kB / 0.9047 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.152e-06/0.2186, allocations: 25.7 kB / 0.9047 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.218e-05/0.2186, allocations: 88.02 kB / 0.9048 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-06/0.2186, allocations: 0 / 0.9048 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-06/0.2186, allocations: 0 / 0.9048 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.096e-05/0.2187, allocations: 330.8 kB / 0.9051 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.484e-06/0.2187, allocations: 0 / 0.9051 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.219e-06/0.2187, allocations: 0 / 0.9051 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.722e-05/0.2187, allocations: 12.84 kB / 0.9051 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2187, allocations: 0 / 0.9051 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.882e-05/0.2188, allocations: 33.64 kB / 0.9052 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.2188, allocations: 4 kB / 0.9052 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2189, allocations: 4 kB / 0.9052 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.2189, allocations: 96 / 0.9052 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.811e-05/0.2189, allocations: 7.938 kB / 0.9052 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.2189, allocations: 0 / 0.9052 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.588e-05/0.2189, allocations: 0 / 0.9052 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.2189, allocations: 3.938 kB / 0.9052 GB, free: 59.27 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.647e-05/0.219, allocations: 189.1 kB / 0.9054 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.219, allocations: 109 kB / 0.9055 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.45e-05/0.2191, allocations: 108 kB / 0.9056 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.393e-05/0.2191, allocations: 184.3 kB / 0.9057 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.6e-05/0.2191, allocations: 180.2 kB / 0.9059 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.6e-05/0.2192, allocations: 176.3 kB / 0.9061 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.2193, allocations: 409.3 kB / 0.9065 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.641e-05/0.2193, allocations: 108.9 kB / 0.9066 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.513e-05/0.2194, allocations: 109 kB / 0.9067 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-05/0.2194, allocations: 180.2 kB / 0.9069 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.051e-05/0.2194, allocations: 180.3 kB / 0.907 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.697e-05/0.2195, allocations: 180.3 kB / 0.9072 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.842e-05/0.2195, allocations: 180.2 kB / 0.9074 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.478e-05/0.2196, allocations: 315.7 kB / 0.9077 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-05/0.2196, allocations: 182.1 kB / 0.9078 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.268e-05/0.2196, allocations: 184.3 kB / 0.908 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.595e-05/0.2197, allocations: 108.9 kB / 0.9081 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.219e-05/0.2197, allocations: 176.3 kB / 0.9083 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.2198, allocations: 108.9 kB / 0.9084 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.582e-05/0.2198, allocations: 87.45 kB / 0.9085 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2198, allocations: 0 / 0.9085 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002581/0.2201, allocations: 23.98 kB / 0.9085 GB, free: 55.64 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003592/0.2204, allocations: 220.4 kB / 0.9087 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.393e-05/0.2205, allocations: 8 kB / 0.9087 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2205, allocations: 0 / 0.9087 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.904e-06/0.2205, allocations: 0 / 0.9087 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.2208, allocations: 0.5302 MB / 0.9092 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003202/0.2211, allocations: 231.6 kB / 0.9095 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.2212, allocations: 0.6731 MB / 0.9101 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.424e-05/0.2213, allocations: 11.44 kB / 0.9101 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of SimCode: time 3.3e-07/0.2213, allocations: 0 / 0.9101 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of Templates: time 0.002126/0.2234, allocations: 0.8428 MB / 0.911 GB, free: 53.06 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)