Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.008116/0.008117, allocations: 100.3 kB / 15.87 MB, free: 5.871 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.001617/0.001617, allocations: 192.3 kB / 16.79 MB, free: 5.816 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.426/1.426, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.096/1.096, allocations: 135.1 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.00123, allocations: 68 kB / 0.5054 GB, free: 5.699 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1845, allocations: 80.93 MB / 0.5844 GB, free: 4.938 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.00265/0.1872, allocations: 1.461 MB / 0.5858 GB, free: 3.461 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00484/0.1921, allocations: 3.221 MB / 0.589 GB, free: 236 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.564e-05/0.1921, allocations: 4 kB / 0.589 GB, free: 232 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.1923, allocations: 7.938 kB / 0.589 GB, free: 224 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002485/0.1926, allocations: 31.83 kB / 0.589 GB, free: 192 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002256/0.1948, allocations: 0.7681 MB / 0.5898 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000134/0.195, allocations: 107.8 kB / 0.5899 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.202e-05/0.1951, allocations: 8 kB / 0.5899 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.143e-05/0.1951, allocations: 35.8 kB / 0.5899 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.1954, allocations: 153 kB / 0.59 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.385e-05/0.1954, allocations: 16 kB / 0.5901 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00201/0.1974, allocations: 1.392 MB / 0.5914 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002094/0.1977, allocations: 263.9 kB / 0.5917 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002236/0.1979, allocations: 278.3 kB / 0.5919 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001239/0.1991, allocations: 0.9941 MB / 0.5929 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1991, allocations: 0 / 0.5929 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1992, allocations: 4 kB / 0.5929 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.1992, allocations: 0 / 0.5929 GB, free: 12.18 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.007416/0.2066, allocations: 1.203 MB / 0.5941 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.84e-05/0.2067, allocations: 8.031 kB / 0.5941 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004066/0.2071, allocations: 99.61 kB / 0.5942 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004133/0.2075, allocations: 360.8 kB / 0.5945 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.2075, allocations: 4.375 kB / 0.5945 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.836e-05/0.2076, allocations: 12.12 kB / 0.5945 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004274/0.208, allocations: 379.2 kB / 0.5949 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.208, allocations: 4 kB / 0.5949 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.2081, allocations: 7.984 kB / 0.5949 GB, free: 10 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.2081, allocations: 0 / 0.5949 GB, free: 10 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004139/0.2085, allocations: 439.7 kB / 0.5953 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005943/0.2091, allocations: 0.6247 MB / 0.5959 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005065/0.2096, allocations: 0.5749 MB / 0.5965 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003025/0.2099, allocations: 337.7 kB / 0.5968 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001079/0.211, allocations: 1.028 MB / 0.5978 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004117/0.2114, allocations: 412.9 kB / 0.5982 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.422e-06/0.2114, allocations: 0 / 0.5982 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001288/0.2127, allocations: 1.281 MB / 0.5995 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.958e-05/0.2128, allocations: 93.22 kB / 0.5996 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.2139, allocations: 1.198 MB / 0.6007 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.664e-05/0.214, allocations: 29.7 kB / 0.6008 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.2142, allocations: 261.4 kB / 0.601 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.178e-05/0.2142, allocations: 19.75 kB / 0.601 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003168/0.2145, allocations: 355.5 kB / 0.6014 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.2147, allocations: 310 kB / 0.6017 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/0.2159, allocations: 1.365 MB / 0.603 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3283/0.5442, allocations: 1.493 MB / 0.6045 GB, free: 52.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006343/0.5506, allocations: 3.536 MB / 0.6079 GB, free: 50.96 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.755e-05/0.5506, allocations: 2.438 kB / 0.6079 GB, free: 50.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003311/0.5539, allocations: 3.969 MB / 0.6118 GB, free: 49.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.554, allocations: 6.25 kB / 0.6118 GB, free: 49.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.554, allocations: 2.812 kB / 0.6118 GB, free: 49.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.554, allocations: 0 / 0.6118 GB, free: 49.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.5542, allocations: 22.64 kB / 0.6118 GB, free: 49.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.5542, allocations: 2.156 kB / 0.6118 GB, free: 49.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004163/0.5546, allocations: 232.1 kB / 0.612 GB, free: 48.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.624e-05/0.5547, allocations: 20.48 kB / 0.6121 GB, free: 48.87 MB / 0.4981 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.0002343/0.5549, allocations: 240 kB / 0.6123 GB, free: 48.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.402e-05/0.555, allocations: 66.75 kB / 0.6124 GB, free: 48.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002631/0.5552, allocations: 74.31 kB / 0.6124 GB, free: 48.65 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.5552, allocations: 1.125 kB / 0.6124 GB, free: 48.65 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.5553, allocations: 0 / 0.6124 GB, free: 48.65 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.5553, allocations: 2.594 kB / 0.6124 GB, free: 48.65 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003131/0.5556, allocations: 498.4 kB / 0.6129 GB, free: 48.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.5556, allocations: 3.719 kB / 0.6129 GB, free: 48.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.444e-05/0.5557, allocations: 7.281 kB / 0.6129 GB, free: 48.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.5557, allocations: 3.875 kB / 0.6129 GB, free: 48.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.5557, allocations: 3.875 kB / 0.6129 GB, free: 48.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.5557, allocations: 3.375 kB / 0.6129 GB, free: 48.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5557, allocations: 4.344 kB / 0.6129 GB, free: 48.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009013/0.5566, allocations: 0.9986 MB / 0.6139 GB, free: 48.23 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.983e-05/0.5567, allocations: 147.4 kB / 0.6141 GB, free: 48.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.603e-05/0.5568, allocations: 8.031 kB / 0.6141 GB, free: 48.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.557, allocations: 5.922 kB / 0.6141 GB, free: 48.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.557, allocations: 9.281 kB / 0.6141 GB, free: 48.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.25e-05/0.5571, allocations: 15 kB / 0.6141 GB, free: 48.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005289/0.5576, allocations: 0.6716 MB / 0.6147 GB, free: 47.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5576, allocations: 0 / 0.6147 GB, free: 47.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001015/0.5586, allocations: 393 kB / 0.6151 GB, free: 47.84 MB / 0.4981 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.001075/0.5597, allocations: 489.1 kB / 0.6156 GB, free: 47.72 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001803/0.5615, allocations: 2.494 MB / 0.618 GB, free: 46.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.5615, allocations: 3.812 kB / 0.618 GB, free: 46.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002922/0.5618, allocations: 340.8 kB / 0.6183 GB, free: 46.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.5621, allocations: 34.53 kB / 0.6184 GB, free: 46.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/0.5639, allocations: 1.96 MB / 0.6203 GB, free: 45.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.5643, allocations: 0.9646 MB / 0.6212 GB, free: 45.26 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.5644, allocations: 31.11 kB / 0.6213 GB, free: 45.25 MB / 0.4981 GB Notification: Performance of SimCode: time 3.81e-07/0.5644, allocations: 3.75 kB / 0.6213 GB, free: 45.25 MB / 0.4981 GB Notification: Performance of Templates: time 0.01573/0.5801, allocations: 10.52 MB / 0.6315 GB, free: 43.81 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)