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/Complex 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) 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-master/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7012/0.7012, allocations: 133.3 MB / 150.1 MB, free: 11.13 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.442/1.442, allocations: 222.9 MB / 404.7 MB, free: 6.078 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.0009634/0.0009634, allocations: 111.4 kB / 485.9 MB, free: 7.238 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000988/0.0009881, allocations: 59.92 kB / 0.5636 GB, free: 69.87 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1134, allocations: 80.42 MB / 0.6422 GB, free: 5.375 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002426/0.1159, allocations: 1.45 MB / 0.6436 GB, free: 3.902 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004495/0.1204, allocations: 3.225 MB / 0.6468 GB, free: 0.668 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.382e-05/0.1205, allocations: 0 / 0.6468 GB, free: 0.668 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 9.792e-05/0.1206, allocations: 7.938 kB / 0.6468 GB, free: 0.6602 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002314/0.1208, allocations: 27.83 kB / 0.6468 GB, free: 0.6328 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002228/0.1231, allocations: 0.7785 MB / 0.6475 GB, free: 15.86 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.1233, allocations: 115.6 kB / 0.6477 GB, free: 15.74 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.948e-05/0.1233, allocations: 4 kB / 0.6477 GB, free: 15.74 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.485e-05/0.1234, allocations: 35.86 kB / 0.6477 GB, free: 15.7 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002472/0.1237, allocations: 149 kB / 0.6478 GB, free: 15.56 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 4.412e-05/0.1237, allocations: 16 kB / 0.6479 GB, free: 15.54 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002271/0.126, allocations: 1.404 MB / 0.6492 GB, free: 14.13 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002274/0.1262, allocations: 263.8 kB / 0.6495 GB, free: 13.88 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002863/0.1265, allocations: 282.3 kB / 0.6497 GB, free: 13.6 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002223/0.1288, allocations: 1.465 MB / 0.6512 GB, free: 12.12 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1288, allocations: 0 / 0.6512 GB, free: 12.12 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1288, allocations: 3.938 kB / 0.6512 GB, free: 12.12 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.501e-05/0.1288, allocations: 4 kB / 0.6512 GB, free: 12.12 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.01043/0.1393, allocations: 1.207 MB / 0.6524 GB, free: 10.86 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.1393, allocations: 8.031 kB / 0.6524 GB, free: 10.85 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003755/0.1397, allocations: 83.69 kB / 0.6524 GB, free: 10.77 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004104/0.1401, allocations: 360.9 kB / 0.6528 GB, free: 10.37 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.1401, allocations: 4.375 kB / 0.6528 GB, free: 10.36 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.941e-05/0.1402, allocations: 16.11 kB / 0.6528 GB, free: 10.35 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000402/0.1406, allocations: 387.1 kB / 0.6532 GB, free: 9.957 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.1406, allocations: 0 / 0.6532 GB, free: 9.957 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.1406, allocations: 8 kB / 0.6532 GB, free: 9.949 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1406, allocations: 0 / 0.6532 GB, free: 9.949 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004311/0.1411, allocations: 431.7 kB / 0.6536 GB, free: 9.527 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005712/0.1417, allocations: 0.6403 MB / 0.6542 GB, free: 8.836 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004939/0.1422, allocations: 0.5672 MB / 0.6548 GB, free: 8.25 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002956/0.1425, allocations: 341.6 kB / 0.6551 GB, free: 7.91 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009664/0.1435, allocations: 1.028 MB / 0.6561 GB, free: 6.66 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003784/0.1438, allocations: 400.8 kB / 0.6565 GB, free: 6.25 MB / 458.7 MB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.1439, allocations: 0 / 0.6565 GB, free: 6.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.001316/0.1452, allocations: 1.297 MB / 0.6578 GB, free: 4.945 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.1452, allocations: 81.11 kB / 0.6578 GB, free: 4.848 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.1463, allocations: 1.202 MB / 0.659 GB, free: 3.629 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.743e-05/0.1464, allocations: 33.7 kB / 0.659 GB, free: 3.59 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.1466, allocations: 253.4 kB / 0.6593 GB, free: 3.336 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.1466, allocations: 23.83 kB / 0.6593 GB, free: 3.312 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003063/0.1469, allocations: 351.5 kB / 0.6596 GB, free: 2.965 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.262e-05/0.147, allocations: 313.9 kB / 0.6599 GB, free: 2.652 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/0.1481, allocations: 1.361 MB / 0.6613 GB, free: 1.289 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.1494, allocations: 1.491 MB / 0.6627 GB, free: 15.79 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006861/0.1563, allocations: 3.545 MB / 0.6662 GB, free: 12.15 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1563, allocations: 0 / 0.6662 GB, free: 12.15 MB / 474.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004003/0.1603, allocations: 3.965 MB / 0.6701 GB, free: 8.152 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.1604, allocations: 4 kB / 0.6701 GB, free: 8.148 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.1604, allocations: 0 / 0.6701 GB, free: 8.148 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1604, allocations: 4 kB / 0.6701 GB, free: 8.145 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.1605, allocations: 27.95 kB / 0.6701 GB, free: 8.117 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1605, allocations: 0 / 0.6701 GB, free: 8.117 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004655/0.161, allocations: 232.2 kB / 0.6703 GB, free: 7.887 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.002e-05/0.1611, allocations: 23.97 kB / 0.6703 GB, free: 7.863 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.0002682/0.1614, allocations: 238.9 kB / 0.6706 GB, free: 7.621 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.942e-05/0.1614, allocations: 70.77 kB / 0.6706 GB, free: 7.551 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002789/0.1617, allocations: 74.84 kB / 0.6707 GB, free: 7.469 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1617, allocations: 4 kB / 0.6707 GB, free: 7.465 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1617, allocations: 3.984 kB / 0.6707 GB, free: 7.461 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1617, allocations: 0 / 0.6707 GB, free: 7.461 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003998/0.1621, allocations: 496.7 kB / 0.6712 GB, free: 6.93 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1622, allocations: 0 / 0.6712 GB, free: 6.93 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.933e-05/0.1622, allocations: 11.98 kB / 0.6712 GB, free: 6.918 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1622, allocations: 0 / 0.6712 GB, free: 6.918 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.1623, allocations: 4 kB / 0.6712 GB, free: 6.914 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.1623, allocations: 4.031 kB / 0.6712 GB, free: 6.91 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1623, allocations: 0 / 0.6712 GB, free: 6.91 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.1639, allocations: 2.249 MB / 0.6734 GB, free: 4.598 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.164, allocations: 151.9 kB / 0.6735 GB, free: 4.43 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.552e-05/0.1641, allocations: 4 kB / 0.6736 GB, free: 4.426 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.1642, allocations: 7.984 kB / 0.6736 GB, free: 4.418 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.1642, allocations: 15.86 kB / 0.6736 GB, free: 4.402 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.649e-05/0.1643, allocations: 11.98 kB / 0.6736 GB, free: 4.391 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006872/0.165, allocations: 0.6648 MB / 0.6742 GB, free: 3.719 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.165, allocations: 0 / 0.6742 GB, free: 3.719 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00103/0.166, allocations: 407.8 kB / 0.6746 GB, free: 3.32 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.001281/0.1673, allocations: 474.8 kB / 0.6751 GB, free: 2.848 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002112/0.1694, allocations: 2.503 MB / 0.6775 GB, free: 344 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1695, allocations: 0 / 0.6775 GB, free: 344 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003022/0.1698, allocations: 335.8 kB / 0.6778 GB, free: 8 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.1701, allocations: 38.53 kB / 0.6779 GB, free: 15.97 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.1722, allocations: 2.039 MB / 0.6799 GB, free: 13.89 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004801/0.1727, allocations: 0.9643 MB / 0.6808 GB, free: 12.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002029/0.1729, allocations: 44.52 kB / 0.6809 GB, free: 12.85 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.777e-05/0.173, allocations: 27.42 kB / 0.6809 GB, free: 12.82 MB / 490.7 MB Notification: Performance of SimCode: time 4.31e-07/0.173, allocations: 0 / 0.6809 GB, free: 12.82 MB / 490.7 MB Notification: Performance of Templates: time 0.01592/0.1889, allocations: 9.352 MB / 0.69 GB, free: 3.508 MB / 490.7 MB 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)