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.00145/0.00145, allocations: 104.1 kB / 16.35 MB, free: 5.828 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.001634/0.001634, allocations: 190.5 kB / 17.29 MB, free: 5.484 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.377/1.377, 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.7892/0.7892, allocations: 132.2 MB / 423.3 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 55.91 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3514, allocations: 80.19 MB / 0.5815 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002385/0.3539, allocations: 1.4 MB / 0.5829 GB, free: 26.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003683/0.3576, allocations: 3.031 MB / 0.5859 GB, free: 24.1 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.593e-05/0.3576, allocations: 1.5 kB / 0.5859 GB, free: 24.1 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.3578, allocations: 7.922 kB / 0.5859 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002102/0.358, allocations: 31.53 kB / 0.5859 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002216/0.3602, allocations: 0.9949 MB / 0.5869 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.3604, allocations: 79.59 kB / 0.5869 GB, free: 23.42 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.487e-05/0.3604, allocations: 9.906 kB / 0.587 GB, free: 23.42 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.1e-05/0.3605, allocations: 39 kB / 0.587 GB, free: 23.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.3607, allocations: 141.1 kB / 0.5871 GB, free: 23.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.608e-05/0.3608, allocations: 14.09 kB / 0.5871 GB, free: 23.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001812/0.3626, allocations: 1.384 MB / 0.5885 GB, free: 22.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001928/0.3628, allocations: 265.1 kB / 0.5887 GB, free: 22.42 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.363, allocations: 276 kB / 0.589 GB, free: 22.22 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001524/0.3645, allocations: 1.483 MB / 0.5905 GB, free: 21.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3645, allocations: 0 / 0.5905 GB, free: 21.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3645, allocations: 0 / 0.5905 GB, free: 21.03 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.176e-06/0.3645, allocations: 0 / 0.5905 GB, free: 21.03 MB / 446.1 MB 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.007539/0.3721, allocations: 1.2 MB / 0.5916 GB, free: 19.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.3721, allocations: 17.41 kB / 0.5916 GB, free: 19.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000363/0.3725, allocations: 92.83 kB / 0.5917 GB, free: 19.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.3728, allocations: 357.6 kB / 0.5921 GB, free: 19.28 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.3729, allocations: 8.359 kB / 0.5921 GB, free: 19.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.813e-05/0.3729, allocations: 14.41 kB / 0.5921 GB, free: 19.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003293/0.3732, allocations: 383.2 kB / 0.5925 GB, free: 18.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.3733, allocations: 3.938 kB / 0.5925 GB, free: 18.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.3733, allocations: 6.109 kB / 0.5925 GB, free: 18.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3733, allocations: 0 / 0.5925 GB, free: 18.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003094/0.3736, allocations: 431.8 kB / 0.5929 GB, free: 18.44 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004038/0.374, allocations: 0.6341 MB / 0.5935 GB, free: 17.76 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003591/0.3744, allocations: 0.5645 MB / 0.5941 GB, free: 17.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.3746, allocations: 338.3 kB / 0.5944 GB, free: 16.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007381/0.3754, allocations: 1.026 MB / 0.5954 GB, free: 15.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002906/0.3757, allocations: 408.1 kB / 0.5958 GB, free: 15.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.3757, allocations: 0 / 0.5958 GB, free: 15.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009341/0.3766, allocations: 1.292 MB / 0.597 GB, free: 13.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.3767, allocations: 85.05 kB / 0.5971 GB, free: 13.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008047/0.3775, allocations: 1.206 MB / 0.5983 GB, free: 12.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.3775, allocations: 29.7 kB / 0.5983 GB, free: 12.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.3776, allocations: 262 kB / 0.5986 GB, free: 12.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.3777, allocations: 19.8 kB / 0.5986 GB, free: 12.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002311/0.3779, allocations: 353.9 kB / 0.5989 GB, free: 11.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.106e-05/0.378, allocations: 306 kB / 0.5992 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008308/0.3788, allocations: 1.365 MB / 0.6006 GB, free: 10.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000876/0.3797, allocations: 1.495 MB / 0.602 GB, free: 8.723 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006081/0.3858, allocations: 3.542 MB / 0.6055 GB, free: 5.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.3858, allocations: 1.562 kB / 0.6055 GB, free: 5.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003287/0.3891, allocations: 3.961 MB / 0.6093 GB, free: 1.094 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.3891, allocations: 11.59 kB / 0.6094 GB, free: 1.086 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.3892, allocations: 0 / 0.6094 GB, free: 1.086 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.3892, allocations: 0 / 0.6094 GB, free: 1.086 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.3893, allocations: 19.92 kB / 0.6094 GB, free: 1.066 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.3893, allocations: 7.156 kB / 0.6094 GB, free: 1.062 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003839/0.3897, allocations: 228.3 kB / 0.6096 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.831e-05/0.3898, allocations: 23.98 kB / 0.6096 GB, free: 0.8125 MB / 446.1 MB 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.0002306/0.39, allocations: 245 kB / 0.6099 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.327e-05/0.3901, allocations: 62.78 kB / 0.6099 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.3903, allocations: 77 kB / 0.61 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3903, allocations: 0 / 0.61 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3904, allocations: 4 kB / 0.61 GB, free: 432 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3904, allocations: 5.359 kB / 0.61 GB, free: 428 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003448/0.3907, allocations: 0.4889 MB / 0.6105 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.3907, allocations: 7.969 kB / 0.6105 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.129e-05/0.3908, allocations: 8.688 kB / 0.6105 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.3908, allocations: 4 kB / 0.6105 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.3908, allocations: 4.484 kB / 0.6105 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.3908, allocations: 0 / 0.6105 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3909, allocations: 6.156 kB / 0.6105 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.3919, allocations: 0.9984 MB / 0.6115 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.392, allocations: 147.9 kB / 0.6116 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.947e-05/0.3921, allocations: 9.828 kB / 0.6116 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.3922, allocations: 4 kB / 0.6116 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.3923, allocations: 3.984 kB / 0.6116 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.609e-05/0.3923, allocations: 13.61 kB / 0.6116 GB, free: 14.64 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006767/0.393, allocations: 0.6687 MB / 0.6123 GB, free: 13.97 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.393, allocations: 0 / 0.6123 GB, free: 13.97 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001027/0.394, allocations: 396.9 kB / 0.6127 GB, free: 13.58 MB / 462.1 MB 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.001085/0.3951, allocations: 478.6 kB / 0.6131 GB, free: 13.11 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002433/0.3976, allocations: 2.496 MB / 0.6156 GB, free: 10.61 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3976, allocations: 0 / 0.6156 GB, free: 10.61 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003111/0.3979, allocations: 341.3 kB / 0.6159 GB, free: 10.28 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.3982, allocations: 44.36 kB / 0.6159 GB, free: 10.23 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/0.4004, allocations: 1.729 MB / 0.6176 GB, free: 8.484 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005255/0.4009, allocations: 0.9727 MB / 0.6186 GB, free: 7.488 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001237/0.401, allocations: 32.7 kB / 0.6186 GB, free: 7.461 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.752e-05/0.4011, allocations: 25.33 kB / 0.6186 GB, free: 7.438 MB / 462.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4012, allocations: 0 / 0.6186 GB, free: 7.438 MB / 462.1 MB Notification: Performance of Templates: time 0.01586/0.417, allocations: 9.526 MB / 0.6279 GB, free: 13.96 MB / 478.1 MB 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)