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.001613/0.001613, allocations: 106.5 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.001733/0.001733, allocations: 189.5 kB / 17.34 MB, free: 5.75 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7812/0.7812, allocations: 132.2 MB / 423.4 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 67.17 kB / 0.5821 GB, free: 23.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1693, allocations: 80.22 MB / 0.6604 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002911/0.1723, allocations: 1.411 MB / 0.6618 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004554/0.1768, allocations: 3.016 MB / 0.6647 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.87e-05/0.1769, allocations: 0 / 0.6647 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.1771, allocations: 15.86 kB / 0.6647 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002506/0.1774, allocations: 27.84 kB / 0.6648 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002585/0.18, allocations: 0.994 MB / 0.6657 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.1801, allocations: 83.75 kB / 0.6658 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.467e-05/0.1802, allocations: 3.984 kB / 0.6658 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.961e-05/0.1802, allocations: 43.84 kB / 0.6659 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/0.1805, allocations: 147.6 kB / 0.666 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.198e-05/0.1805, allocations: 12 kB / 0.666 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001982/0.1825, allocations: 1.381 MB / 0.6674 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002436/0.1828, allocations: 263.8 kB / 0.6676 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002476/0.183, allocations: 278.3 kB / 0.6679 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001954/0.185, allocations: 1.473 MB / 0.6693 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.185, allocations: 4 kB / 0.6693 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.964e-06/0.185, allocations: 0 / 0.6693 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.185, allocations: 0 / 0.6693 GB, free: 1.082 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.009778/0.1948, allocations: 1.207 MB / 0.6705 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.1949, allocations: 13.11 kB / 0.6705 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000351/0.1952, allocations: 87.69 kB / 0.6706 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003611/0.1956, allocations: 360.9 kB / 0.6709 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.1956, allocations: 4.375 kB / 0.6709 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/0.1957, allocations: 11.94 kB / 0.6709 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004075/0.1961, allocations: 391.1 kB / 0.6713 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.1961, allocations: 4 kB / 0.6713 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.1961, allocations: 0 / 0.6713 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1961, allocations: 0 / 0.6713 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004121/0.1965, allocations: 435.7 kB / 0.6717 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005649/0.1971, allocations: 0.6287 MB / 0.6724 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004977/0.1976, allocations: 0.5671 MB / 0.6729 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003004/0.1979, allocations: 337.7 kB / 0.6732 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001081/0.199, allocations: 1.028 MB / 0.6742 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004083/0.1994, allocations: 412.8 kB / 0.6746 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.1995, allocations: 0 / 0.6746 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001276/0.2007, allocations: 1.285 MB / 0.6759 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.2008, allocations: 89.22 kB / 0.676 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.2019, allocations: 1.206 MB / 0.6771 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.739e-05/0.202, allocations: 29.7 kB / 0.6772 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.2021, allocations: 261.4 kB / 0.6774 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.201e-05/0.2022, allocations: 23.73 kB / 0.6774 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000302/0.2025, allocations: 347.5 kB / 0.6778 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.2026, allocations: 310 kB / 0.6781 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001179/0.2038, allocations: 1.365 MB / 0.6794 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001251/0.2051, allocations: 1.486 MB / 0.6809 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00679/0.2119, allocations: 3.541 MB / 0.6843 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.2119, allocations: 7.938 kB / 0.6843 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004077/0.216, allocations: 3.961 MB / 0.6882 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.216, allocations: 8 kB / 0.6882 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.2161, allocations: 0 / 0.6882 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.2161, allocations: 0 / 0.6882 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.2162, allocations: 15.98 kB / 0.6882 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.2162, allocations: 4 kB / 0.6882 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004861/0.2167, allocations: 232.3 kB / 0.6884 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.008e-05/0.2168, allocations: 28.02 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.0002978/0.2171, allocations: 241.5 kB / 0.6887 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.873e-05/0.2172, allocations: 62.78 kB / 0.6888 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002918/0.2175, allocations: 78.88 kB / 0.6888 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.2175, allocations: 0 / 0.6888 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.2175, allocations: 0 / 0.6888 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.2175, allocations: 8.031 kB / 0.6888 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004153/0.2179, allocations: 0.4965 MB / 0.6893 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2179, allocations: 0 / 0.6893 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.559e-05/0.218, allocations: 4 kB / 0.6893 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.218, allocations: 4 kB / 0.6893 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.218, allocations: 3.984 kB / 0.6893 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.218, allocations: 0 / 0.6893 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.218, allocations: 7.875 kB / 0.6893 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009079/0.219, allocations: 1.002 MB / 0.6903 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.879e-05/0.2191, allocations: 151.9 kB / 0.6905 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.506e-05/0.2191, allocations: 7.938 kB / 0.6905 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.2193, allocations: 4 kB / 0.6905 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/0.2193, allocations: 3.984 kB / 0.6905 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.104e-05/0.2194, allocations: 15.98 kB / 0.6905 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006863/0.2201, allocations: 0.6726 MB / 0.6912 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2201, allocations: 0 / 0.6912 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001008/0.2211, allocations: 383.9 kB / 0.6915 GB, free: 9.586 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.001111/0.2222, allocations: 490.8 kB / 0.692 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00217/0.2244, allocations: 2.503 MB / 0.6944 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2244, allocations: 0 / 0.6944 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003155/0.2247, allocations: 335.8 kB / 0.6948 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.225, allocations: 44.55 kB / 0.6948 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.2271, allocations: 1.775 MB / 0.6965 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005014/0.2276, allocations: 0.9679 MB / 0.6975 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.2277, allocations: 23.42 kB / 0.6975 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of SimCode: time 7.72e-07/0.2277, allocations: 0 / 0.6975 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of Templates: time 0.01636/0.2441, allocations: 10.54 MB / 0.7078 GB, free: 8.844 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)