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.001574/0.001574, allocations: 105.1 kB / 16.41 MB, free: 6.449 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.001674/0.001674, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.524/1.524, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8224/0.8224, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 59.94 kB / 0.5863 GB, free: 21.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1727, allocations: 80.92 MB / 0.6653 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001895/0.1747, allocations: 0.5686 MB / 0.6659 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.1761, allocations: 0.9917 MB / 0.6669 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.419e-05/0.1761, allocations: 0 / 0.6669 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.712e-05/0.1761, allocations: 0 / 0.6669 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007844/0.1769, allocations: 83.8 kB / 0.6669 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 5.042e-05/0.177, allocations: 15.92 kB / 0.667 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.84e-05/0.1771, allocations: 4 kB / 0.667 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.515e-05/0.1771, allocations: 7.984 kB / 0.667 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.013e-05/0.1771, allocations: 8 kB / 0.667 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000233/0.1774, allocations: 31.97 kB / 0.667 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.989e-06/0.1774, allocations: 0 / 0.667 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001859/0.1776, allocations: 75.92 kB / 0.6671 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.181e-05/0.1776, allocations: 3.938 kB / 0.6671 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.767e-05/0.1776, allocations: 0 / 0.6671 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.1778, allocations: 67.91 kB / 0.6672 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.1778, allocations: 4 kB / 0.6672 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1778, allocations: 0 / 0.6672 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.1778, allocations: 0 / 0.6672 GB, free: 3.953 MB / 0.4981 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.0003519/0.1782, allocations: 343.4 kB / 0.6675 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.1782, allocations: 13.05 kB / 0.6675 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.083e-05/0.1783, allocations: 0.9375 kB / 0.6675 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.1784, allocations: 168.4 kB / 0.6677 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.1784, allocations: 4.125 kB / 0.6677 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.1784, allocations: 0 / 0.6677 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.015e-05/0.1785, allocations: 33.7 kB / 0.6677 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.1785, allocations: 0 / 0.6677 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.1786, allocations: 0 / 0.6677 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1786, allocations: 7.938 kB / 0.6677 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.907e-05/0.1786, allocations: 0 / 0.6677 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000416/0.179, allocations: 472.5 kB / 0.6682 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.867e-05/0.1791, allocations: 165.1 kB / 0.6683 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.387e-05/0.1791, allocations: 80.14 kB / 0.6684 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.1792, allocations: 79.28 kB / 0.6685 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/0.1792, allocations: 113.8 kB / 0.6686 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.1792, allocations: 0 / 0.6686 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.323e-05/0.1793, allocations: 33.64 kB / 0.6686 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.196e-05/0.1793, allocations: 126.7 kB / 0.6687 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.845e-05/0.1795, allocations: 97.84 kB / 0.6688 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.1795, allocations: 25.7 kB / 0.6688 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.547e-05/0.1795, allocations: 100 kB / 0.6689 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-06/0.1795, allocations: 0 / 0.6689 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/0.1796, allocations: 9.719 kB / 0.6689 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.1797, allocations: 318.8 kB / 0.6692 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.019e-05/0.1797, allocations: 0 / 0.6692 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.111e-06/0.1797, allocations: 0 / 0.6692 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.506e-05/0.1797, allocations: 8.859 kB / 0.6693 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1797, allocations: 4.062 kB / 0.6693 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001023/0.1799, allocations: 41.62 kB / 0.6693 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1799, allocations: 8 kB / 0.6693 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.1799, allocations: 0 / 0.6693 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.1799, allocations: 0 / 0.6693 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.6e-05/0.1799, allocations: 0 / 0.6693 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.1799, allocations: 0 / 0.6693 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.487e-05/0.18, allocations: 3.938 kB / 0.6693 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.18, allocations: 3.938 kB / 0.6693 GB, free: 1.492 MB / 0.4981 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 8.498e-05/0.1801, allocations: 189.2 kB / 0.6695 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.671e-05/0.1801, allocations: 101 kB / 0.6696 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.974e-05/0.1802, allocations: 112 kB / 0.6697 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.736e-05/0.1802, allocations: 184.3 kB / 0.6699 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-05/0.1803, allocations: 180.2 kB / 0.67 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.564e-05/0.1804, allocations: 176.3 kB / 0.6702 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.1806, allocations: 409.2 kB / 0.6706 GB, free: 64 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.236e-05/0.1806, allocations: 108.9 kB / 0.6707 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.476e-05/0.1807, allocations: 101 kB / 0.6708 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.808e-05/0.1807, allocations: 180.2 kB / 0.671 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-05/0.1808, allocations: 188.5 kB / 0.6712 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.612e-05/0.1809, allocations: 184.3 kB / 0.6713 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.072e-05/0.1809, allocations: 180.2 kB / 0.6715 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.1811, allocations: 307.7 kB / 0.6718 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.686e-05/0.1812, allocations: 186 kB / 0.672 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.004e-05/0.1812, allocations: 184.3 kB / 0.6722 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.319e-05/0.1813, allocations: 104.9 kB / 0.6723 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.279e-05/0.1814, allocations: 180.3 kB / 0.6724 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.966e-05/0.1814, allocations: 108.9 kB / 0.6725 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.399e-05/0.1815, allocations: 87.2 kB / 0.6726 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1815, allocations: 0 / 0.6726 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002658/0.1818, allocations: 20 kB / 0.6726 GB, free: 13.87 MB / 0.5137 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.0003809/0.1821, allocations: 231.1 kB / 0.6728 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.233e-05/0.1822, allocations: 4 kB / 0.6729 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1822, allocations: 0 / 0.6729 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.1822, allocations: 0 / 0.6729 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.1826, allocations: 459.7 kB / 0.6733 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003896/0.183, allocations: 225.8 kB / 0.6735 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.1832, allocations: 0.6771 MB / 0.6742 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.145e-05/0.1833, allocations: 7.438 kB / 0.6742 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.1833, allocations: 3.938 kB / 0.6742 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of Templates: time 0.002562/0.1858, allocations: 0.8634 MB / 0.675 GB, free: 11.35 MB / 0.5137 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)