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.001092/0.001092, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.00102/0.00102, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7925/0.7925, allocations: 132.2 MB / 423.4 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001227, allocations: 63.59 kB / 0.5821 GB, free: 23.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1543, allocations: 80.22 MB / 0.6604 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002618/0.157, allocations: 1.396 MB / 0.6618 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004579/0.1616, allocations: 3.024 MB / 0.6647 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.029e-05/0.1617, allocations: 7.875 kB / 0.6647 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.1618, allocations: 3.938 kB / 0.6647 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002599/0.1621, allocations: 35.83 kB / 0.6648 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002462/0.1646, allocations: 0.994 MB / 0.6657 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.1647, allocations: 83.73 kB / 0.6658 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.574e-05/0.1648, allocations: 7.984 kB / 0.6658 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.411e-05/0.1649, allocations: 43.78 kB / 0.6659 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002284/0.1651, allocations: 143.6 kB / 0.666 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.977e-05/0.1651, allocations: 16 kB / 0.666 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001904/0.1671, allocations: 1.377 MB / 0.6674 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002038/0.1673, allocations: 267.8 kB / 0.6676 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000213/0.1675, allocations: 274.3 kB / 0.6679 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001666/0.1692, allocations: 1.469 MB / 0.6693 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1692, allocations: 0 / 0.6693 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.607e-06/0.1692, allocations: 0 / 0.6693 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.1692, allocations: 3.938 kB / 0.6693 GB, free: 1.074 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.009799/0.179, allocations: 1.222 MB / 0.6705 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.1791, allocations: 9.109 kB / 0.6705 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003772/0.1794, allocations: 83.69 kB / 0.6706 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003589/0.1798, allocations: 356.9 kB / 0.6709 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.1798, allocations: 8.375 kB / 0.6709 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.192e-05/0.1799, allocations: 7.938 kB / 0.6709 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004227/0.1803, allocations: 391.2 kB / 0.6713 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1803, allocations: 0 / 0.6713 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.1804, allocations: 4 kB / 0.6713 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1804, allocations: 0 / 0.6713 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004288/0.1808, allocations: 439.7 kB / 0.6717 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005708/0.1814, allocations: 0.6326 MB / 0.6724 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004858/0.1819, allocations: 0.567 MB / 0.6729 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/0.1822, allocations: 333.7 kB / 0.6732 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001029/0.1832, allocations: 1.032 MB / 0.6742 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003789/0.1836, allocations: 400.9 kB / 0.6746 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.1836, allocations: 0 / 0.6746 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001235/0.1849, allocations: 1.289 MB / 0.6759 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.1849, allocations: 85.11 kB / 0.676 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.186, allocations: 1.21 MB / 0.6771 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/0.186, allocations: 25.7 kB / 0.6772 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.1862, allocations: 261.4 kB / 0.6774 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/0.1863, allocations: 23.73 kB / 0.6774 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002911/0.1866, allocations: 343.7 kB / 0.6778 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1867, allocations: 322 kB / 0.6781 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.1878, allocations: 1.357 MB / 0.6794 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001199/0.189, allocations: 1.493 MB / 0.6809 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00661/0.1956, allocations: 3.538 MB / 0.6843 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.1956, allocations: 3.938 kB / 0.6843 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003958/0.1996, allocations: 3.961 MB / 0.6882 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.1997, allocations: 11.94 kB / 0.6882 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.1997, allocations: 0 / 0.6882 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.1997, allocations: 4 kB / 0.6882 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.1998, allocations: 19.92 kB / 0.6882 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.1999, allocations: 4.344 kB / 0.6882 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004719/0.2003, allocations: 228.2 kB / 0.6884 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.872e-05/0.2004, allocations: 23.98 kB / 0.6885 GB, free: 12.82 MB / 0.5294 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.0002715/0.2007, allocations: 237.6 kB / 0.6887 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.202e-05/0.2007, allocations: 62.78 kB / 0.6888 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002653/0.201, allocations: 82.83 kB / 0.6888 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.201, allocations: 4 kB / 0.6888 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.201, allocations: 0 / 0.6888 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.201, allocations: 0 / 0.6888 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000395/0.2014, allocations: 0.4927 MB / 0.6893 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2015, allocations: 0 / 0.6893 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.21e-05/0.2015, allocations: 11.98 kB / 0.6893 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.2015, allocations: 3.938 kB / 0.6893 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.2016, allocations: 4 kB / 0.6893 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.2016, allocations: 7.984 kB / 0.6893 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2016, allocations: 8.031 kB / 0.6893 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008515/0.2024, allocations: 1.005 MB / 0.6903 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.721e-05/0.2025, allocations: 151.9 kB / 0.6905 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.786e-05/0.2026, allocations: 0 / 0.6905 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.2027, allocations: 7.984 kB / 0.6905 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.958e-05/0.2028, allocations: 12 kB / 0.6905 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-05/0.2028, allocations: 15.97 kB / 0.6905 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006467/0.2035, allocations: 0.6648 MB / 0.6912 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2035, allocations: 0 / 0.6912 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009605/0.2045, allocations: 387.9 kB / 0.6915 GB, free: 9.566 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.001086/0.2056, allocations: 486.2 kB / 0.692 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002082/0.2077, allocations: 2.498 MB / 0.6944 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2077, allocations: 0 / 0.6944 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003/0.208, allocations: 347.8 kB / 0.6948 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.2083, allocations: 32.44 kB / 0.6948 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.2102, allocations: 1.779 MB / 0.6965 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000457/0.2106, allocations: 0.9562 MB / 0.6975 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.2108, allocations: 31.41 kB / 0.6975 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of SimCode: time 4.71e-07/0.2108, allocations: 0 / 0.6975 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of Templates: time 0.01531/0.2261, allocations: 10.55 MB / 0.7078 GB, free: 8.828 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)