Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.001091/0.001091, allocations: 183.2 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.6965/0.6965, allocations: 132.2 MB / 149 MB, free: 12.12 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.392/1.392, allocations: 222.9 MB / 403.3 MB, free: 7.059 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.001027/0.001027, allocations: 101.9 kB / 484.3 MB, free: 8.672 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001068/0.001068, allocations: 47.92 kB / 0.5619 GB, free: 71 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.137, allocations: 80.21 MB / 0.6402 GB, free: 6.719 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005401/0.1425, allocations: 4.163 MB / 0.6443 GB, free: 2.523 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003357/0.1459, allocations: 2.39 MB / 0.6466 GB, free: 128 kB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005284/0.1464, allocations: 8 kB / 0.6466 GB, free: 120 kB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001738/0.1482, allocations: 0.494 MB / 0.6471 GB, free: 15.62 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006705/0.1489, allocations: 218.5 kB / 0.6473 GB, free: 15.41 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.1492, allocations: 123.9 kB / 0.6474 GB, free: 15.29 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001002/0.1502, allocations: 0.8194 MB / 0.6482 GB, free: 14.46 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004201/0.1506, allocations: 280.1 kB / 0.6485 GB, free: 14.18 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004337/0.1511, allocations: 262.9 kB / 0.6487 GB, free: 13.92 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004194/0.1515, allocations: 318.6 kB / 0.649 GB, free: 13.61 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 9.702e-05/0.1516, allocations: 48 kB / 0.6491 GB, free: 13.56 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.1518, allocations: 48 kB / 0.6491 GB, free: 13.52 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.1519, allocations: 143.4 kB / 0.6493 GB, free: 13.38 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003729/0.1523, allocations: 358.3 kB / 0.6496 GB, free: 13.02 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00077/0.1531, allocations: 0.9615 MB / 0.6506 GB, free: 12.06 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.1531, allocations: 7.938 kB / 0.6506 GB, free: 12.05 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1531, allocations: 0 / 0.6506 GB, free: 12.05 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.039e-05/0.1531, allocations: 0 / 0.6506 GB, free: 12.05 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.001615/0.1548, allocations: 0.9424 MB / 0.6515 GB, free: 11.06 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.1548, allocations: 15.97 kB / 0.6515 GB, free: 11.04 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.1549, allocations: 72.09 kB / 0.6516 GB, free: 10.97 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005856/0.1555, allocations: 461.6 kB / 0.652 GB, free: 10.48 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.1556, allocations: 33.38 kB / 0.652 GB, free: 10.45 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.058e-05/0.1557, allocations: 52.12 kB / 0.6521 GB, free: 10.4 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000712/0.1564, allocations: 426.5 kB / 0.6525 GB, free: 9.973 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.1564, allocations: 4 kB / 0.6525 GB, free: 9.969 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.943e-05/0.1565, allocations: 20 kB / 0.6525 GB, free: 9.949 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.1565, allocations: 11.94 kB / 0.6525 GB, free: 9.938 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006827/0.1572, allocations: 371.8 kB / 0.6529 GB, free: 9.574 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002008/0.1592, allocations: 1.531 MB / 0.6544 GB, free: 7.969 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004993/0.1597, allocations: 338.7 kB / 0.6547 GB, free: 7.629 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004461/0.1602, allocations: 326.7 kB / 0.655 GB, free: 7.309 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.1602, allocations: 4 kB / 0.655 GB, free: 7.305 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.1602, allocations: 42.56 kB / 0.6551 GB, free: 7.254 MB / 458.7 MB Notification: Performance of pre-optimization done (n=42): time 1.763e-06/0.1602, allocations: 0 / 0.6551 GB, free: 7.254 MB / 458.7 MB Notification: Performance of matching and sorting (n=42): time 0.0009214/0.1612, allocations: 0.4904 MB / 0.6555 GB, free: 6.758 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.1612, allocations: 55.41 kB / 0.6556 GB, free: 6.691 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005145/0.1617, allocations: 485.9 kB / 0.6561 GB, free: 6.215 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.1618, allocations: 33.7 kB / 0.6561 GB, free: 6.176 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.1619, allocations: 276.3 kB / 0.6564 GB, free: 5.898 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.1621, allocations: 145.8 kB / 0.6565 GB, free: 5.754 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.364e-05/0.1622, allocations: 62.08 kB / 0.6565 GB, free: 5.684 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1623, allocations: 366.8 kB / 0.6569 GB, free: 5.316 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.1625, allocations: 120.7 kB / 0.657 GB, free: 5.199 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/0.1628, allocations: 125.2 kB / 0.6571 GB, free: 5.078 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004796/0.1633, allocations: 294.4 kB / 0.6574 GB, free: 4.789 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1633, allocations: 0.7656 kB / 0.6574 GB, free: 4.789 MB / 458.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000609/0.1639, allocations: 408.1 kB / 0.6578 GB, free: 4.383 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.1639, allocations: 4 kB / 0.6578 GB, free: 4.379 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1639, allocations: 0 / 0.6578 GB, free: 4.379 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.1639, allocations: 4 kB / 0.6578 GB, free: 4.375 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004696/0.1644, allocations: 123.9 kB / 0.6579 GB, free: 4.254 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.1644, allocations: 0 / 0.6579 GB, free: 4.254 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002599/0.1647, allocations: 51.59 kB / 0.658 GB, free: 4.203 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.1648, allocations: 12 kB / 0.658 GB, free: 4.191 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.0001928/0.165, allocations: 197.7 kB / 0.6582 GB, free: 3.988 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.625e-05/0.165, allocations: 55.33 kB / 0.6582 GB, free: 3.934 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.1652, allocations: 61.11 kB / 0.6583 GB, free: 3.871 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.1652, allocations: 4 kB / 0.6583 GB, free: 3.867 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.1652, allocations: 4 kB / 0.6583 GB, free: 3.863 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.1652, allocations: 3.984 kB / 0.6583 GB, free: 3.859 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006125/0.1658, allocations: 0.5712 MB / 0.6589 GB, free: 3.238 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.1658, allocations: 3.984 kB / 0.6589 GB, free: 3.234 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004925/0.1663, allocations: 123.9 kB / 0.659 GB, free: 3.113 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.1663, allocations: 0 / 0.659 GB, free: 3.113 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.1664, allocations: 8 kB / 0.659 GB, free: 3.105 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.1664, allocations: 3.938 kB / 0.659 GB, free: 3.102 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1664, allocations: 0 / 0.659 GB, free: 3.102 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005395/0.1718, allocations: 3.843 MB / 0.6627 GB, free: 15.11 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.1719, allocations: 140.4 kB / 0.6629 GB, free: 14.96 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.965e-05/0.172, allocations: 8 kB / 0.6629 GB, free: 14.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.1722, allocations: 27.83 kB / 0.6629 GB, free: 14.92 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.952e-05/0.1723, allocations: 27.95 kB / 0.6629 GB, free: 14.89 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.1723, allocations: 12 kB / 0.663 GB, free: 14.88 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00041/0.1728, allocations: 347.1 kB / 0.6633 GB, free: 14.54 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1728, allocations: 0 / 0.6633 GB, free: 14.54 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005874/0.1734, allocations: 215.6 kB / 0.6635 GB, free: 14.33 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.0001527/0.1735, allocations: 123.1 kB / 0.6636 GB, free: 14.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005946/0.1741, allocations: 319.9 kB / 0.6639 GB, free: 13.89 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1741, allocations: 0 / 0.6639 GB, free: 13.89 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002901/0.1744, allocations: 183.6 kB / 0.6641 GB, free: 13.71 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006981/0.1751, allocations: 113.8 kB / 0.6642 GB, free: 13.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002805/0.178, allocations: 1.7 MB / 0.6659 GB, free: 11.86 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007014/0.1787, allocations: 0.8823 MB / 0.6667 GB, free: 10.95 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003434/0.179, allocations: 60.31 kB / 0.6668 GB, free: 10.89 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.1792, allocations: 39.44 kB / 0.6668 GB, free: 10.85 MB / 474.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1792, allocations: 4 kB / 0.6668 GB, free: 10.85 MB / 474.7 MB Notification: Performance of Templates: time 0.01381/0.193, allocations: 6.649 MB / 0.6733 GB, free: 4.316 MB / 474.7 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)