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.001364/0.001369, allocations: 106.7 kB / 16.37 MB, free: 6.305 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.001181/0.001181, allocations: 189.8 kB / 17.3 MB, free: 5.871 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.46/1.46, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.805/1.805, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.00165/0.00165, allocations: 67.91 kB / 0.673 GB, free: 5.797 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1996, allocations: 114.6 MB / 0.7848 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001924/0.2016, allocations: 0.5795 MB / 0.7854 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.2029, allocations: 0.9837 MB / 0.7863 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.81e-05/0.2029, allocations: 4 kB / 0.7864 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.406e-05/0.203, allocations: 0 / 0.7864 GB, free: 1.547 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.0006575/0.2036, allocations: 87.78 kB / 0.7864 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 4.562e-05/0.2037, allocations: 7.938 kB / 0.7864 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.651e-05/0.2038, allocations: 7.938 kB / 0.7865 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.738e-05/0.2038, allocations: 7.984 kB / 0.7865 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.023e-05/0.2038, allocations: 7.984 kB / 0.7865 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.737e-05/0.2039, allocations: 4 kB / 0.7865 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.057e-06/0.2039, allocations: 0 / 0.7865 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001848/0.2041, allocations: 71.92 kB / 0.7865 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.061e-05/0.2041, allocations: 4 kB / 0.7865 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.732e-05/0.2041, allocations: 7.875 kB / 0.7866 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.2043, allocations: 67.91 kB / 0.7866 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2043, allocations: 0 / 0.7866 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2043, allocations: 0 / 0.7866 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.711e-05/0.2043, allocations: 0 / 0.7866 GB, free: 1.277 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.0003254/0.2047, allocations: 335.5 kB / 0.7869 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.2047, allocations: 16.03 kB / 0.787 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.717e-05/0.2047, allocations: 4.938 kB / 0.787 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.2048, allocations: 164.4 kB / 0.7871 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.2049, allocations: 384 / 0.7871 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.2049, allocations: 4.375 kB / 0.7871 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.994e-05/0.205, allocations: 33.83 kB / 0.7871 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.205, allocations: 0 / 0.7871 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.205, allocations: 0 / 0.7871 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.205, allocations: 3.938 kB / 0.7872 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.894e-05/0.205, allocations: 11.94 kB / 0.7872 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000379/0.2054, allocations: 464.5 kB / 0.7876 GB, free: 104 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3152/0.5206, allocations: 173.2 kB / 0.7878 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.254e-05/0.5207, allocations: 80.14 kB / 0.7878 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.5207, allocations: 76.12 kB / 0.7879 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.5207, allocations: 111.1 kB / 0.788 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.863e-06/0.5207, allocations: 1.5 kB / 0.788 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 8.177e-05/0.5208, allocations: 26.45 kB / 0.7881 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.584e-05/0.5208, allocations: 53.19 kB / 0.7881 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.373e-05/0.5209, allocations: 100.3 kB / 0.7882 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.819e-06/0.5209, allocations: 27.83 kB / 0.7882 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.021e-05/0.521, allocations: 82.11 kB / 0.7883 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.614e-06/0.521, allocations: 0 / 0.7883 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.521, allocations: 14.77 kB / 0.7883 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.159e-05/0.5211, allocations: 316.9 kB / 0.7886 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.907e-06/0.5211, allocations: 1.031 kB / 0.7886 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.057e-06/0.5211, allocations: 2.656 kB / 0.7886 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.332e-05/0.5211, allocations: 12.8 kB / 0.7886 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5211, allocations: 0 / 0.7886 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.501e-05/0.5212, allocations: 36.41 kB / 0.7887 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.5212, allocations: 6.062 kB / 0.7887 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.5212, allocations: 0.8438 kB / 0.7887 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.5213, allocations: 0.9375 kB / 0.7887 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.633e-05/0.5213, allocations: 3.531 kB / 0.7887 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.5213, allocations: 0.9688 kB / 0.7887 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.567e-05/0.5213, allocations: 0 / 0.7887 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.5213, allocations: 2.469 kB / 0.7887 GB, free: 47.85 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.068e-05/0.5214, allocations: 192.5 kB / 0.7889 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.5214, allocations: 103.9 kB / 0.789 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.069e-05/0.5214, allocations: 112.7 kB / 0.7891 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-05/0.5215, allocations: 179.7 kB / 0.7892 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/0.5215, allocations: 110 kB / 0.7894 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.621e-05/0.5215, allocations: 183.8 kB / 0.7895 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.5215, allocations: 176.3 kB / 0.7897 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.768e-05/0.5216, allocations: 118.6 kB / 0.7898 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.271e-05/0.5216, allocations: 179.5 kB / 0.79 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 2.821e-05/0.5217, allocations: 257.9 kB / 0.7902 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 6.755e-05/0.5217, allocations: 382.5 kB / 0.7906 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.263e-05/0.5218, allocations: 111.8 kB / 0.7907 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.314e-05/0.5218, allocations: 82.38 kB / 0.7908 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of Backend: time 4.81e-07/0.5218, allocations: 1.219 kB / 0.7908 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005251/0.5223, allocations: 130.4 kB / 0.7909 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of SimCode: time 0.000266/0.5226, allocations: 0.822 MB / 0.7917 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of Templates: time 0.002511/0.5251, allocations: 0.6992 MB / 0.7924 GB, free: 44.73 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)