Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00487/0.00487, allocations: 100.7 kB / 15.73 MB, free: 6.035 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.001391/0.001392, allocations: 191.2 kB / 16.67 MB, free: 5.973 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7591/0.7591, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 75.97 kB / 0.5814 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1536, allocations: 80.2 MB / 0.6597 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002511/0.1562, allocations: 1.412 MB / 0.6611 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004575/0.1608, allocations: 3.021 MB / 0.6641 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.327e-05/0.1609, allocations: 4 kB / 0.6641 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.161, allocations: 15.8 kB / 0.6641 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.1612, allocations: 31.84 kB / 0.6641 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002483/0.1637, allocations: 0.9932 MB / 0.6651 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.1639, allocations: 83.73 kB / 0.6652 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.947e-05/0.1639, allocations: 7.984 kB / 0.6652 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.525e-05/0.164, allocations: 43.78 kB / 0.6652 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.1642, allocations: 143.6 kB / 0.6653 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.846e-05/0.1642, allocations: 12 kB / 0.6654 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001905/0.1662, allocations: 1.381 MB / 0.6667 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001973/0.1664, allocations: 263.8 kB / 0.667 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000269/0.1666, allocations: 278.3 kB / 0.6672 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00177/0.1684, allocations: 1.473 MB / 0.6687 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1684, allocations: 0 / 0.6687 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1684, allocations: 0 / 0.6687 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.396e-05/0.1685, allocations: 0 / 0.6687 GB, free: 4.312 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01004/0.1785, allocations: 1.21 MB / 0.6698 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.1786, allocations: 12.03 kB / 0.6699 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003804/0.179, allocations: 87.67 kB / 0.6699 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003855/0.1793, allocations: 364.8 kB / 0.6703 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.1794, allocations: 4.375 kB / 0.6703 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.344e-05/0.1794, allocations: 7.938 kB / 0.6703 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004355/0.1799, allocations: 395.2 kB / 0.6707 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.1799, allocations: 0 / 0.6707 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.1799, allocations: 0 / 0.6707 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.1799, allocations: 0 / 0.6707 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004278/0.1803, allocations: 435.7 kB / 0.6711 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005898/0.1809, allocations: 0.6287 MB / 0.6717 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004967/0.1814, allocations: 0.5633 MB / 0.6723 GB, free: 460 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003008/0.1818, allocations: 337.7 kB / 0.6726 GB, free: 116 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001022/0.1828, allocations: 1.036 MB / 0.6736 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000374/0.1832, allocations: 404.9 kB / 0.674 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.412e-06/0.1832, allocations: 3.938 kB / 0.674 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001198/0.1844, allocations: 1.285 MB / 0.6752 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.1845, allocations: 85.09 kB / 0.6753 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.1856, allocations: 1.206 MB / 0.6765 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.884e-05/0.1856, allocations: 25.7 kB / 0.6765 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.1858, allocations: 261.4 kB / 0.6768 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.1858, allocations: 23.73 kB / 0.6768 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003073/0.1861, allocations: 347.5 kB / 0.6771 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.498e-05/0.1862, allocations: 314 kB / 0.6774 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001172/0.1874, allocations: 1.361 MB / 0.6788 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/0.1887, allocations: 1.497 MB / 0.6802 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006978/0.1957, allocations: 3.538 MB / 0.6837 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.1957, allocations: 7.938 kB / 0.6837 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004142/0.1998, allocations: 3.957 MB / 0.6875 GB, free: 356 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.1999, allocations: 8 kB / 0.6875 GB, free: 348 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.1999, allocations: 0 / 0.6875 GB, free: 348 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.1999, allocations: 3.984 kB / 0.6876 GB, free: 344 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.2001, allocations: 15.98 kB / 0.6876 GB, free: 328 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.2001, allocations: 4 kB / 0.6876 GB, free: 324 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004586/0.2005, allocations: 232.3 kB / 0.6878 GB, free: 88 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.683e-05/0.2006, allocations: 27.98 kB / 0.6878 GB, free: 60 kB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 (gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0002981/0.2009, allocations: 244.4 kB / 0.6881 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.004e-05/0.201, allocations: 62.78 kB / 0.6881 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000259/0.2012, allocations: 70.91 kB / 0.6882 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2013, allocations: 4.031 kB / 0.6882 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.2013, allocations: 7.984 kB / 0.6882 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2013, allocations: 0 / 0.6882 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004121/0.2017, allocations: 0.4928 MB / 0.6887 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2017, allocations: 0 / 0.6887 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.244e-05/0.2018, allocations: 11.94 kB / 0.6887 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.2018, allocations: 4 kB / 0.6887 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.2018, allocations: 7.922 kB / 0.6887 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.2018, allocations: 4 kB / 0.6887 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2018, allocations: 0 / 0.6887 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008879/0.2027, allocations: 0.9977 MB / 0.6897 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.2028, allocations: 155.9 kB / 0.6898 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.577e-05/0.2029, allocations: 4 kB / 0.6898 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.2031, allocations: 4 kB / 0.6898 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.2031, allocations: 11.98 kB / 0.6898 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.334e-05/0.2031, allocations: 11.92 kB / 0.6899 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006881/0.2038, allocations: 0.6687 MB / 0.6905 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2039, allocations: 0 / 0.6905 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001021/0.2049, allocations: 391.8 kB / 0.6909 GB, free: 12.81 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001269/0.2062, allocations: 482.8 kB / 0.6913 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00222/0.2084, allocations: 2.499 MB / 0.6938 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2084, allocations: 0 / 0.6938 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003223/0.2087, allocations: 339.9 kB / 0.6941 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.209, allocations: 37.3 kB / 0.6941 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/0.211, allocations: 1.748 MB / 0.6958 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005143/0.2116, allocations: 0.9601 MB / 0.6968 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001336/0.2117, allocations: 32.55 kB / 0.6968 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.2118, allocations: 23.42 kB / 0.6968 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of SimCode: time 9.61e-07/0.2118, allocations: 0 / 0.6968 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of Templates: time 0.01654/0.2284, allocations: 9.533 MB / 0.7061 GB, free: 13.13 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)