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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 183 kB / 15.98 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6922/0.6922, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 403.4 MB, free: 7.09 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 102.6 kB / 484.3 MB, free: 8.723 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000995/0.0009951, allocations: 55.92 kB / 0.5619 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.133, allocations: 80.2 MB / 0.6402 GB, free: 6.785 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002452/0.1355, allocations: 1.471 MB / 0.6416 GB, free: 5.297 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004568/0.1401, allocations: 3.217 MB / 0.6448 GB, free: 2.07 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.319e-05/0.1402, allocations: 4 kB / 0.6448 GB, free: 2.066 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.1403, allocations: 15.92 kB / 0.6448 GB, free: 2.051 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002076/0.1405, allocations: 23.84 kB / 0.6448 GB, free: 2.027 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001823/0.1423, allocations: 0.7776 MB / 0.6456 GB, free: 1.25 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.1425, allocations: 107.7 kB / 0.6457 GB, free: 1.145 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.426e-05/0.1425, allocations: 7.984 kB / 0.6457 GB, free: 1.137 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.926e-05/0.1426, allocations: 47.78 kB / 0.6457 GB, free: 1.09 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002296/0.1428, allocations: 157 kB / 0.6459 GB, free: 0.9336 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.934e-05/0.1429, allocations: 12 kB / 0.6459 GB, free: 0.9219 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001872/0.1448, allocations: 1.385 MB / 0.6473 GB, free: 15.54 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002026/0.145, allocations: 275.8 kB / 0.6475 GB, free: 15.27 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002174/0.1452, allocations: 270.3 kB / 0.6478 GB, free: 15 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001597/0.1468, allocations: 1.477 MB / 0.6492 GB, free: 13.52 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.1468, allocations: 4 kB / 0.6492 GB, free: 13.51 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.1468, allocations: 0 / 0.6492 GB, free: 13.51 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1469, allocations: 0 / 0.6492 GB, free: 13.51 MB / 458.7 MB 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.01048/0.1573, allocations: 1.199 MB / 0.6504 GB, free: 12.26 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.1574, allocations: 8.031 kB / 0.6504 GB, free: 12.25 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003614/0.1578, allocations: 95.69 kB / 0.6505 GB, free: 12.16 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004081/0.1582, allocations: 360.8 kB / 0.6508 GB, free: 11.76 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.1582, allocations: 4.375 kB / 0.6508 GB, free: 11.75 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.088e-05/0.1582, allocations: 12.12 kB / 0.6509 GB, free: 11.74 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004166/0.1587, allocations: 387.2 kB / 0.6512 GB, free: 11.35 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.1587, allocations: 3.938 kB / 0.6512 GB, free: 11.35 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.1587, allocations: 4 kB / 0.6512 GB, free: 11.34 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.1587, allocations: 0 / 0.6512 GB, free: 11.34 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004348/0.1592, allocations: 431.8 kB / 0.6516 GB, free: 10.92 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005534/0.1597, allocations: 0.6325 MB / 0.6523 GB, free: 10.24 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005088/0.1602, allocations: 0.5712 MB / 0.6528 GB, free: 9.648 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002893/0.1605, allocations: 337.5 kB / 0.6531 GB, free: 9.312 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001047/0.1616, allocations: 1.028 MB / 0.6541 GB, free: 8.062 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004003/0.162, allocations: 408.8 kB / 0.6545 GB, free: 7.645 MB / 458.7 MB Notification: Performance of pre-optimization done (n=8): time 1.803e-06/0.162, allocations: 0 / 0.6545 GB, free: 7.645 MB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.001261/0.1633, allocations: 1.285 MB / 0.6558 GB, free: 6.352 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.1634, allocations: 85.17 kB / 0.6559 GB, free: 6.25 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.1645, allocations: 1.206 MB / 0.657 GB, free: 5.027 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.1645, allocations: 33.7 kB / 0.6571 GB, free: 4.988 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/0.1647, allocations: 261.4 kB / 0.6573 GB, free: 4.727 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.1648, allocations: 27.64 kB / 0.6574 GB, free: 4.699 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003188/0.1651, allocations: 347.5 kB / 0.6577 GB, free: 4.355 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.1652, allocations: 310 kB / 0.658 GB, free: 4.047 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.1663, allocations: 1.361 MB / 0.6593 GB, free: 2.684 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/0.1676, allocations: 1.493 MB / 0.6608 GB, free: 1.18 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006863/0.1745, allocations: 3.537 MB / 0.6642 GB, free: 13.55 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.1745, allocations: 0 / 0.6642 GB, free: 13.55 MB / 474.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004067/0.1786, allocations: 3.969 MB / 0.6681 GB, free: 9.547 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.1786, allocations: 5.562 kB / 0.6681 GB, free: 9.543 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/0.1786, allocations: 7.984 kB / 0.6681 GB, free: 9.535 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.1787, allocations: 0 / 0.6681 GB, free: 9.535 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.1788, allocations: 15.94 kB / 0.6681 GB, free: 9.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1788, allocations: 320 / 0.6681 GB, free: 9.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004641/0.1793, allocations: 236.3 kB / 0.6684 GB, free: 9.285 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.767e-05/0.1794, allocations: 19.98 kB / 0.6684 GB, free: 9.266 MB / 474.7 MB 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.0002933/0.1797, allocations: 247 kB / 0.6686 GB, free: 9.016 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/0.1797, allocations: 66.78 kB / 0.6687 GB, free: 8.949 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000284/0.18, allocations: 78.83 kB / 0.6687 GB, free: 8.859 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.18, allocations: 0 / 0.6687 GB, free: 8.859 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.18, allocations: 0 / 0.6687 GB, free: 8.859 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.18, allocations: 0 / 0.6687 GB, free: 8.859 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004389/0.1805, allocations: 0.4968 MB / 0.6692 GB, free: 8.316 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1805, allocations: 0 / 0.6692 GB, free: 8.316 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.735e-05/0.1806, allocations: 4 kB / 0.6692 GB, free: 8.312 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.1806, allocations: 3.984 kB / 0.6692 GB, free: 8.309 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.1806, allocations: 4 kB / 0.6692 GB, free: 8.305 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1806, allocations: 0 / 0.6692 GB, free: 8.305 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1806, allocations: 3.984 kB / 0.6692 GB, free: 8.301 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/0.1823, allocations: 2.249 MB / 0.6714 GB, free: 5.988 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.1824, allocations: 147.9 kB / 0.6716 GB, free: 5.824 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.42e-05/0.1824, allocations: 0 / 0.6716 GB, free: 5.824 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.1826, allocations: 7.984 kB / 0.6716 GB, free: 5.816 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.1826, allocations: 7.938 kB / 0.6716 GB, free: 5.809 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.463e-05/0.1827, allocations: 27.89 kB / 0.6716 GB, free: 5.781 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006413/0.1833, allocations: 0.6648 MB / 0.6723 GB, free: 5.109 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1833, allocations: 3.938 kB / 0.6723 GB, free: 5.105 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001266/0.1846, allocations: 403.8 kB / 0.6727 GB, free: 4.711 MB / 474.7 MB 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.001258/0.1859, allocations: 477.4 kB / 0.6731 GB, free: 4.238 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002285/0.1882, allocations: 2.495 MB / 0.6756 GB, free: 1.734 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1882, allocations: 4 kB / 0.6756 GB, free: 1.73 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003391/0.1886, allocations: 335.8 kB / 0.6759 GB, free: 1.402 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.1889, allocations: 40.61 kB / 0.6759 GB, free: 1.363 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00214/0.191, allocations: 2.042 MB / 0.6779 GB, free: 15.28 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005095/0.1915, allocations: 0.9643 MB / 0.6789 GB, free: 14.29 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000167/0.1917, allocations: 32.56 kB / 0.6789 GB, free: 14.25 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.1918, allocations: 27.41 kB / 0.6789 GB, free: 14.23 MB / 490.7 MB Notification: Performance of SimCode: time 4.1e-07/0.1918, allocations: 0 / 0.6789 GB, free: 14.23 MB / 490.7 MB Notification: Performance of Templates: time 0.0157/0.2075, allocations: 9.353 MB / 0.688 GB, free: 4.902 MB / 490.7 MB 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)