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.001234/0.001234, allocations: 113.8 kB / 16.37 MB, free: 6.012 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.001295/0.001295, allocations: 185.7 kB / 17.31 MB, free: 5.613 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.487/1.487, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.758/1.758, allocations: 292.3 MB / 0.5496 GB, free: 17.62 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.001451/0.001451, allocations: 71.88 kB / 0.673 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2468, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.002156/0.249, allocations: 0.5719 MB / 0.7854 GB, free: 2.594 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.2505, allocations: 0.9915 MB / 0.7864 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.103e-05/0.2505, allocations: 0 / 0.7864 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.97e-05/0.2505, allocations: 0 / 0.7864 GB, free: 1.586 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.0007595/0.2513, allocations: 91.78 kB / 0.7864 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 4.742e-05/0.2514, allocations: 7.938 kB / 0.7865 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.27e-05/0.2514, allocations: 7.984 kB / 0.7865 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.416e-05/0.2515, allocations: 3.984 kB / 0.7865 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.001e-05/0.2515, allocations: 4 kB / 0.7865 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.578e-05/0.2516, allocations: 8 kB / 0.7865 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.688e-06/0.2516, allocations: 3.938 kB / 0.7865 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002009/0.2518, allocations: 79.86 kB / 0.7866 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.818e-06/0.2518, allocations: 0 / 0.7866 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.651e-05/0.2518, allocations: 3.938 kB / 0.7866 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.252, allocations: 67.91 kB / 0.7866 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.252, allocations: 0 / 0.7866 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.754e-06/0.252, allocations: 0 / 0.7866 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.252, allocations: 0 / 0.7866 GB, free: 1.312 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.0003796/0.2524, allocations: 335.5 kB / 0.7869 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.2525, allocations: 16.03 kB / 0.787 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.539e-05/0.2525, allocations: 0.9375 kB / 0.787 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.2526, allocations: 164.4 kB / 0.7871 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.2526, allocations: 8.312 kB / 0.7871 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.2527, allocations: 384 / 0.7871 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.717e-05/0.2528, allocations: 29.83 kB / 0.7872 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.2528, allocations: 3.938 kB / 0.7872 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.2528, allocations: 4 kB / 0.7872 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.2528, allocations: 4 kB / 0.7872 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.96e-05/0.2528, allocations: 4 kB / 0.7872 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004645/0.2533, allocations: 468.5 kB / 0.7876 GB, free: 140 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4191/0.6724, allocations: 166.3 kB / 0.7878 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.773e-05/0.6725, allocations: 80.14 kB / 0.7878 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.6725, allocations: 79.22 kB / 0.7879 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.6726, allocations: 108.4 kB / 0.788 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 2.284e-06/0.6726, allocations: 1 kB / 0.788 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 0.0001039/0.6727, allocations: 26.23 kB / 0.7881 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.6727, allocations: 128.9 kB / 0.7882 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.6728, allocations: 103.1 kB / 0.7883 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.153e-06/0.6729, allocations: 28.27 kB / 0.7883 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.481e-05/0.6729, allocations: 84.77 kB / 0.7884 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.6729, allocations: 0 / 0.7884 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/0.6729, allocations: 14.97 kB / 0.7884 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.315e-05/0.673, allocations: 316.7 kB / 0.7887 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.728e-06/0.673, allocations: 4.094 kB / 0.7887 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.839e-06/0.673, allocations: 1.625 kB / 0.7887 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.773e-05/0.673, allocations: 7.047 kB / 0.7887 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.6731, allocations: 1.531 kB / 0.7887 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001269/0.6732, allocations: 36.83 kB / 0.7887 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.6732, allocations: 6.125 kB / 0.7888 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.6732, allocations: 0 / 0.7888 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.6732, allocations: 5.734 kB / 0.7888 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.224e-05/0.6733, allocations: 1.688 kB / 0.7888 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.6733, allocations: 0.6562 kB / 0.7888 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.192e-05/0.6733, allocations: 0.7031 kB / 0.7888 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.6733, allocations: 3.625 kB / 0.7888 GB, free: 47.86 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 5.166e-05/0.6734, allocations: 186.8 kB / 0.7889 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.144e-05/0.6734, allocations: 108.5 kB / 0.789 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/0.6735, allocations: 106.2 kB / 0.7891 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.466e-05/0.6735, allocations: 189.5 kB / 0.7893 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.732e-05/0.6735, allocations: 180.4 kB / 0.7895 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.386e-05/0.6736, allocations: 181.4 kB / 0.7897 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.6737, allocations: 414.8 kB / 0.7901 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.647e-05/0.6737, allocations: 106.4 kB / 0.7902 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.262e-05/0.6737, allocations: 101 kB / 0.7903 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.441e-05/0.6738, allocations: 183.8 kB / 0.7904 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/0.6738, allocations: 184.3 kB / 0.7906 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.118e-05/0.6738, allocations: 176.3 kB / 0.7908 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.682e-05/0.6739, allocations: 181.6 kB / 0.791 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.522e-05/0.6739, allocations: 311.9 kB / 0.7913 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.923e-05/0.674, allocations: 184.8 kB / 0.7914 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.502e-05/0.674, allocations: 183.9 kB / 0.7916 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.256e-05/0.6741, allocations: 102.7 kB / 0.7917 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.6741, allocations: 179.3 kB / 0.7919 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.6741, allocations: 110.5 kB / 0.792 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.339e-05/0.6742, allocations: 82.34 kB / 0.7921 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6742, allocations: 1.281 kB / 0.7921 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003075/0.6745, allocations: 22.25 kB / 0.7921 GB, free: 44.39 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.0003397/0.6748, allocations: 222.6 kB / 0.7923 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 6.332e-05/0.6749, allocations: 8.5 kB / 0.7923 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6749, allocations: 0 / 0.7923 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.6749, allocations: 0.5938 kB / 0.7923 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.6752, allocations: 460.3 kB / 0.7927 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001911/0.6754, allocations: 177.7 kB / 0.7929 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.981e-05/0.6755, allocations: 0.6717 MB / 0.7936 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.591e-05/0.6755, allocations: 8.281 kB / 0.7936 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of SimCode: time 8.62e-07/0.6755, allocations: 0 / 0.7936 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of Templates: time 0.002069/0.6776, allocations: 0.8025 MB / 0.7944 GB, free: 42.85 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)