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.001342/0.001342, allocations: 110.5 kB / 16.41 MB, free: 6.5 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.001293/0.001293, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.36/1.36, 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-master/package.mo): time 0.8375/0.8375, allocations: 135.2 MB / 426.4 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 66.78 kB / 0.5864 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1442, allocations: 80.93 MB / 0.6654 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002503/0.1467, allocations: 1.415 MB / 0.6668 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004598/0.1513, allocations: 3.02 MB / 0.6697 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.982e-05/0.1514, allocations: 0 / 0.6697 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.1515, allocations: 15.8 kB / 0.6698 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002082/0.1518, allocations: 23.84 kB / 0.6698 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002413/0.1542, allocations: 1.005 MB / 0.6708 GB, free: 256 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.1543, allocations: 79.8 kB / 0.6708 GB, free: 176 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.773e-05/0.1544, allocations: 4 kB / 0.6708 GB, free: 172 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.553e-05/0.1544, allocations: 43.78 kB / 0.6709 GB, free: 128 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.1547, allocations: 147.7 kB / 0.671 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.15e-05/0.1547, allocations: 12 kB / 0.671 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001979/0.1567, allocations: 1.377 MB / 0.6724 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002282/0.157, allocations: 271.8 kB / 0.6726 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002344/0.1572, allocations: 270.3 kB / 0.6729 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001766/0.159, allocations: 1.487 MB / 0.6744 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.159, allocations: 0 / 0.6744 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.543e-06/0.159, allocations: 0 / 0.6744 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.159, allocations: 0 / 0.6744 GB, free: 12.57 MB / 0.5137 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.009761/0.1688, allocations: 1.251 MB / 0.6756 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.1689, allocations: 8.031 kB / 0.6756 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003817/0.1692, allocations: 88.25 kB / 0.6757 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004236/0.1697, allocations: 356.9 kB / 0.676 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.1697, allocations: 8.375 kB / 0.676 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.972e-05/0.1697, allocations: 15.91 kB / 0.676 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004747/0.1702, allocations: 387.2 kB / 0.6764 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1702, allocations: 0 / 0.6764 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.1703, allocations: 0 / 0.6764 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1703, allocations: 4 kB / 0.6764 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004686/0.1707, allocations: 439.7 kB / 0.6768 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006434/0.1714, allocations: 0.637 MB / 0.6774 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005573/0.172, allocations: 0.5633 MB / 0.678 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003332/0.1723, allocations: 345.6 kB / 0.6783 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001171/0.1735, allocations: 1.028 MB / 0.6793 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004315/0.1739, allocations: 400.9 kB / 0.6797 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.1739, allocations: 0 / 0.6797 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001433/0.1754, allocations: 1.293 MB / 0.681 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/0.1755, allocations: 81.11 kB / 0.681 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.1767, allocations: 1.21 MB / 0.6822 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.81e-05/0.1767, allocations: 29.7 kB / 0.6823 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.177, allocations: 261.9 kB / 0.6825 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.896e-05/0.177, allocations: 27.81 kB / 0.6825 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003717/0.1774, allocations: 351.7 kB / 0.6829 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1775, allocations: 317.9 kB / 0.6832 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001374/0.1789, allocations: 1.357 MB / 0.6845 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/0.1804, allocations: 1.493 MB / 0.686 GB, free: 176 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007272/0.1877, allocations: 3.538 MB / 0.6894 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.358e-06/0.1877, allocations: 3.938 kB / 0.6894 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004505/0.1922, allocations: 3.969 MB / 0.6933 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.1923, allocations: 4 kB / 0.6933 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.1923, allocations: 320 / 0.6933 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.1923, allocations: 4 kB / 0.6933 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.1925, allocations: 23.92 kB / 0.6933 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.403e-06/0.1925, allocations: 4.031 kB / 0.6933 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004964/0.193, allocations: 233.4 kB / 0.6935 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.131e-05/0.193, allocations: 27.91 kB / 0.6936 GB, free: 8.242 MB / 0.5294 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.000308/0.1933, allocations: 237.6 kB / 0.6938 GB, free: 8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.14e-05/0.1934, allocations: 79.28 kB / 0.6939 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002725/0.1937, allocations: 70.91 kB / 0.6939 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.1937, allocations: 4 kB / 0.6939 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1937, allocations: 3.938 kB / 0.694 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.1937, allocations: 4 kB / 0.694 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004825/0.1942, allocations: 0.4928 MB / 0.6944 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1942, allocations: 0 / 0.6944 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.692e-05/0.1943, allocations: 11.98 kB / 0.6944 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.1943, allocations: 0 / 0.6944 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.1943, allocations: 11.94 kB / 0.6945 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1944, allocations: 0 / 0.6945 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1944, allocations: 4.031 kB / 0.6945 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.1954, allocations: 1.002 MB / 0.6954 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.1955, allocations: 152.5 kB / 0.6956 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.532e-05/0.1956, allocations: 0 / 0.6956 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.1957, allocations: 11.98 kB / 0.6956 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.1958, allocations: 11.94 kB / 0.6956 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-05/0.1958, allocations: 15.97 kB / 0.6956 GB, free: 6.031 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007873/0.1966, allocations: 0.6648 MB / 0.6963 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1966, allocations: 0 / 0.6963 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001057/0.1977, allocations: 403 kB / 0.6967 GB, free: 4.965 MB / 0.5294 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.001127/0.1988, allocations: 489.9 kB / 0.6971 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002494/0.2013, allocations: 2.492 MB / 0.6996 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2013, allocations: 0 / 0.6996 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003585/0.2017, allocations: 351.8 kB / 0.6999 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.202, allocations: 37.38 kB / 0.6999 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002188/0.2042, allocations: 1.765 MB / 0.7017 GB, free: 15.79 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006045/0.2048, allocations: 0.964 MB / 0.7026 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001339/0.2049, allocations: 32.56 kB / 0.7026 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.47e-05/0.205, allocations: 27.41 kB / 0.7027 GB, free: 14.74 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.2051, allocations: 0 / 0.7027 GB, free: 14.74 MB / 0.545 GB Notification: Performance of Templates: time 0.0175/0.2226, allocations: 9.553 MB / 0.712 GB, free: 5.219 MB / 0.545 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)