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.001805/0.001805, allocations: 107.8 kB / 16.41 MB, free: 6.52 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.002089/0.002089, allocations: 183 kB / 17.34 MB, free: 5.734 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.433/1.433, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8491/0.8491, allocations: 135.2 MB / 426.4 MB, free: 4.062 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 67.7 kB / 0.5864 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1743, allocations: 80.92 MB / 0.6654 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.00264/0.1769, allocations: 1.423 MB / 0.6668 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004849/0.1818, allocations: 3.033 MB / 0.6698 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.299e-05/0.1819, allocations: 4 kB / 0.6698 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001255/0.182, allocations: 11.86 kB / 0.6698 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.1822, allocations: 27.84 kB / 0.6698 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002781/0.185, allocations: 0.9976 MB / 0.6708 GB, free: 224 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.1852, allocations: 79.75 kB / 0.6709 GB, free: 144 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.723e-05/0.1852, allocations: 11.92 kB / 0.6709 GB, free: 132 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.57e-05/0.1853, allocations: 39.84 kB / 0.6709 GB, free: 92 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.1855, allocations: 143.6 kB / 0.671 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.544e-05/0.1856, allocations: 12 kB / 0.6711 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002259/0.1878, allocations: 1.377 MB / 0.6724 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002541/0.1881, allocations: 267.8 kB / 0.6727 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002484/0.1883, allocations: 270.3 kB / 0.6729 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002083/0.1904, allocations: 1.491 MB / 0.6744 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1904, allocations: 0 / 0.6744 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.904e-06/0.1904, allocations: 0 / 0.6744 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.1904, allocations: 0 / 0.6744 GB, free: 12.54 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.01023/0.2007, allocations: 1.239 MB / 0.6756 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.2007, allocations: 12.03 kB / 0.6756 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003871/0.2011, allocations: 96.23 kB / 0.6757 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004508/0.2016, allocations: 360.9 kB / 0.676 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.2016, allocations: 8.359 kB / 0.676 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.176e-05/0.2016, allocations: 7.938 kB / 0.676 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005084/0.2021, allocations: 387.2 kB / 0.6764 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.2021, allocations: 4 kB / 0.6764 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.2021, allocations: 11.86 kB / 0.6764 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.2022, allocations: 0 / 0.6764 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004887/0.2026, allocations: 435.7 kB / 0.6768 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006919/0.2033, allocations: 0.6331 MB / 0.6775 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006241/0.204, allocations: 0.5672 MB / 0.678 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003658/0.2043, allocations: 329.7 kB / 0.6783 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001253/0.2056, allocations: 1.025 MB / 0.6793 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004984/0.2061, allocations: 404.9 kB / 0.6797 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 2.304e-06/0.2061, allocations: 4 kB / 0.6797 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001498/0.2076, allocations: 1.289 MB / 0.681 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.885e-05/0.2076, allocations: 85.23 kB / 0.6811 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/0.2089, allocations: 1.21 MB / 0.6822 GB, free: 4 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.789e-05/0.209, allocations: 29.7 kB / 0.6823 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002307/0.2092, allocations: 265.9 kB / 0.6825 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.621e-05/0.2093, allocations: 23.83 kB / 0.6825 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003638/0.2096, allocations: 351.5 kB / 0.6829 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.2098, allocations: 306 kB / 0.6832 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/0.2111, allocations: 1.369 MB / 0.6845 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/0.2126, allocations: 1.493 MB / 0.686 GB, free: 152 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007276/0.2198, allocations: 3.538 MB / 0.6894 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/0.2198, allocations: 3.938 kB / 0.6894 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004668/0.2245, allocations: 3.969 MB / 0.6933 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.2245, allocations: 8 kB / 0.6933 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.2246, allocations: 0 / 0.6933 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.2246, allocations: 0 / 0.6933 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.2247, allocations: 15.98 kB / 0.6933 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.2247, allocations: 4 kB / 0.6933 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005326/0.2253, allocations: 233.4 kB / 0.6936 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.569e-05/0.2253, allocations: 24.02 kB / 0.6936 GB, free: 8.23 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.0003217/0.2256, allocations: 249.5 kB / 0.6938 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.941e-05/0.2257, allocations: 71.3 kB / 0.6939 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002904/0.226, allocations: 70.91 kB / 0.694 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.226, allocations: 0 / 0.694 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.226, allocations: 11.94 kB / 0.694 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.226, allocations: 8.016 kB / 0.694 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004883/0.2265, allocations: 0.4889 MB / 0.6944 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.2265, allocations: 3.984 kB / 0.6945 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.101e-05/0.2266, allocations: 11.92 kB / 0.6945 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.2266, allocations: 4 kB / 0.6945 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.2266, allocations: 3.984 kB / 0.6945 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2266, allocations: 0 / 0.6945 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.2266, allocations: 4 kB / 0.6945 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.2276, allocations: 1.006 MB / 0.6955 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.2278, allocations: 152.5 kB / 0.6956 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.187e-05/0.2278, allocations: 7.984 kB / 0.6956 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.2279, allocations: 4 kB / 0.6956 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.228, allocations: 7.984 kB / 0.6956 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-05/0.228, allocations: 7.984 kB / 0.6956 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007739/0.2288, allocations: 0.6765 MB / 0.6963 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2288, allocations: 0 / 0.6963 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001137/0.2299, allocations: 403 kB / 0.6967 GB, free: 4.941 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.001217/0.2311, allocations: 490 kB / 0.6971 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002145/0.2333, allocations: 1.945 MB / 0.699 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.2333, allocations: 4 kB / 0.699 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003676/0.2337, allocations: 327.8 kB / 0.6994 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.234, allocations: 45.48 kB / 0.6994 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.2363, allocations: 1.801 MB / 0.7012 GB, free: 292 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006466/0.2369, allocations: 0.9685 MB / 0.7021 GB, free: 15.29 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.237, allocations: 23.42 kB / 0.7021 GB, free: 15.27 MB / 0.545 GB Notification: Performance of SimCode: time 1.292e-06/0.237, allocations: 0 / 0.7021 GB, free: 15.27 MB / 0.545 GB Notification: Performance of Templates: time 0.0185/0.2555, allocations: 10.6 MB / 0.7125 GB, free: 4.664 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)