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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003259/0.003259, allocations: 181 kB / 7.454 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6748/0.6748, allocations: 130.6 MB / 138.5 MB, free: 2.184 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.565/1.565, allocations: 221.3 MB / 391.4 MB, free: 13.01 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009267/0.0009264, allocations: 105 kB / 473.4 MB, free: 14.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.674e-06/7.694e-06, allocations: 1.188 kB / 0.548 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1714, allocations: 81.58 MB / 0.6276 GB, free: 18.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5071/0.6785, allocations: 125.2 MB / 0.7499 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/0.6788, allocations: 110.3 kB / 0.75 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.08078/0.7596, allocations: 21.76 MB / 0.7713 GB, free: 2.59 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.41e-05/0.7597, allocations: 16.75 kB / 0.7713 GB, free: 2.586 MB / 0.4948 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.00341/0.7632, allocations: 1.004 MB / 0.7723 GB, free: 17.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.7632, allocations: 9.438 kB / 0.7723 GB, free: 17.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005589/0.7638, allocations: 97.02 kB / 0.7724 GB, free: 17.73 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009788/0.7648, allocations: 428.8 kB / 0.7728 GB, free: 17.42 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.7648, allocations: 5.312 kB / 0.7728 GB, free: 17.42 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.7649, allocations: 24.84 kB / 0.7728 GB, free: 17.41 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006033/0.7656, allocations: 427 kB / 0.7732 GB, free: 17.35 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005309/0.7661, allocations: 382.2 kB / 0.7736 GB, free: 17.25 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.7661, allocations: 0 / 0.7736 GB, free: 17.25 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.7661, allocations: 1 kB / 0.7736 GB, free: 17.25 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.7662, allocations: 9.266 kB / 0.7736 GB, free: 17.24 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.7672, allocations: 0.6896 MB / 0.7743 GB, free: 16.82 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005441/0.7678, allocations: 0.5629 MB / 0.7748 GB, free: 16.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002739/0.768, allocations: 325.7 kB / 0.7751 GB, free: 16.64 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001184/0.7692, allocations: 1.043 MB / 0.7761 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003415/0.7696, allocations: 395.5 kB / 0.7765 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 2.435e-06/0.7696, allocations: 0 / 0.7765 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.001197/0.7708, allocations: 0.7406 MB / 0.7772 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.7709, allocations: 87.03 kB / 0.7773 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/0.7725, allocations: 1.021 MB / 0.7783 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.082e-05/0.7726, allocations: 31.94 kB / 0.7783 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003093/0.7729, allocations: 252.7 kB / 0.7786 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.234e-05/0.773, allocations: 25.67 kB / 0.7786 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.812e-05/0.773, allocations: 0 / 0.7786 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002479/0.7733, allocations: 418.5 kB / 0.779 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001739/0.7751, allocations: 1.213 MB / 0.7802 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001781/0.7768, allocations: 1.349 MB / 0.7815 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/0.7786, allocations: 1.619 MB / 0.7831 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.7787, allocations: 0 / 0.7831 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007042/0.7857, allocations: 7.126 MB / 0.7901 GB, free: 6.258 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.7858, allocations: 11.92 kB / 0.7901 GB, free: 6.246 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2e-05/0.7858, allocations: 4 kB / 0.7901 GB, free: 6.242 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.7858, allocations: 4 kB / 0.7901 GB, free: 6.238 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007245/0.7865, allocations: 146.5 kB / 0.7902 GB, free: 6.102 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.7866, allocations: 4 kB / 0.7902 GB, free: 6.098 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00085/0.7874, allocations: 232.3 kB / 0.7904 GB, free: 5.867 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.7875, allocations: 59.03 kB / 0.7905 GB, free: 5.816 MB / 0.5105 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 1 * 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.0001529/0.7877, allocations: 113.7 kB / 0.7906 GB, free: 5.699 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.986e-05/0.7878, allocations: 66.69 kB / 0.7907 GB, free: 5.633 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008411/0.7886, allocations: 0.715 MB / 0.7914 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.7886, allocations: 0 / 0.7914 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.7886, allocations: 4 kB / 0.7914 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.7886, allocations: 4.031 kB / 0.7914 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004963/0.7891, allocations: 474.9 kB / 0.7918 GB, free: 4.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.7892, allocations: 3.906 kB / 0.7918 GB, free: 4.496 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.129e-05/0.7892, allocations: 7.984 kB / 0.7918 GB, free: 4.488 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.7893, allocations: 0 / 0.7918 GB, free: 4.488 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.7893, allocations: 4 kB / 0.7918 GB, free: 4.484 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.7893, allocations: 0 / 0.7918 GB, free: 4.484 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.7893, allocations: 0 / 0.7918 GB, free: 4.484 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007165/0.79, allocations: 0.7864 MB / 0.7926 GB, free: 3.688 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.7902, allocations: 151.8 kB / 0.7928 GB, free: 3.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.483e-05/0.7902, allocations: 4 kB / 0.7928 GB, free: 3.516 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.7904, allocations: 7.984 kB / 0.7928 GB, free: 3.508 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.7904, allocations: 3.984 kB / 0.7928 GB, free: 3.504 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.91e-05/0.7905, allocations: 15.8 kB / 0.7928 GB, free: 3.492 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0006609/0.7912, allocations: 0.6156 MB / 0.7934 GB, free: 2.984 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002275/0.7934, allocations: 485.9 kB / 0.7938 GB, free: 2.523 MB / 0.5105 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) * 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.0019/0.7954, allocations: 0.597 MB / 0.7944 GB, free: 1.953 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002124/0.7975, allocations: 2.35 MB / 0.7967 GB, free: 384 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.7975, allocations: 4.062 kB / 0.7967 GB, free: 380 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000284/0.7978, allocations: 335.3 kB / 0.7971 GB, free: 52 kB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.798, allocations: 34.7 kB / 0.7971 GB, free: 36 kB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.8001, allocations: 1.466 MB / 0.7985 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006567/0.8007, allocations: 1.034 MB / 0.7995 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of SimCode: time 1.122e-06/0.8008, allocations: 0 / 0.7995 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of Templates: time 0.0174/0.8182, allocations: 9.492 MB / 0.8088 GB, free: 4.094 MB / 0.5261 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)