Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_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_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 107.3 kB / 16.29 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 187.9 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.813/1.813, allocations: 292.3 MB / 0.5495 GB, free: 17.5 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 70.88 kB / 0.6722 GB, free: 6.488 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2242, allocations: 114.6 MB / 0.7841 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001762/0.226, allocations: 0.5731 MB / 0.7847 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.2273, allocations: 0.976 MB / 0.7856 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.275e-05/0.2274, allocations: 0 / 0.7856 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.436e-05/0.2274, allocations: 3.938 kB / 0.7856 GB, free: 2.246 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/ThermalResponseFactors/shaGFunction.mo:2:1-78:17:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.shaGFunction' contains a call to impure function 'Buildings.Utilities.Cryptographics.sha'. Notification: Performance of NFTyping.typeBindings: time 0.0006707/0.2281, allocations: 95.77 kB / 0.7857 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 3.239e-05/0.2281, allocations: 8 kB / 0.7857 GB, free: 2.145 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.493e-05/0.2282, allocations: 4 kB / 0.7857 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.63e-05/0.2282, allocations: 0 / 0.7857 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.326e-05/0.2282, allocations: 15.86 kB / 0.7857 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.008e-05/0.2283, allocations: 3.984 kB / 0.7857 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.2283, allocations: 4 kB / 0.7858 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001763/0.2285, allocations: 75.94 kB / 0.7858 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.646e-06/0.2285, allocations: 0 / 0.7858 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.839e-05/0.2285, allocations: 3.984 kB / 0.7858 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.2287, allocations: 67.86 kB / 0.7859 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2287, allocations: 4 kB / 0.7859 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2287, allocations: 0 / 0.7859 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.2287, allocations: 0 / 0.7859 GB, free: 1.969 MB / 0.6544 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.0003083/0.229, allocations: 335.8 kB / 0.7862 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.2291, allocations: 8.031 kB / 0.7862 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.015e-05/0.2291, allocations: 0.9375 kB / 0.7862 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.2292, allocations: 168.4 kB / 0.7864 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.2292, allocations: 384 / 0.7864 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.103e-06/0.2292, allocations: 384 / 0.7864 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.324e-05/0.2293, allocations: 41.75 kB / 0.7864 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.2293, allocations: 0 / 0.7864 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-06/0.2294, allocations: 4 kB / 0.7864 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.2294, allocations: 0 / 0.7864 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.707e-05/0.2294, allocations: 3.938 kB / 0.7864 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004149/0.2298, allocations: 472.5 kB / 0.7869 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.986e-05/0.2299, allocations: 173.1 kB / 0.787 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.553e-05/0.2299, allocations: 80.14 kB / 0.7871 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.23, allocations: 75.28 kB / 0.7872 GB, free: 472 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.23, allocations: 109.8 kB / 0.7873 GB, free: 352 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.23, allocations: 3.938 kB / 0.7873 GB, free: 348 kB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 6.342e-05/0.2301, allocations: 29.7 kB / 0.7873 GB, free: 312 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.2302, allocations: 130.7 kB / 0.7875 GB, free: 168 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.093e-05/0.2302, allocations: 97.86 kB / 0.7876 GB, free: 60 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.2303, allocations: 25.7 kB / 0.7876 GB, free: 28 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.3857/0.616, allocations: 83.94 kB / 0.7877 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.901e-06/0.6161, allocations: 0 / 0.7877 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.6161, allocations: 14.62 kB / 0.7877 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.247e-05/0.6162, allocations: 316.2 kB / 0.788 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.158e-05/0.6162, allocations: 0.7188 kB / 0.788 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.132e-05/0.6162, allocations: 2.625 kB / 0.788 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3e-05/0.6162, allocations: 11.62 kB / 0.788 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.6162, allocations: 1.125 kB / 0.788 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001111/0.6164, allocations: 38.17 kB / 0.788 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.6164, allocations: 8.047 kB / 0.788 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.6164, allocations: 0 / 0.788 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.6164, allocations: 1.281 kB / 0.788 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.204e-05/0.6164, allocations: 0 / 0.788 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.6165, allocations: 1.719 kB / 0.788 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.152e-05/0.6165, allocations: 1.094 kB / 0.788 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.6165, allocations: 0 / 0.788 GB, free: 48.29 MB / 0.6544 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 4.883e-05/0.6165, allocations: 186.3 kB / 0.7882 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/0.6166, allocations: 106.9 kB / 0.7883 GB, free: 48 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.75e-05/0.6166, allocations: 113.9 kB / 0.7884 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.934e-05/0.6167, allocations: 188.9 kB / 0.7886 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.988e-05/0.6167, allocations: 181.1 kB / 0.7888 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.577e-05/0.6167, allocations: 182.9 kB / 0.789 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.6169, allocations: 404.2 kB / 0.7893 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.709e-05/0.6169, allocations: 108.3 kB / 0.7894 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.508e-05/0.6169, allocations: 102.6 kB / 0.7895 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.258e-05/0.6169, allocations: 187.1 kB / 0.7897 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.617, allocations: 184.8 kB / 0.7899 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.939e-05/0.617, allocations: 180.2 kB / 0.7901 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.927e-05/0.617, allocations: 180.1 kB / 0.7902 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.518e-05/0.6171, allocations: 310.6 kB / 0.7905 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.493e-05/0.6171, allocations: 179.9 kB / 0.7907 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.279e-05/0.6171, allocations: 191.3 kB / 0.7909 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.467e-05/0.6172, allocations: 105.6 kB / 0.791 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.659e-05/0.6172, allocations: 184 kB / 0.7912 GB, free: 45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.6173, allocations: 102.7 kB / 0.7913 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.707e-05/0.6173, allocations: 80.27 kB / 0.7913 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6173, allocations: 0 / 0.7913 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002784/0.6176, allocations: 22.64 kB / 0.7914 GB, free: 44.82 MB / 0.6544 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.0003095/0.6179, allocations: 223.7 kB / 0.7916 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 5.604e-05/0.618, allocations: 9.188 kB / 0.7916 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.618, allocations: 0 / 0.7916 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-06/0.618, allocations: 0 / 0.7916 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.6182, allocations: 463.7 kB / 0.792 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001495/0.6184, allocations: 148.9 kB / 0.7922 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.069e-05/0.6185, allocations: 0.6754 MB / 0.7928 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.257e-05/0.6185, allocations: 3.688 kB / 0.7928 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.793e-05/0.6185, allocations: 11.25 kB / 0.7928 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of SimCode: time 3.4e-07/0.6185, allocations: 0 / 0.7928 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of Templates: time 0.002622/0.6212, allocations: 0.6598 MB / 0.7935 GB, free: 43.33 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)