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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 104.7 kB / 16.41 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 187 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8375/0.8375, allocations: 132.2 MB / 423.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.88 kB / 0.582 GB, free: 24.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1462, allocations: 80.2 MB / 0.6604 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004873/0.1511, allocations: 3.013 MB / 0.6633 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003335/0.1545, allocations: 2.152 MB / 0.6654 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003781/0.1549, allocations: 4 kB / 0.6654 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001831/0.1568, allocations: 0.4919 MB / 0.6659 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004851/0.1573, allocations: 162.8 kB / 0.6661 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.1575, allocations: 55.94 kB / 0.6661 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006618/0.1581, allocations: 449.8 kB / 0.6665 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002993/0.1584, allocations: 151.2 kB / 0.6667 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002955/0.1588, allocations: 159.4 kB / 0.6668 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002922/0.1591, allocations: 179.2 kB / 0.667 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.07e-05/0.1591, allocations: 39.94 kB / 0.667 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.687e-05/0.1592, allocations: 36 kB / 0.6671 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.1594, allocations: 99.61 kB / 0.6672 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002448/0.1596, allocations: 214.9 kB / 0.6674 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005707/0.1602, allocations: 0.5449 MB / 0.6679 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1602, allocations: 0 / 0.6679 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.894e-06/0.1602, allocations: 0 / 0.6679 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.594e-05/0.1602, allocations: 0 / 0.6679 GB, free: 2.613 MB / 0.4981 GB 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.001211/0.1615, allocations: 0.7084 MB / 0.6686 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.1615, allocations: 12.03 kB / 0.6686 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.069e-05/0.1616, allocations: 44.38 kB / 0.6687 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006119/0.1622, allocations: 378.1 kB / 0.669 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.1623, allocations: 20.81 kB / 0.669 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.012e-05/0.1623, allocations: 27.92 kB / 0.6691 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004303/0.1628, allocations: 195.3 kB / 0.6692 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.1628, allocations: 0 / 0.6692 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.1628, allocations: 12 kB / 0.6693 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.1628, allocations: 4 kB / 0.6693 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000384/0.1632, allocations: 169.6 kB / 0.6694 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/0.1645, allocations: 0.8622 MB / 0.6703 GB, free: 28 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003234/0.1649, allocations: 157.1 kB / 0.6704 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.1651, allocations: 118.5 kB / 0.6705 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.1651, allocations: 0 / 0.6705 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.1652, allocations: 38.5 kB / 0.6706 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 2.013e-06/0.1652, allocations: 0 / 0.6706 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0006189/0.1658, allocations: 253.4 kB / 0.6708 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.1658, allocations: 63.25 kB / 0.6709 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005135/0.1664, allocations: 417.6 kB / 0.6713 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.1664, allocations: 29.7 kB / 0.6713 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.1665, allocations: 204.2 kB / 0.6715 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.384e-05/0.1666, allocations: 67.09 kB / 0.6716 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.171e-05/0.1667, allocations: 33.7 kB / 0.6716 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1668, allocations: 346.8 kB / 0.6719 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.167, allocations: 55.97 kB / 0.672 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.1671, allocations: 61.34 kB / 0.672 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/0.1674, allocations: 135.5 kB / 0.6722 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1674, allocations: 0 / 0.6722 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003989/0.1678, allocations: 205.1 kB / 0.6724 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/0.1679, allocations: 6.031 kB / 0.6724 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1679, allocations: 7.938 kB / 0.6724 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.1679, allocations: 4 kB / 0.6724 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.1682, allocations: 51.97 kB / 0.6724 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.1682, allocations: 3.938 kB / 0.6724 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.1684, allocations: 23.83 kB / 0.6724 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.1684, allocations: 4 kB / 0.6725 GB, free: 13.72 MB / 0.5137 GB 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.0001766/0.1686, allocations: 166.6 kB / 0.6726 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.049e-05/0.1687, allocations: 39.47 kB / 0.6726 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.054e-05/0.1688, allocations: 43.59 kB / 0.6727 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1688, allocations: 4 kB / 0.6727 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1688, allocations: 0 / 0.6727 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1688, allocations: 0 / 0.6727 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004423/0.1692, allocations: 377.3 kB / 0.6731 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1692, allocations: 0 / 0.6731 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002561/0.1695, allocations: 59.91 kB / 0.6731 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.1695, allocations: 4 kB / 0.6731 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.1695, allocations: 0 / 0.6731 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.103e-06/0.1695, allocations: 0 / 0.6731 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1695, allocations: 4 kB / 0.6731 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005945/0.1701, allocations: 374.9 kB / 0.6735 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.1703, allocations: 128.5 kB / 0.6736 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.17e-05/0.1703, allocations: 0 / 0.6736 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.1705, allocations: 11.98 kB / 0.6736 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.706e-05/0.1706, allocations: 16.05 kB / 0.6736 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.403e-06/0.1706, allocations: 3.938 kB / 0.6736 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003184/0.1709, allocations: 303.2 kB / 0.6739 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1709, allocations: 0 / 0.6739 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003071/0.1712, allocations: 71.84 kB / 0.674 GB, free: 12.05 MB / 0.5137 GB 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.0001711/0.1714, allocations: 111.2 kB / 0.6741 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003496/0.1717, allocations: 149.7 kB / 0.6742 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1718, allocations: 0 / 0.6742 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.1719, allocations: 81.94 kB / 0.6743 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005383/0.1725, allocations: 90.5 kB / 0.6744 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.1738, allocations: 0.7824 MB / 0.6752 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.1742, allocations: 0.8067 MB / 0.676 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.794e-05/0.1743, allocations: 23.44 kB / 0.676 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1743, allocations: 0 / 0.676 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of Templates: time 0.007584/0.1819, allocations: 4.447 MB / 0.6803 GB, free: 5.539 MB / 0.5137 GB 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)