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.001363/0.001363, allocations: 100.6 kB / 16.26 MB, free: 6.418 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.001333/0.001334, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.37/1.37, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.875/1.875, allocations: 292.3 MB / 0.5495 GB, free: 17.45 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.001563/0.001563, allocations: 71.89 kB / 0.6722 GB, free: 6.484 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2909, allocations: 114.6 MB / 0.7841 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001899/0.2928, allocations: 0.5576 MB / 0.7846 GB, free: 3.254 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00129/0.2941, allocations: 0.9798 MB / 0.7856 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.136e-05/0.2942, allocations: 0 / 0.7856 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.386e-05/0.2942, allocations: 0 / 0.7856 GB, free: 2.258 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.0007294/0.2949, allocations: 91.78 kB / 0.7857 GB, free: 2.168 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 3.887e-05/0.295, allocations: 19.86 kB / 0.7857 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.455e-05/0.2951, allocations: 11.98 kB / 0.7857 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.915e-05/0.2951, allocations: 3.984 kB / 0.7857 GB, free: 2.133 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.362e-05/0.2951, allocations: 4 kB / 0.7857 GB, free: 2.129 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.476e-05/0.2952, allocations: 0 / 0.7857 GB, free: 2.129 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.588e-06/0.2952, allocations: 3.938 kB / 0.7857 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.2954, allocations: 87.91 kB / 0.7858 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.576e-06/0.2954, allocations: 0 / 0.7858 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.34e-05/0.2954, allocations: 7.875 kB / 0.7858 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.2956, allocations: 63.92 kB / 0.7859 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2956, allocations: 0 / 0.7859 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2956, allocations: 4 kB / 0.7859 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.2956, allocations: 0 / 0.7859 GB, free: 1.965 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.00037/0.296, allocations: 335.8 kB / 0.7862 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.296, allocations: 12.03 kB / 0.7862 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.1e-05/0.2961, allocations: 0.9375 kB / 0.7862 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.2962, allocations: 160.4 kB / 0.7863 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.2962, allocations: 4.375 kB / 0.7863 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.2962, allocations: 384 / 0.7863 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.38e-05/0.2963, allocations: 33.83 kB / 0.7864 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.2963, allocations: 0 / 0.7864 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.2963, allocations: 3.938 kB / 0.7864 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.2963, allocations: 0 / 0.7864 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.972e-05/0.2964, allocations: 11.92 kB / 0.7864 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004148/0.2968, allocations: 464.5 kB / 0.7868 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.708e-05/0.2969, allocations: 177.2 kB / 0.787 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.107e-05/0.2969, allocations: 80.14 kB / 0.7871 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.328e-05/0.297, allocations: 75.28 kB / 0.7872 GB, free: 472 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.297, allocations: 105.8 kB / 0.7873 GB, free: 356 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 2.805e-06/0.297, allocations: 0 / 0.7873 GB, free: 356 kB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 6.844e-05/0.2971, allocations: 33.64 kB / 0.7873 GB, free: 316 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.877e-05/0.2972, allocations: 126.7 kB / 0.7874 GB, free: 176 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.588e-05/0.2973, allocations: 105.8 kB / 0.7875 GB, free: 60 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.2973, allocations: 25.7 kB / 0.7875 GB, free: 28 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.3749/0.6722, allocations: 80.14 kB / 0.7876 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.234e-06/0.6723, allocations: 0 / 0.7876 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.497e-05/0.6723, allocations: 14.34 kB / 0.7876 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.154e-05/0.6724, allocations: 315.6 kB / 0.7879 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.272e-05/0.6724, allocations: 1.656 kB / 0.7879 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.359e-05/0.6724, allocations: 2.719 kB / 0.7879 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.399e-05/0.6725, allocations: 16.83 kB / 0.7879 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.6725, allocations: 0 / 0.7879 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001241/0.6726, allocations: 32.33 kB / 0.788 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.6726, allocations: 4.844 kB / 0.788 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.6727, allocations: 1 kB / 0.788 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.6727, allocations: 0.9375 kB / 0.788 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.111e-05/0.6727, allocations: 1.312 kB / 0.788 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.6727, allocations: 0.6562 kB / 0.788 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.788e-05/0.6727, allocations: 0 / 0.788 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.6727, allocations: 3.812 kB / 0.788 GB, free: 48.39 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 6.245e-05/0.6728, allocations: 191.5 kB / 0.7882 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.6729, allocations: 102.2 kB / 0.7883 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.927e-05/0.6729, allocations: 114.5 kB / 0.7884 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.598e-05/0.6729, allocations: 187.2 kB / 0.7886 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.582e-05/0.673, allocations: 184 kB / 0.7887 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.273e-05/0.673, allocations: 182.3 kB / 0.7889 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.6731, allocations: 397.7 kB / 0.7893 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.73e-05/0.6732, allocations: 117.4 kB / 0.7894 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.399e-05/0.6732, allocations: 105.5 kB / 0.7895 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.573e-05/0.6732, allocations: 178.8 kB / 0.7897 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/0.6732, allocations: 184.4 kB / 0.7898 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.436e-05/0.6733, allocations: 180.2 kB / 0.79 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.728e-05/0.6733, allocations: 187.7 kB / 0.7902 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.89e-05/0.6734, allocations: 309.9 kB / 0.7905 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.6734, allocations: 181.5 kB / 0.7907 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.055e-05/0.6735, allocations: 181.4 kB / 0.7908 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.194e-05/0.6735, allocations: 110.1 kB / 0.7909 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-05/0.6736, allocations: 182.3 kB / 0.7911 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.6736, allocations: 105.9 kB / 0.7912 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.819e-05/0.6736, allocations: 84.17 kB / 0.7913 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6736, allocations: 0 / 0.7913 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003145/0.6739, allocations: 21.3 kB / 0.7913 GB, free: 44.91 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.0003217/0.6743, allocations: 218.8 kB / 0.7915 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 6.736e-05/0.6743, allocations: 6.625 kB / 0.7915 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.6744, allocations: 0 / 0.7915 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.6744, allocations: 3.438 kB / 0.7915 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.6746, allocations: 459.9 kB / 0.792 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001676/0.6748, allocations: 177.9 kB / 0.7921 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.6749, allocations: 0.6724 MB / 0.7928 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.155e-05/0.6749, allocations: 8.75 kB / 0.7928 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of SimCode: time 2.61e-07/0.675, allocations: 0 / 0.7928 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of Templates: time 0.001988/0.6769, allocations: 0.806 MB / 0.7936 GB, free: 43.39 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)