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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003978/0.003978, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001007/0.001007, allocations: 191.8 kB / 16.67 MB, free: 5.969 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.249/1.249, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7353/0.7353, allocations: 132.2 MB / 422.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 67.73 kB / 0.5814 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.136, allocations: 80.21 MB / 0.6597 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002196/0.1383, allocations: 1.4 MB / 0.6611 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003859/0.1422, allocations: 3.024 MB / 0.6641 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.884e-05/0.1422, allocations: 0 / 0.6641 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.1423, allocations: 11.86 kB / 0.6641 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001927/0.1425, allocations: 31.78 kB / 0.6641 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002046/0.1446, allocations: 0.9993 MB / 0.6651 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.1447, allocations: 79.73 kB / 0.6652 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.879e-05/0.1447, allocations: 11.98 kB / 0.6652 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.102e-05/0.1448, allocations: 43.78 kB / 0.6652 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.145, allocations: 139.6 kB / 0.6653 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.796e-05/0.1451, allocations: 20 kB / 0.6654 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001663/0.1467, allocations: 1.373 MB / 0.6667 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001805/0.1469, allocations: 267.8 kB / 0.667 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002039/0.1471, allocations: 270.3 kB / 0.6672 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001463/0.1486, allocations: 1.491 MB / 0.6687 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.1486, allocations: 0 / 0.6687 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1486, allocations: 0 / 0.6687 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.1486, allocations: 0 / 0.6687 GB, free: 1.141 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.009325/0.158, allocations: 1.247 MB / 0.6699 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.158, allocations: 9.109 kB / 0.6699 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003323/0.1583, allocations: 92.23 kB / 0.67 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.1587, allocations: 360.9 kB / 0.6703 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.1587, allocations: 11.92 kB / 0.6703 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.415e-05/0.1588, allocations: 4 kB / 0.6703 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003855/0.1592, allocations: 387.2 kB / 0.6707 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.1592, allocations: 0 / 0.6707 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.1592, allocations: 4 kB / 0.6707 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.1592, allocations: 0 / 0.6707 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003874/0.1596, allocations: 435.7 kB / 0.6711 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005096/0.1601, allocations: 0.6447 MB / 0.6718 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004408/0.1606, allocations: 0.5634 MB / 0.6723 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002746/0.1609, allocations: 333.6 kB / 0.6726 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008836/0.1617, allocations: 1.032 MB / 0.6736 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003503/0.1621, allocations: 408.9 kB / 0.674 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.1621, allocations: 0 / 0.674 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001133/0.1633, allocations: 1.293 MB / 0.6753 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.1633, allocations: 77.11 kB / 0.6754 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009744/0.1643, allocations: 1.21 MB / 0.6765 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.1643, allocations: 33.7 kB / 0.6766 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.1645, allocations: 261.9 kB / 0.6768 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.1645, allocations: 27.81 kB / 0.6769 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002796/0.1648, allocations: 347.5 kB / 0.6772 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.559e-05/0.1649, allocations: 318 kB / 0.6775 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/0.1659, allocations: 1.361 MB / 0.6788 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.1671, allocations: 1.493 MB / 0.6803 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006438/0.1735, allocations: 3.541 MB / 0.6837 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.1735, allocations: 0 / 0.6837 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003711/0.1772, allocations: 3.973 MB / 0.6876 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.1773, allocations: 4 kB / 0.6876 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.1773, allocations: 4 kB / 0.6876 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.1773, allocations: 0 / 0.6876 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.1775, allocations: 15.98 kB / 0.6876 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.1775, allocations: 0 / 0.6876 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004374/0.1779, allocations: 249.4 kB / 0.6879 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-05/0.178, allocations: 19.98 kB / 0.6879 GB, free: 12.81 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.0002512/0.1782, allocations: 245.5 kB / 0.6881 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.262e-05/0.1783, allocations: 71.33 kB / 0.6882 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002499/0.1785, allocations: 70.91 kB / 0.6883 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1786, allocations: 4.031 kB / 0.6883 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1786, allocations: 0 / 0.6883 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1786, allocations: 0 / 0.6883 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003655/0.1789, allocations: 0.4927 MB / 0.6887 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.1789, allocations: 4 kB / 0.6888 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.313e-05/0.179, allocations: 11.92 kB / 0.6888 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.179, allocations: 0 / 0.6888 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.179, allocations: 4 kB / 0.6888 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1791, allocations: 3.938 kB / 0.6888 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1791, allocations: 0 / 0.6888 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008143/0.1799, allocations: 1.01 MB / 0.6898 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.957e-05/0.18, allocations: 152.5 kB / 0.6899 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.33e-05/0.18, allocations: 0 / 0.6899 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.1802, allocations: 11.97 kB / 0.6899 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.1802, allocations: 11.98 kB / 0.6899 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.692e-05/0.1803, allocations: 19.92 kB / 0.6899 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006113/0.1809, allocations: 0.6609 MB / 0.6906 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1809, allocations: 0 / 0.6906 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008514/0.1817, allocations: 407 kB / 0.691 GB, free: 9.543 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.000996/0.1827, allocations: 489.3 kB / 0.6914 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001947/0.1847, allocations: 2.491 MB / 0.6939 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1847, allocations: 0 / 0.6939 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002924/0.185, allocations: 343.9 kB / 0.6942 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.1853, allocations: 38.22 kB / 0.6942 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.187, allocations: 1.768 MB / 0.696 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004424/0.1875, allocations: 0.964 MB / 0.6969 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001111/0.1876, allocations: 28.56 kB / 0.6969 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.1877, allocations: 31.41 kB / 0.697 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of SimCode: time 2.21e-07/0.1877, allocations: 0 / 0.697 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of Templates: time 0.01438/0.2021, allocations: 9.535 MB / 0.7063 GB, free: 9.824 MB / 0.545 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)