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.0007422/0.0007422, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.0008007/0.0008007, allocations: 168.7 kB / 15.95 MB, free: 204 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.286/1.286, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7422/0.7422, allocations: 132.3 MB / 423.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000287/0.0002871, allocations: 16 kB / 0.5035 GB, free: 4.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3311, allocations: 81.57 MB / 0.5831 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001119/0.3323, allocations: 1.108 MB / 0.5842 GB, free: 3.172 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00336/0.3356, allocations: 2.821 MB / 0.587 GB, free: 1.277 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.703e-05/0.3357, allocations: 1.438 kB / 0.587 GB, free: 1.277 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.197e-05/0.3358, allocations: 7.359 kB / 0.587 GB, free: 1.273 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001645/0.336, allocations: 32.42 kB / 0.587 GB, free: 1.254 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001556/0.3375, allocations: 0.7533 MB / 0.5877 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.3377, allocations: 93.92 kB / 0.5878 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.877e-05/0.3377, allocations: 3.188 kB / 0.5878 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.217e-05/0.3378, allocations: 41.69 kB / 0.5879 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.338, allocations: 163.2 kB / 0.588 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.622e-05/0.3381, allocations: 13.19 kB / 0.588 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001831/0.3399, allocations: 1.302 MB / 0.5893 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002138/0.3401, allocations: 259.2 kB / 0.5896 GB, free: 484 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.429e-05/0.3402, allocations: 116.3 kB / 0.5897 GB, free: 396 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001147/0.3414, allocations: 0.9716 MB / 0.5906 GB, free: 156 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.3414, allocations: 0 / 0.5906 GB, free: 156 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3414, allocations: 0 / 0.5906 GB, free: 156 kB / 430.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.3414, allocations: 0.9375 kB / 0.5906 GB, free: 156 kB / 430.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.007079/0.3485, allocations: 1.17 MB / 0.5918 GB, free: 15.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.3485, allocations: 9.375 kB / 0.5918 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003208/0.3489, allocations: 84.17 kB / 0.5918 GB, free: 15.24 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003862/0.3493, allocations: 356.8 kB / 0.5922 GB, free: 14.94 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.3493, allocations: 7.094 kB / 0.5922 GB, free: 14.94 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.106e-05/0.3493, allocations: 5.125 kB / 0.5922 GB, free: 14.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004631/0.3498, allocations: 388.4 kB / 0.5926 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3498, allocations: 9.031 kB / 0.5926 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.3498, allocations: 0.6094 kB / 0.5926 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.3498, allocations: 1.156 kB / 0.5926 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004568/0.3503, allocations: 432.8 kB / 0.593 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006138/0.3509, allocations: 0.6403 MB / 0.5936 GB, free: 14.47 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005164/0.3515, allocations: 0.5659 MB / 0.5942 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003174/0.3518, allocations: 333.9 kB / 0.5945 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009444/0.3527, allocations: 1.039 MB / 0.5955 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004106/0.3532, allocations: 409.1 kB / 0.5959 GB, free: 13.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.3532, allocations: 4 kB / 0.5959 GB, free: 13.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001315/0.3545, allocations: 1.287 MB / 0.5972 GB, free: 12.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.3545, allocations: 83.27 kB / 0.5972 GB, free: 12.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.3558, allocations: 1.192 MB / 0.5984 GB, free: 12.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.914e-05/0.3558, allocations: 35.53 kB / 0.5984 GB, free: 12.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.356, allocations: 257.4 kB / 0.5987 GB, free: 11.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.774e-05/0.3561, allocations: 39.22 kB / 0.5987 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.621e-05/0.3561, allocations: 0 / 0.5987 GB, free: 11.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.3563, allocations: 423.2 kB / 0.5991 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00123/0.3575, allocations: 1.354 MB / 0.6004 GB, free: 10.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/0.3589, allocations: 1.492 MB / 0.6019 GB, free: 10.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001603/0.3605, allocations: 1.894 MB / 0.6037 GB, free: 9.086 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.3605, allocations: 1.031 kB / 0.6037 GB, free: 9.086 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004005/0.3645, allocations: 3.941 MB / 0.6076 GB, free: 6.875 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.3645, allocations: 6.062 kB / 0.6076 GB, free: 6.875 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.3645, allocations: 6.328 kB / 0.6076 GB, free: 6.871 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.3646, allocations: 1.344 kB / 0.6076 GB, free: 6.871 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.3647, allocations: 15.59 kB / 0.6076 GB, free: 6.867 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.3647, allocations: 5.438 kB / 0.6076 GB, free: 6.863 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004751/0.3652, allocations: 229.6 kB / 0.6078 GB, free: 6.676 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.208e-05/0.3652, allocations: 23.3 kB / 0.6079 GB, free: 6.672 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 ($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.000263/0.3655, allocations: 245.8 kB / 0.6081 GB, free: 6.422 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.063e-05/0.3656, allocations: 62.78 kB / 0.6082 GB, free: 6.359 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002551/0.3658, allocations: 78.89 kB / 0.6082 GB, free: 6.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.3658, allocations: 3.938 kB / 0.6082 GB, free: 6.266 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3659, allocations: 0 / 0.6082 GB, free: 6.266 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3659, allocations: 0 / 0.6082 GB, free: 6.266 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000412/0.3663, allocations: 0.4928 MB / 0.6087 GB, free: 5.727 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.3663, allocations: 4 kB / 0.6087 GB, free: 5.723 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.7e-05/0.3664, allocations: 11.94 kB / 0.6087 GB, free: 5.711 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.3664, allocations: 3.984 kB / 0.6087 GB, free: 5.707 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.3664, allocations: 8 kB / 0.6087 GB, free: 5.699 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3664, allocations: 0 / 0.6087 GB, free: 5.699 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3664, allocations: 4.031 kB / 0.6088 GB, free: 5.695 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000848/0.3673, allocations: 0.9935 MB / 0.6097 GB, free: 4.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.558e-05/0.3674, allocations: 151.9 kB / 0.6099 GB, free: 4.512 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.908e-05/0.3674, allocations: 0 / 0.6099 GB, free: 4.512 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.3676, allocations: 11.98 kB / 0.6099 GB, free: 4.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.3676, allocations: 8 kB / 0.6099 GB, free: 4.492 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.764e-05/0.3677, allocations: 15.92 kB / 0.6099 GB, free: 4.477 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006687/0.3683, allocations: 0.6609 MB / 0.6105 GB, free: 3.809 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3683, allocations: 0 / 0.6105 GB, free: 3.809 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00111/0.3695, allocations: 383.9 kB / 0.6109 GB, free: 3.434 MB / 446.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 (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.001103/0.3706, allocations: 486.8 kB / 0.6114 GB, free: 2.945 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002117/0.3727, allocations: 2.498 MB / 0.6138 GB, free: 452 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3727, allocations: 0 / 0.6138 GB, free: 452 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003045/0.373, allocations: 339.9 kB / 0.6141 GB, free: 112 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.3733, allocations: 40.38 kB / 0.6142 GB, free: 72 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.3753, allocations: 1.832 MB / 0.616 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/0.3757, allocations: 0.9604 MB / 0.6169 GB, free: 13.22 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001758/0.3759, allocations: 36.55 kB / 0.6169 GB, free: 13.19 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.306e-05/0.376, allocations: 23.42 kB / 0.617 GB, free: 13.16 MB / 462.1 MB Notification: Performance of SimCode: time 2.7e-07/0.376, allocations: 0 / 0.617 GB, free: 13.16 MB / 462.1 MB Notification: Performance of Templates: time 0.01423/0.3903, allocations: 8.946 MB / 0.6257 GB, free: 4.254 MB / 462.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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)