Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001194/0.001195, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 198.1 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9871/0.9871, allocations: 135.1 MB / 425.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 67.3 kB / 0.5054 GB, free: 5.734 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1731, allocations: 80.92 MB / 0.5844 GB, free: 4.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.002135/0.1753, allocations: 0.6081 MB / 0.585 GB, free: 4.367 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.1768, allocations: 1.013 MB / 0.586 GB, free: 3.344 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.335e-05/0.1768, allocations: 0 / 0.586 GB, free: 3.344 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.976e-05/0.1769, allocations: 0 / 0.586 GB, free: 3.344 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007127/0.1776, allocations: 75.84 kB / 0.586 GB, free: 3.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.345e-05/0.1777, allocations: 11.98 kB / 0.586 GB, free: 3.258 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.488e-05/0.1777, allocations: 7.938 kB / 0.5861 GB, free: 3.25 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.645e-05/0.1778, allocations: 7.984 kB / 0.5861 GB, free: 3.242 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.811e-05/0.1778, allocations: 3.938 kB / 0.5861 GB, free: 3.238 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002519/0.178, allocations: 31.97 kB / 0.5861 GB, free: 3.207 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.1781, allocations: 4 kB / 0.5861 GB, free: 3.203 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.1783, allocations: 83.91 kB / 0.5862 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.05e-05/0.1783, allocations: 0 / 0.5862 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.321e-05/0.1783, allocations: 7.938 kB / 0.5862 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.1784, allocations: 47.94 kB / 0.5862 GB, free: 3.066 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1785, allocations: 0 / 0.5862 GB, free: 3.066 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1785, allocations: 0 / 0.5862 GB, free: 3.066 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1785, allocations: 0 / 0.5862 GB, free: 3.066 MB / 494.1 MB 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.0003845/0.1789, allocations: 331.8 kB / 0.5866 GB, free: 2.695 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.1789, allocations: 16.03 kB / 0.5866 GB, free: 2.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.179, allocations: 4.844 kB / 0.5866 GB, free: 2.676 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.1791, allocations: 164.4 kB / 0.5867 GB, free: 2.477 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.1791, allocations: 384 / 0.5867 GB, free: 2.477 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.1791, allocations: 7.938 kB / 0.5867 GB, free: 2.469 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.017e-05/0.1792, allocations: 29.64 kB / 0.5868 GB, free: 2.434 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.1792, allocations: 0 / 0.5868 GB, free: 2.434 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.1793, allocations: 0 / 0.5868 GB, free: 2.434 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.1793, allocations: 0 / 0.5868 GB, free: 2.434 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.256e-05/0.1793, allocations: 8 kB / 0.5868 GB, free: 2.426 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004264/0.1797, allocations: 468.5 kB / 0.5872 GB, free: 1.898 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.928e-05/0.1798, allocations: 173.2 kB / 0.5874 GB, free: 1.719 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.345e-05/0.1799, allocations: 84.08 kB / 0.5875 GB, free: 1.633 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.1799, allocations: 75.28 kB / 0.5875 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.1799, allocations: 109.8 kB / 0.5876 GB, free: 1.441 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.18, allocations: 0 / 0.5876 GB, free: 1.441 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.245e-05/0.18, allocations: 25.7 kB / 0.5877 GB, free: 1.41 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.009e-05/0.1801, allocations: 134.7 kB / 0.5878 GB, free: 1.266 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.1802, allocations: 101.8 kB / 0.5879 GB, free: 1.156 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.1802, allocations: 25.7 kB / 0.5879 GB, free: 1.125 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.748e-05/0.1803, allocations: 80.14 kB / 0.588 GB, free: 1.043 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.765e-06/0.1803, allocations: 4 kB / 0.588 GB, free: 1.039 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.1803, allocations: 17.72 kB / 0.588 GB, free: 1.016 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.1804, allocations: 318.7 kB / 0.5883 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.006e-05/0.1805, allocations: 3.938 kB / 0.5883 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.638e-06/0.1805, allocations: 4 kB / 0.5883 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.603e-05/0.1805, allocations: 8.844 kB / 0.5883 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1805, allocations: 0 / 0.5883 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001067/0.1806, allocations: 41.77 kB / 0.5884 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.1807, allocations: 6.031 kB / 0.5884 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1807, allocations: 0 / 0.5884 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.1807, allocations: 0 / 0.5884 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.602e-05/0.1807, allocations: 0 / 0.5884 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1807, allocations: 0 / 0.5884 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.835e-05/0.1807, allocations: 4 kB / 0.5884 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.1808, allocations: 3.938 kB / 0.5884 GB, free: 0.6172 MB / 494.1 MB 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 9.829e-05/0.1809, allocations: 185.1 kB / 0.5886 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.505e-05/0.1809, allocations: 112.9 kB / 0.5887 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.57e-05/0.181, allocations: 108.1 kB / 0.5888 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.075e-05/0.1811, allocations: 180.3 kB / 0.5889 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.941e-05/0.1811, allocations: 188.3 kB / 0.5891 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.486e-05/0.1812, allocations: 184.2 kB / 0.5893 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.1815, allocations: 405.2 kB / 0.5897 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.631e-05/0.1815, allocations: 101 kB / 0.5898 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.003e-05/0.1816, allocations: 112.9 kB / 0.5899 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.909e-05/0.1816, allocations: 180.3 kB / 0.5901 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.018e-05/0.1817, allocations: 180.2 kB / 0.5902 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-05/0.1818, allocations: 176.3 kB / 0.5904 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.419e-05/0.1818, allocations: 184.5 kB / 0.5906 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.182, allocations: 311.7 kB / 0.5909 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.94e-05/0.1821, allocations: 190 kB / 0.5911 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.477e-05/0.1822, allocations: 176.3 kB / 0.5912 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.523e-05/0.1823, allocations: 105 kB / 0.5913 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.976e-05/0.1823, allocations: 188.2 kB / 0.5915 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.684e-05/0.1824, allocations: 108.9 kB / 0.5916 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.035e-05/0.1824, allocations: 79.28 kB / 0.5917 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1824, allocations: 0 / 0.5917 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002791/0.1827, allocations: 19.94 kB / 0.5917 GB, free: 12.99 MB / 0.4981 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.0003668/0.1831, allocations: 233.6 kB / 0.5919 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.476e-05/0.1832, allocations: 11.94 kB / 0.5919 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1832, allocations: 0 / 0.5919 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.014e-06/0.1832, allocations: 0 / 0.5919 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.1836, allocations: 0.5264 MB / 0.5925 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000395/0.184, allocations: 227.6 kB / 0.5927 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.1843, allocations: 0.6692 MB / 0.5933 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.445e-05/0.1843, allocations: 7.438 kB / 0.5933 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.1843, allocations: 0 / 0.5933 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of Templates: time 0.002546/0.1869, allocations: 0.8488 MB / 0.5942 GB, free: 10.42 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)