Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 180 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/package.mo): time 0.7366/0.7366, allocations: 132.2 MB / 148.9 MB, free: 12.15 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.67/1.67, allocations: 222.9 MB / 403.4 MB, free: 7.074 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.001207/0.001207, allocations: 108.9 kB / 484.3 MB, free: 8.699 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001034/0.001034, allocations: 43.92 kB / 0.5619 GB, free: 71.02 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1398, allocations: 80.22 MB / 0.6402 GB, free: 6.738 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004219/0.144, allocations: 3.068 MB / 0.6432 GB, free: 3.645 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002577/0.1466, allocations: 2.114 MB / 0.6453 GB, free: 1.523 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001906/0.1468, allocations: 4 kB / 0.6453 GB, free: 1.52 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001236/0.1481, allocations: 478 kB / 0.6457 GB, free: 1.051 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002362/0.1484, allocations: 131.2 kB / 0.6459 GB, free: 0.9219 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001114/0.1485, allocations: 51.97 kB / 0.6459 GB, free: 0.8711 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004624/0.149, allocations: 470.8 kB / 0.6464 GB, free: 420 kB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002042/0.1492, allocations: 143.8 kB / 0.6465 GB, free: 268 kB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.1493, allocations: 139.4 kB / 0.6466 GB, free: 128 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/0.1496, allocations: 179.2 kB / 0.6468 GB, free: 15.95 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.963e-05/0.1496, allocations: 24 kB / 0.6468 GB, free: 15.92 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.452e-05/0.1497, allocations: 24 kB / 0.6468 GB, free: 15.9 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 9.434e-05/0.1498, allocations: 91.58 kB / 0.6469 GB, free: 15.81 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.1499, allocations: 202.9 kB / 0.6471 GB, free: 15.61 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004214/0.1504, allocations: 0.5332 MB / 0.6476 GB, free: 15.08 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.1504, allocations: 4 kB / 0.6477 GB, free: 15.07 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.1504, allocations: 0 / 0.6477 GB, free: 15.07 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1504, allocations: 0 / 0.6477 GB, free: 15.07 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009551/0.1514, allocations: 0.7006 MB / 0.6483 GB, free: 14.32 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.1514, allocations: 12.03 kB / 0.6483 GB, free: 14.31 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.663e-05/0.1515, allocations: 44.47 kB / 0.6484 GB, free: 14.27 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004095/0.1519, allocations: 378 kB / 0.6487 GB, free: 13.86 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.1519, allocations: 12.81 kB / 0.6488 GB, free: 13.84 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.264e-05/0.152, allocations: 28.12 kB / 0.6488 GB, free: 13.82 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/0.1523, allocations: 199.3 kB / 0.649 GB, free: 13.62 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.1524, allocations: 0 / 0.649 GB, free: 13.62 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.1524, allocations: 4 kB / 0.649 GB, free: 13.61 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.1524, allocations: 7.938 kB / 0.649 GB, free: 13.61 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003953/0.1528, allocations: 173.6 kB / 0.6492 GB, free: 13.44 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.1539, allocations: 0.8661 MB / 0.65 GB, free: 12.5 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.1542, allocations: 150.6 kB / 0.6501 GB, free: 12.34 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002163/0.1544, allocations: 114.4 kB / 0.6503 GB, free: 12.23 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.1544, allocations: 4 kB / 0.6503 GB, free: 12.22 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.1545, allocations: 54.39 kB / 0.6503 GB, free: 12.16 MB / 458.7 MB Notification: Performance of pre-optimization done (n=18): time 1.332e-06/0.1545, allocations: 3.938 kB / 0.6503 GB, free: 12.16 MB / 458.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005455/0.155, allocations: 246.9 kB / 0.6505 GB, free: 11.91 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.1551, allocations: 51.41 kB / 0.6506 GB, free: 11.85 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004153/0.1555, allocations: 417.7 kB / 0.651 GB, free: 11.43 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.1555, allocations: 29.7 kB / 0.651 GB, free: 11.39 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.1556, allocations: 208.2 kB / 0.6512 GB, free: 11.19 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.126e-05/0.1557, allocations: 66.95 kB / 0.6513 GB, free: 11.12 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.627e-05/0.1558, allocations: 37.7 kB / 0.6513 GB, free: 11.08 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1559, allocations: 346.8 kB / 0.6517 GB, free: 10.73 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.1561, allocations: 51.97 kB / 0.6517 GB, free: 10.68 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.1562, allocations: 59.92 kB / 0.6518 GB, free: 10.62 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.1565, allocations: 142.6 kB / 0.6519 GB, free: 10.48 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1565, allocations: 0 / 0.6519 GB, free: 10.48 MB / 458.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003707/0.1569, allocations: 206.7 kB / 0.6521 GB, free: 10.27 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.1569, allocations: 7.938 kB / 0.6521 GB, free: 10.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1569, allocations: 3.938 kB / 0.6521 GB, free: 10.26 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1569, allocations: 4 kB / 0.6521 GB, free: 10.26 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.1572, allocations: 55.91 kB / 0.6522 GB, free: 10.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1572, allocations: 0 / 0.6522 GB, free: 10.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.1573, allocations: 19.89 kB / 0.6522 GB, free: 10.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.1574, allocations: 4 kB / 0.6522 GB, free: 10.18 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001377/0.1575, allocations: 165.8 kB / 0.6523 GB, free: 10.01 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.711e-05/0.1576, allocations: 39.56 kB / 0.6524 GB, free: 9.969 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.155e-05/0.1576, allocations: 43.59 kB / 0.6524 GB, free: 9.926 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1576, allocations: 0 / 0.6524 GB, free: 9.926 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1577, allocations: 0 / 0.6524 GB, free: 9.926 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1577, allocations: 3.984 kB / 0.6524 GB, free: 9.922 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003731/0.158, allocations: 381.3 kB / 0.6528 GB, free: 9.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1581, allocations: 0 / 0.6528 GB, free: 9.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002401/0.1583, allocations: 51.91 kB / 0.6528 GB, free: 9.449 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.1583, allocations: 3.938 kB / 0.6528 GB, free: 9.445 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.1583, allocations: 8 kB / 0.6529 GB, free: 9.438 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.1583, allocations: 3.984 kB / 0.6529 GB, free: 9.434 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1583, allocations: 4 kB / 0.6529 GB, free: 9.43 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002841/0.1612, allocations: 2.222 MB / 0.655 GB, free: 7.07 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.1613, allocations: 120.7 kB / 0.6551 GB, free: 6.934 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.1613, allocations: 4 kB / 0.6551 GB, free: 6.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.1615, allocations: 11.98 kB / 0.6552 GB, free: 6.918 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.1616, allocations: 7.984 kB / 0.6552 GB, free: 6.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.1616, allocations: 8 kB / 0.6552 GB, free: 6.902 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002887/0.1619, allocations: 303.1 kB / 0.6555 GB, free: 6.609 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1619, allocations: 0 / 0.6555 GB, free: 6.609 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004062/0.1623, allocations: 119.9 kB / 0.6556 GB, free: 6.492 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.0001366/0.1624, allocations: 111.2 kB / 0.6557 GB, free: 6.375 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000344/0.1628, allocations: 139.8 kB / 0.6558 GB, free: 6.238 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1628, allocations: 3.938 kB / 0.6558 GB, free: 6.234 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.163, allocations: 81.78 kB / 0.6559 GB, free: 6.156 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005823/0.1635, allocations: 85.45 kB / 0.656 GB, free: 6.074 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.1649, allocations: 1.039 MB / 0.657 GB, free: 4.996 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.1652, allocations: 0.8031 MB / 0.6578 GB, free: 4.164 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001373/0.1654, allocations: 43 kB / 0.6578 GB, free: 4.121 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.258e-05/0.1654, allocations: 23.44 kB / 0.6578 GB, free: 4.102 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1654, allocations: 0 / 0.6578 GB, free: 4.102 MB / 458.7 MB Notification: Performance of Templates: time 0.007499/0.1729, allocations: 4.119 MB / 0.6619 GB, free: 80 kB / 458.7 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)