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.0009017/0.0009016, allocations: 90.34 kB / 15.06 MB, free: 1.078 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.0009759/0.0009762, allocations: 176.7 kB / 15.95 MB, free: 192 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.357/1.357, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9003/0.9003, allocations: 135.3 MB / 426.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003015/0.0003015, allocations: 12.66 kB / 0.507 GB, free: 5.082 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1502, allocations: 82.32 MB / 0.5874 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.00135/0.1516, allocations: 1.101 MB / 0.5885 GB, free: 1.824 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003982/0.1556, allocations: 2.815 MB / 0.5912 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.5e-05/0.1556, allocations: 0 / 0.5912 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.918e-05/0.1557, allocations: 7.938 kB / 0.5913 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002011/0.1559, allocations: 31.84 kB / 0.5913 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001759/0.1577, allocations: 0.7522 MB / 0.592 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.1578, allocations: 87.72 kB / 0.5921 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.364e-05/0.1579, allocations: 7.984 kB / 0.5921 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.99e-05/0.1579, allocations: 39.86 kB / 0.5921 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.1582, allocations: 171.7 kB / 0.5923 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.432e-05/0.1582, allocations: 12 kB / 0.5923 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001748/0.16, allocations: 1.302 MB / 0.5936 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001957/0.1602, allocations: 255.3 kB / 0.5938 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.1603, allocations: 109.3 kB / 0.5939 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.1613, allocations: 0.9785 MB / 0.5949 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1614, allocations: 0 / 0.5949 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.504e-06/0.1614, allocations: 0 / 0.5949 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.1614, allocations: 7.938 kB / 0.5949 GB, free: 11.24 MB / 0.4981 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.006894/0.1683, allocations: 1.16 MB / 0.596 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.1683, allocations: 12.02 kB / 0.596 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003271/0.1687, allocations: 86.75 kB / 0.5961 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003903/0.1691, allocations: 363.6 kB / 0.5965 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.1691, allocations: 3.984 kB / 0.5965 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.842e-05/0.1691, allocations: 8 kB / 0.5965 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004145/0.1695, allocations: 387.2 kB / 0.5969 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1696, allocations: 0 / 0.5969 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.1696, allocations: 0 / 0.5969 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1696, allocations: 8 kB / 0.5969 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004278/0.17, allocations: 431.7 kB / 0.5973 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005627/0.1706, allocations: 0.6364 MB / 0.5979 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005259/0.1711, allocations: 0.5633 MB / 0.5984 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003073/0.1715, allocations: 337.7 kB / 0.5988 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009877/0.1725, allocations: 1.04 MB / 0.5998 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004024/0.1729, allocations: 404.9 kB / 0.6002 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.1729, allocations: 0 / 0.6002 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001338/0.1742, allocations: 1.289 MB / 0.6014 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.1743, allocations: 85.22 kB / 0.6015 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.1754, allocations: 1.198 MB / 0.6027 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.1755, allocations: 29.7 kB / 0.6027 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.1756, allocations: 265.3 kB / 0.603 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.1757, allocations: 11.81 kB / 0.603 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.466e-05/0.1757, allocations: 4 kB / 0.603 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.1759, allocations: 419.8 kB / 0.6034 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001215/0.1771, allocations: 1.365 MB / 0.6047 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2719/0.4491, allocations: 1.491 MB / 0.6062 GB, free: 48.65 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.4503, allocations: 1.89 MB / 0.608 GB, free: 48.17 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.4503, allocations: 2.969 kB / 0.608 GB, free: 48.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003494/0.4538, allocations: 3.941 MB / 0.6119 GB, free: 47.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.4539, allocations: 5.719 kB / 0.6119 GB, free: 47.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.4539, allocations: 2.875 kB / 0.6119 GB, free: 47.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.4539, allocations: 0.5625 kB / 0.6119 GB, free: 47.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.4541, allocations: 15.77 kB / 0.6119 GB, free: 47.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.4541, allocations: 3.406 kB / 0.6119 GB, free: 47.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003898/0.4545, allocations: 234.8 kB / 0.6121 GB, free: 46.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.356e-05/0.4545, allocations: 21.67 kB / 0.6121 GB, free: 46.99 MB / 0.4981 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 () * 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.0002333/0.4548, allocations: 242.8 kB / 0.6124 GB, free: 46.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.937e-05/0.4548, allocations: 65.28 kB / 0.6124 GB, free: 46.83 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002473/0.4551, allocations: 72.02 kB / 0.6125 GB, free: 46.78 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.4551, allocations: 6.562 kB / 0.6125 GB, free: 46.78 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.4551, allocations: 2.891 kB / 0.6125 GB, free: 46.78 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.4551, allocations: 5.766 kB / 0.6125 GB, free: 46.78 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003528/0.4555, allocations: 499.9 kB / 0.613 GB, free: 46.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.4555, allocations: 1.344 kB / 0.613 GB, free: 46.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.117e-05/0.4555, allocations: 5.875 kB / 0.613 GB, free: 46.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.4556, allocations: 0 / 0.613 GB, free: 46.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.4556, allocations: 10.92 kB / 0.613 GB, free: 46.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.4556, allocations: 4.734 kB / 0.613 GB, free: 46.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4556, allocations: 0 / 0.613 GB, free: 46.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007193/0.4563, allocations: 0.9992 MB / 0.614 GB, free: 46.47 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.52e-05/0.4564, allocations: 150.6 kB / 0.6141 GB, free: 46.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.655e-05/0.4564, allocations: 3.891 kB / 0.6141 GB, free: 46.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.4566, allocations: 8.172 kB / 0.6141 GB, free: 46.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.4566, allocations: 9.969 kB / 0.6142 GB, free: 46.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-05/0.4567, allocations: 16.16 kB / 0.6142 GB, free: 46.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005685/0.4572, allocations: 0.6662 MB / 0.6148 GB, free: 46.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4572, allocations: 0 / 0.6148 GB, free: 46.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008794/0.4581, allocations: 386.3 kB / 0.6152 GB, free: 46.21 MB / 0.4981 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 (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.000992/0.4591, allocations: 475.3 kB / 0.6156 GB, free: 46.11 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001746/0.4609, allocations: 2.501 MB / 0.6181 GB, free: 45.12 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4609, allocations: 0 / 0.6181 GB, free: 45.12 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003047/0.4612, allocations: 348.6 kB / 0.6184 GB, free: 45.11 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.4615, allocations: 27.5 kB / 0.6184 GB, free: 45.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.4633, allocations: 1.839 MB / 0.6202 GB, free: 44.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.4637, allocations: 0.9621 MB / 0.6212 GB, free: 43.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001633/0.4639, allocations: 32.77 kB / 0.6212 GB, free: 43.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.024e-05/0.464, allocations: 28.14 kB / 0.6212 GB, free: 43.72 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.464, allocations: 0 / 0.6212 GB, free: 43.72 MB / 0.4981 GB Notification: Performance of Templates: time 0.01312/0.4771, allocations: 8.959 MB / 0.63 GB, free: 43.14 MB / 0.4981 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)