Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 183 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7294/0.7294, allocations: 133.3 MB / 150.1 MB, free: 11.19 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.389/1.389, allocations: 222.9 MB / 404.7 MB, free: 6.156 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.001044/0.001044, allocations: 111.7 kB / 485.9 MB, free: 7.273 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009954/0.0009955, allocations: 59.91 kB / 0.5636 GB, free: 69.92 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1274, allocations: 80.43 MB / 0.6422 GB, free: 5.426 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005314/0.1328, allocations: 4.152 MB / 0.6462 GB, free: 1.242 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003232/0.136, allocations: 2.379 MB / 0.6486 GB, free: 14.86 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002749/0.1363, allocations: 12 kB / 0.6486 GB, free: 14.84 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001397/0.1378, allocations: 0.4992 MB / 0.6491 GB, free: 14.34 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004014/0.1382, allocations: 218.4 kB / 0.6493 GB, free: 14.12 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/0.1384, allocations: 119.9 kB / 0.6494 GB, free: 14.01 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007732/0.1392, allocations: 0.8253 MB / 0.6502 GB, free: 13.18 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004205/0.1396, allocations: 284.2 kB / 0.6505 GB, free: 12.9 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003442/0.1399, allocations: 247 kB / 0.6507 GB, free: 12.66 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003463/0.1403, allocations: 326.5 kB / 0.651 GB, free: 12.34 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 7.078e-05/0.1404, allocations: 44 kB / 0.6511 GB, free: 12.29 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.886e-05/0.1405, allocations: 48 kB / 0.6511 GB, free: 12.25 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.1406, allocations: 147.4 kB / 0.6512 GB, free: 12.1 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003131/0.141, allocations: 358.3 kB / 0.6516 GB, free: 11.75 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007711/0.1417, allocations: 0.9615 MB / 0.6525 GB, free: 10.79 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1418, allocations: 3.938 kB / 0.6525 GB, free: 10.78 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1418, allocations: 4 kB / 0.6525 GB, free: 10.78 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.1418, allocations: 0 / 0.6525 GB, free: 10.78 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001456/0.1432, allocations: 0.9502 MB / 0.6535 GB, free: 9.777 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.1433, allocations: 8.031 kB / 0.6535 GB, free: 9.77 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.1434, allocations: 76.03 kB / 0.6535 GB, free: 9.695 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005538/0.144, allocations: 457.6 kB / 0.654 GB, free: 9.207 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.576e-05/0.144, allocations: 37.38 kB / 0.654 GB, free: 9.172 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.239e-05/0.1441, allocations: 52.12 kB / 0.6541 GB, free: 9.121 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007088/0.1448, allocations: 430.4 kB / 0.6545 GB, free: 8.695 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.1448, allocations: 3.984 kB / 0.6545 GB, free: 8.691 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.635e-05/0.1449, allocations: 20 kB / 0.6545 GB, free: 8.672 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.1449, allocations: 12 kB / 0.6545 GB, free: 8.66 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006763/0.1456, allocations: 363.8 kB / 0.6548 GB, free: 8.305 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001983/0.1476, allocations: 1.527 MB / 0.6563 GB, free: 6.707 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005146/0.1481, allocations: 346.7 kB / 0.6567 GB, free: 6.359 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004658/0.1486, allocations: 325.1 kB / 0.657 GB, free: 6.039 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.1486, allocations: 8 kB / 0.657 GB, free: 6.031 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.1486, allocations: 34.56 kB / 0.657 GB, free: 5.988 MB / 458.7 MB Notification: Performance of pre-optimization done (n=42): time 2.255e-06/0.1487, allocations: 4 kB / 0.657 GB, free: 5.984 MB / 458.7 MB Notification: Performance of matching and sorting (n=42): time 0.000926/0.1496, allocations: 493 kB / 0.6575 GB, free: 5.496 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.1496, allocations: 59.34 kB / 0.6576 GB, free: 5.426 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005303/0.1502, allocations: 485.9 kB / 0.658 GB, free: 4.941 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.1502, allocations: 37.69 kB / 0.6581 GB, free: 4.898 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.1504, allocations: 280.3 kB / 0.6583 GB, free: 4.617 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.1505, allocations: 145.8 kB / 0.6585 GB, free: 4.473 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.214e-05/0.1506, allocations: 62.08 kB / 0.6585 GB, free: 4.402 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1508, allocations: 358.8 kB / 0.6589 GB, free: 4.043 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/0.151, allocations: 120.7 kB / 0.659 GB, free: 3.926 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002534/0.1513, allocations: 129.2 kB / 0.6591 GB, free: 3.801 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005043/0.1518, allocations: 294.2 kB / 0.6594 GB, free: 3.512 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1518, allocations: 0.7656 kB / 0.6594 GB, free: 3.512 MB / 458.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006509/0.1525, allocations: 396.4 kB / 0.6598 GB, free: 3.117 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.1525, allocations: 17.48 kB / 0.6598 GB, free: 3.102 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1525, allocations: 0 / 0.6598 GB, free: 3.102 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1525, allocations: 0 / 0.6598 GB, free: 3.102 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005154/0.153, allocations: 127.9 kB / 0.6599 GB, free: 2.977 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.1531, allocations: 4 kB / 0.6599 GB, free: 2.973 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002614/0.1533, allocations: 43.61 kB / 0.6599 GB, free: 2.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.1534, allocations: 12 kB / 0.66 GB, free: 2.918 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 (46): * Single equations (assignments): 46 * 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.0002072/0.1536, allocations: 205.7 kB / 0.6601 GB, free: 2.707 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.485e-05/0.1536, allocations: 55.33 kB / 0.6602 GB, free: 2.652 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.1538, allocations: 61.09 kB / 0.6603 GB, free: 2.594 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.1538, allocations: 4 kB / 0.6603 GB, free: 2.59 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1538, allocations: 4 kB / 0.6603 GB, free: 2.586 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1538, allocations: 0 / 0.6603 GB, free: 2.586 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006307/0.1544, allocations: 0.5751 MB / 0.6608 GB, free: 1.961 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1544, allocations: 3.938 kB / 0.6608 GB, free: 1.957 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005219/0.155, allocations: 127.9 kB / 0.661 GB, free: 1.832 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.155, allocations: 0 / 0.661 GB, free: 1.832 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/0.155, allocations: 8 kB / 0.661 GB, free: 1.824 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.155, allocations: 3.984 kB / 0.661 GB, free: 1.82 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.155, allocations: 0 / 0.661 GB, free: 1.82 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005382/0.1604, allocations: 3.838 MB / 0.6647 GB, free: 13.84 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.1606, allocations: 132.4 kB / 0.6648 GB, free: 13.69 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.35e-05/0.1606, allocations: 12 kB / 0.6649 GB, free: 13.68 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002442/0.1609, allocations: 23.83 kB / 0.6649 GB, free: 13.65 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.402e-05/0.1609, allocations: 23.97 kB / 0.6649 GB, free: 13.63 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.161, allocations: 8 kB / 0.6649 GB, free: 13.62 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003744/0.1614, allocations: 359.1 kB / 0.6652 GB, free: 13.28 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1614, allocations: 0 / 0.6652 GB, free: 13.28 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005787/0.1619, allocations: 215.6 kB / 0.6655 GB, free: 13.07 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.0001384/0.1621, allocations: 111.2 kB / 0.6656 GB, free: 12.95 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005859/0.1627, allocations: 324.1 kB / 0.6659 GB, free: 12.63 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1627, allocations: 0 / 0.6659 GB, free: 12.63 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000292/0.163, allocations: 187.9 kB / 0.666 GB, free: 12.45 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007079/0.1637, allocations: 135.1 kB / 0.6662 GB, free: 12.32 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00211/0.1658, allocations: 1.688 MB / 0.6678 GB, free: 10.59 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004262/0.1663, allocations: 0.8862 MB / 0.6687 GB, free: 9.68 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002134/0.1665, allocations: 60.38 kB / 0.6687 GB, free: 9.617 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.1666, allocations: 39.44 kB / 0.6688 GB, free: 9.578 MB / 474.7 MB Notification: Performance of SimCode: time 3.31e-07/0.1666, allocations: 0 / 0.6688 GB, free: 9.578 MB / 474.7 MB Notification: Performance of Templates: time 0.01091/0.1775, allocations: 6.658 MB / 0.6753 GB, free: 3.043 MB / 474.7 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)