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-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_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.0008864/0.0008864, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.0008655/0.0008656, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.184/1.184, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8268/0.8268, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002703/0.0002703, allocations: 16.86 kB / 0.5069 GB, free: 5.195 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1325, allocations: 82.3 MB / 0.5872 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001223/0.1337, allocations: 1.104 MB / 0.5883 GB, free: 1.945 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003428/0.1372, allocations: 2.781 MB / 0.591 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.479e-05/0.1372, allocations: 7.938 kB / 0.591 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.662e-05/0.1373, allocations: 4 kB / 0.591 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.1375, allocations: 23.91 kB / 0.5911 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.1389, allocations: 0.7241 MB / 0.5918 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.987e-05/0.139, allocations: 51.86 kB / 0.5918 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.37e-05/0.139, allocations: 8 kB / 0.5918 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.304e-05/0.1391, allocations: 31.91 kB / 0.5918 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.1392, allocations: 147.7 kB / 0.592 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.875e-05/0.1393, allocations: 12 kB / 0.592 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.1407, allocations: 1.248 MB / 0.5932 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.1409, allocations: 255.3 kB / 0.5935 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.57e-05/0.141, allocations: 109.2 kB / 0.5936 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000942/0.1419, allocations: 0.9669 MB / 0.5945 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.1419, allocations: 0 / 0.5945 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.143e-06/0.1419, allocations: 0 / 0.5945 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.248e-06/0.142, allocations: 0 / 0.5945 GB, free: 11.57 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.008761/0.1507, allocations: 1.169 MB / 0.5957 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.1508, allocations: 15.97 kB / 0.5957 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002913/0.1511, allocations: 86.75 kB / 0.5958 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.1514, allocations: 363.6 kB / 0.5961 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.1514, allocations: 4 kB / 0.5961 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.613e-05/0.1515, allocations: 8 kB / 0.5961 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000373/0.1519, allocations: 387.2 kB / 0.5965 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.1519, allocations: 4 kB / 0.5965 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.1519, allocations: 0 / 0.5965 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.1519, allocations: 3.984 kB / 0.5965 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003847/0.1523, allocations: 443.7 kB / 0.5969 GB, free: 9 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000489/0.1528, allocations: 0.6324 MB / 0.5975 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004583/0.1533, allocations: 0.5672 MB / 0.5981 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000885/0.1541, allocations: 1.036 MB / 0.5991 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003493/0.1545, allocations: 404.9 kB / 0.5995 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.1545, allocations: 4 kB / 0.5995 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001115/0.1556, allocations: 1.281 MB / 0.6007 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.1557, allocations: 89.22 kB / 0.6008 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009867/0.1567, allocations: 1.19 MB / 0.602 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.1567, allocations: 25.7 kB / 0.602 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.1569, allocations: 261.4 kB / 0.6023 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.1569, allocations: 23.7 kB / 0.6023 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-05/0.157, allocations: 4 kB / 0.6023 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.1571, allocations: 415.8 kB / 0.6027 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/0.1582, allocations: 1.365 MB / 0.604 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2186/0.3769, allocations: 1.491 MB / 0.6055 GB, free: 48.74 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.3782, allocations: 1.896 MB / 0.6073 GB, free: 48.26 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3782, allocations: 1.891 kB / 0.6073 GB, free: 48.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003089/0.3813, allocations: 3.943 MB / 0.6112 GB, free: 47.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.3814, allocations: 10.03 kB / 0.6112 GB, free: 47.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.3814, allocations: 3.672 kB / 0.6112 GB, free: 47.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.3814, allocations: 3.344 kB / 0.6112 GB, free: 47.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.3815, allocations: 15.64 kB / 0.6112 GB, free: 47.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.3815, allocations: 2.062 kB / 0.6112 GB, free: 47.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003838/0.3819, allocations: 229.1 kB / 0.6114 GB, free: 47.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.093e-05/0.382, allocations: 26.78 kB / 0.6114 GB, free: 47.08 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 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002119/0.3822, allocations: 239.8 kB / 0.6117 GB, free: 46.97 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.522e-05/0.3822, allocations: 64.23 kB / 0.6117 GB, free: 46.92 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002314/0.3825, allocations: 73.47 kB / 0.6118 GB, free: 46.87 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3825, allocations: 3.5 kB / 0.6118 GB, free: 46.87 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3825, allocations: 6.406 kB / 0.6118 GB, free: 46.87 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3825, allocations: 1.438 kB / 0.6118 GB, free: 46.87 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002901/0.3828, allocations: 496.4 kB / 0.6123 GB, free: 46.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.3828, allocations: 0 / 0.6123 GB, free: 46.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.011e-05/0.3829, allocations: 9.484 kB / 0.6123 GB, free: 46.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3829, allocations: 0 / 0.6123 GB, free: 46.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.3829, allocations: 3.625 kB / 0.6123 GB, free: 46.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3829, allocations: 7.406 kB / 0.6123 GB, free: 46.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3829, allocations: 0 / 0.6123 GB, free: 46.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006207/0.3835, allocations: 1.012 MB / 0.6133 GB, free: 46.54 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.18e-05/0.3836, allocations: 151.5 kB / 0.6134 GB, free: 46.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.454e-05/0.3837, allocations: 10.33 kB / 0.6135 GB, free: 46.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.3838, allocations: 3.062 kB / 0.6135 GB, free: 46.39 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.3838, allocations: 7.531 kB / 0.6135 GB, free: 46.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.491e-05/0.3839, allocations: 15.55 kB / 0.6135 GB, free: 46.39 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005672/0.3844, allocations: 0.6538 MB / 0.6141 GB, free: 46.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.41e-07/0.3844, allocations: 0 / 0.6141 GB, free: 46.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008191/0.3853, allocations: 399.4 kB / 0.6145 GB, free: 46.28 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009154/0.3862, allocations: 480.2 kB / 0.615 GB, free: 46.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001576/0.3878, allocations: 2.501 MB / 0.6174 GB, free: 45.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3878, allocations: 0 / 0.6174 GB, free: 45.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.388, allocations: 341 kB / 0.6177 GB, free: 45.42 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.3882, allocations: 39.67 kB / 0.6178 GB, free: 45.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.3896, allocations: 1.827 MB / 0.6195 GB, free: 44.74 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.3899, allocations: 0.9772 MB / 0.6205 GB, free: 44.05 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001393/0.39, allocations: 41.97 kB / 0.6205 GB, free: 44.04 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.937e-05/0.3901, allocations: 23.28 kB / 0.6206 GB, free: 44.03 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.3901, allocations: 7.188 kB / 0.6206 GB, free: 44.03 MB / 0.4981 GB Notification: Performance of Templates: time 0.01139/0.4015, allocations: 8.951 MB / 0.6293 GB, free: 43.44 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: