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.001062/0.001062, allocations: 100.2 kB / 16.36 MB, free: 6.422 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.001047/0.001047, allocations: 198.3 kB / 17.3 MB, free: 5.801 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.293/1.293, 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.786/1.786, allocations: 292.3 MB / 0.5496 GB, free: 17.35 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.001487/0.001487, allocations: 87.14 kB / 0.673 GB, free: 5.793 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2084, allocations: 114.5 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.002028/0.2104, allocations: 0.5654 MB / 0.7854 GB, free: 2.559 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.2117, allocations: 0.9798 MB / 0.7863 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.766e-05/0.2117, allocations: 0 / 0.7863 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.51e-05/0.2117, allocations: 4 kB / 0.7863 GB, free: 1.559 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.0006863/0.2125, allocations: 87.77 kB / 0.7864 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 3.366e-05/0.2125, allocations: 11.94 kB / 0.7864 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.942e-05/0.2126, allocations: 8 kB / 0.7864 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.134e-05/0.2126, allocations: 4 kB / 0.7864 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.909e-05/0.2126, allocations: 3.938 kB / 0.7864 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.339e-05/0.2127, allocations: 11.97 kB / 0.7865 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.006e-05/0.2127, allocations: 0 / 0.7865 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001819/0.2129, allocations: 71.88 kB / 0.7865 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.2129, allocations: 7.984 kB / 0.7865 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.833e-05/0.2129, allocations: 0 / 0.7865 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.2131, allocations: 75.84 kB / 0.7866 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2131, allocations: 0 / 0.7866 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.235e-06/0.2131, allocations: 0 / 0.7866 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.2132, allocations: 4 kB / 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.0003467/0.2135, allocations: 327.5 kB / 0.7869 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.2136, allocations: 12.03 kB / 0.7869 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.063e-05/0.2136, allocations: 4.875 kB / 0.7869 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.2137, allocations: 164.4 kB / 0.7871 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.2138, allocations: 4.375 kB / 0.7871 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.2138, allocations: 4.375 kB / 0.7871 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.358e-05/0.2139, allocations: 33.81 kB / 0.7871 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.2139, allocations: 4 kB / 0.7871 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.2139, allocations: 0 / 0.7871 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.2139, allocations: 0 / 0.7871 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.216e-05/0.214, allocations: 7.938 kB / 0.7871 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/0.2144, allocations: 464.5 kB / 0.7876 GB, free: 116 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3492/0.5636, allocations: 173.2 kB / 0.7878 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.139e-05/0.5637, allocations: 81.55 kB / 0.7878 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.5637, allocations: 75.91 kB / 0.7879 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.5637, allocations: 110.4 kB / 0.788 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 2.635e-06/0.5637, allocations: 7.688 kB / 0.788 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 0.000119/0.5639, allocations: 32.27 kB / 0.788 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.5639, allocations: 127.6 kB / 0.7882 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.564, allocations: 99.2 kB / 0.7883 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.214e-06/0.564, allocations: 26.48 kB / 0.7883 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.56e-05/0.5641, allocations: 81.89 kB / 0.7884 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-06/0.5641, allocations: 0 / 0.7884 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.5641, allocations: 15.47 kB / 0.7884 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.871e-05/0.5642, allocations: 316.4 kB / 0.7887 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.208e-05/0.5642, allocations: 1.859 kB / 0.7887 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.056e-05/0.5642, allocations: 2.375 kB / 0.7887 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.809e-05/0.5642, allocations: 9.234 kB / 0.7887 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.5642, allocations: 1.844 kB / 0.7887 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001099/0.5644, allocations: 39.02 kB / 0.7887 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.5644, allocations: 4.719 kB / 0.7887 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.5644, allocations: 0 / 0.7887 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.5644, allocations: 3.188 kB / 0.7887 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.232e-05/0.5644, allocations: 2.75 kB / 0.7887 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.5644, allocations: 0 / 0.7887 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.17e-05/0.5645, allocations: 0 / 0.7887 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.5645, allocations: 1.406 kB / 0.7887 GB, free: 47.84 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.242e-05/0.5645, allocations: 190.9 kB / 0.7889 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.973e-05/0.5646, allocations: 103 kB / 0.789 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.768e-05/0.5646, allocations: 115.8 kB / 0.7891 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.773e-05/0.5647, allocations: 182.6 kB / 0.7893 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.682e-05/0.5647, allocations: 179.4 kB / 0.7895 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.622e-05/0.5647, allocations: 181 kB / 0.7897 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.5649, allocations: 409.7 kB / 0.79 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/0.5649, allocations: 108.8 kB / 0.7902 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.483e-05/0.5649, allocations: 106 kB / 0.7903 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.418e-05/0.5649, allocations: 180.3 kB / 0.7904 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.565, allocations: 179.6 kB / 0.7906 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.572e-05/0.565, allocations: 187.7 kB / 0.7908 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.73e-05/0.565, allocations: 176.3 kB / 0.7909 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.08e-05/0.5651, allocations: 313.9 kB / 0.7912 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.565e-05/0.5652, allocations: 188 kB / 0.7914 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.89e-05/0.5652, allocations: 178.3 kB / 0.7916 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.499e-05/0.5653, allocations: 106.3 kB / 0.7917 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.5653, allocations: 179.9 kB / 0.7919 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.5653, allocations: 104.6 kB / 0.792 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.626e-05/0.5654, allocations: 88.25 kB / 0.792 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5654, allocations: 1.969 kB / 0.792 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003216/0.5657, allocations: 22.5 kB / 0.7921 GB, free: 44.36 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.0002944/0.566, allocations: 222.8 kB / 0.7923 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 5.707e-05/0.5661, allocations: 7.281 kB / 0.7923 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.5661, allocations: 0.9688 kB / 0.7923 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.5661, allocations: 0 / 0.7923 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.5663, allocations: 460.1 kB / 0.7927 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001439/0.5665, allocations: 153.2 kB / 0.7929 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.742e-05/0.5666, allocations: 0.67 MB / 0.7935 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.722e-05/0.5666, allocations: 8.047 kB / 0.7935 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.629e-05/0.5666, allocations: 12.16 kB / 0.7935 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.5666, allocations: 0 / 0.7935 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of Templates: time 0.002688/0.5693, allocations: 0.6637 MB / 0.7942 GB, free: 42.86 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)