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.001353/0.001353, allocations: 105 kB / 16.41 MB, free: 6.465 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.001287/0.001288, allocations: 187 kB / 17.34 MB, free: 5.719 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.819/0.819, allocations: 135.1 MB / 426.3 MB, free: 4.031 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 67.77 kB / 0.5863 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.167, allocations: 80.91 MB / 0.6654 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.003433/0.1705, allocations: 1.42 MB / 0.6667 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004793/0.1753, allocations: 3.027 MB / 0.6697 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.425e-05/0.1755, allocations: 0 / 0.6697 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.1756, allocations: 15.86 kB / 0.6697 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002631/0.1759, allocations: 23.84 kB / 0.6697 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002926/0.1788, allocations: 0.9935 MB / 0.6707 GB, free: 264 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000165/0.179, allocations: 87.67 kB / 0.6708 GB, free: 176 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.805e-05/0.1791, allocations: 4 kB / 0.6708 GB, free: 172 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.021e-05/0.1792, allocations: 43.89 kB / 0.6708 GB, free: 128 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002618/0.1794, allocations: 143.6 kB / 0.671 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.857e-05/0.1795, allocations: 16 kB / 0.671 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00226/0.1818, allocations: 1.373 MB / 0.6723 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002103/0.182, allocations: 267.8 kB / 0.6726 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002283/0.1822, allocations: 274.3 kB / 0.6728 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002309/0.1845, allocations: 1.473 MB / 0.6743 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1846, allocations: 0 / 0.6743 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.813e-06/0.1846, allocations: 0 / 0.6743 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.435e-05/0.1846, allocations: 0 / 0.6743 GB, free: 12.59 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.009929/0.1945, allocations: 1.214 MB / 0.6755 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.1946, allocations: 8.031 kB / 0.6755 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000423/0.195, allocations: 87.69 kB / 0.6756 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004451/0.1955, allocations: 360.9 kB / 0.6759 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.1955, allocations: 4.312 kB / 0.6759 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.458e-05/0.1956, allocations: 11.92 kB / 0.6759 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004486/0.196, allocations: 387.2 kB / 0.6763 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.196, allocations: 4 kB / 0.6763 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.1961, allocations: 4 kB / 0.6763 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.1961, allocations: 0 / 0.6763 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000425/0.1965, allocations: 431.7 kB / 0.6767 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006493/0.1972, allocations: 0.6402 MB / 0.6773 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005101/0.1977, allocations: 0.5672 MB / 0.6779 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002929/0.198, allocations: 337.7 kB / 0.6782 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/0.199, allocations: 1.021 MB / 0.6792 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004085/0.1994, allocations: 408.8 kB / 0.6796 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.883e-06/0.1994, allocations: 0 / 0.6796 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001291/0.2007, allocations: 1.289 MB / 0.6809 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.821e-05/0.2008, allocations: 85.22 kB / 0.6809 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.2021, allocations: 1.21 MB / 0.6821 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.952e-05/0.2021, allocations: 29.7 kB / 0.6821 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/0.2024, allocations: 253.4 kB / 0.6824 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.863e-05/0.2024, allocations: 23.73 kB / 0.6824 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003486/0.2028, allocations: 347.5 kB / 0.6827 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.2029, allocations: 314 kB / 0.683 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/0.204, allocations: 1.361 MB / 0.6844 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/0.2053, allocations: 1.493 MB / 0.6858 GB, free: 260 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006716/0.212, allocations: 3.541 MB / 0.6893 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.938e-06/0.212, allocations: 3.938 kB / 0.6893 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004335/0.2164, allocations: 3.965 MB / 0.6932 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.2164, allocations: 4 kB / 0.6932 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/0.2165, allocations: 4 kB / 0.6932 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.2165, allocations: 0 / 0.6932 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.2166, allocations: 15.98 kB / 0.6932 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.2166, allocations: 0 / 0.6932 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005246/0.2172, allocations: 228.3 kB / 0.6934 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.873e-05/0.2172, allocations: 27.97 kB / 0.6934 GB, free: 8.34 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.0003082/0.2176, allocations: 253.6 kB / 0.6937 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.442e-05/0.2176, allocations: 66.77 kB / 0.6937 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002945/0.2179, allocations: 70.91 kB / 0.6938 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.218, allocations: 0 / 0.6938 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.218, allocations: 4 kB / 0.6938 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.218, allocations: 32 / 0.6938 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004371/0.2184, allocations: 0.4967 MB / 0.6943 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.2184, allocations: 4 kB / 0.6943 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.358e-05/0.2185, allocations: 7.984 kB / 0.6943 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/0.2185, allocations: 0 / 0.6943 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.2185, allocations: 7.938 kB / 0.6943 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.2186, allocations: 0 / 0.6943 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2186, allocations: 0 / 0.6943 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008809/0.2194, allocations: 1.001 MB / 0.6953 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.2196, allocations: 147.9 kB / 0.6954 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.364e-05/0.2197, allocations: 4 kB / 0.6954 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.2198, allocations: 11.92 kB / 0.6954 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.2199, allocations: 4 kB / 0.6954 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.646e-05/0.2199, allocations: 15.97 kB / 0.6955 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000693/0.2206, allocations: 0.6687 MB / 0.6961 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2206, allocations: 3.938 kB / 0.6961 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001129/0.2218, allocations: 395.9 kB / 0.6965 GB, free: 5.078 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.001442/0.2232, allocations: 480.1 kB / 0.697 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002236/0.2255, allocations: 2.495 MB / 0.6994 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.2255, allocations: 0 / 0.6994 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003313/0.2258, allocations: 344.2 kB / 0.6997 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.2262, allocations: 35.22 kB / 0.6998 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00217/0.2284, allocations: 1.791 MB / 0.7015 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005221/0.2289, allocations: 0.964 MB / 0.7024 GB, free: 14.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.2291, allocations: 27.41 kB / 0.7025 GB, free: 14.87 MB / 0.545 GB Notification: Performance of SimCode: time 1.302e-06/0.2291, allocations: 0 / 0.7025 GB, free: 14.87 MB / 0.545 GB Notification: Performance of Templates: time 0.01747/0.2465, allocations: 10.53 MB / 0.7128 GB, free: 4.332 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)