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.006758/0.006759, allocations: 102.1 kB / 15.73 MB, free: 6.043 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.00142/0.00142, allocations: 188.1 kB / 16.67 MB, free: 5.977 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7841/0.7841, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 67.02 kB / 0.5814 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1499, allocations: 80.21 MB / 0.6597 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004263/0.1542, allocations: 3.013 MB / 0.6627 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002803/0.157, allocations: 2.152 MB / 0.6648 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002561/0.1573, allocations: 11.94 kB / 0.6648 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001479/0.1588, allocations: 0.4977 MB / 0.6653 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003599/0.1591, allocations: 150.9 kB / 0.6654 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001389/0.1593, allocations: 59.88 kB / 0.6655 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004865/0.1598, allocations: 447.4 kB / 0.6659 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002532/0.1601, allocations: 155.2 kB / 0.666 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002774/0.1603, allocations: 159.4 kB / 0.6662 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002438/0.1606, allocations: 183.1 kB / 0.6664 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.411e-05/0.1607, allocations: 32 kB / 0.6664 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.104e-05/0.1607, allocations: 36 kB / 0.6664 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.1609, allocations: 99.61 kB / 0.6665 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002038/0.1611, allocations: 214.9 kB / 0.6667 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004808/0.1616, allocations: 0.5527 MB / 0.6673 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1616, allocations: 0 / 0.6673 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1616, allocations: 0 / 0.6673 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.1616, allocations: 0 / 0.6673 GB, free: 5.738 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.001083/0.1627, allocations: 0.7006 MB / 0.6679 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.1627, allocations: 16.03 kB / 0.668 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.07e-05/0.1628, allocations: 48.31 kB / 0.668 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005535/0.1634, allocations: 382 kB / 0.6684 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.1634, allocations: 12.81 kB / 0.6684 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.227e-05/0.1635, allocations: 23.94 kB / 0.6684 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004017/0.1639, allocations: 203.3 kB / 0.6686 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.1639, allocations: 0 / 0.6686 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.1639, allocations: 12 kB / 0.6686 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.1639, allocations: 4 kB / 0.6686 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003837/0.1643, allocations: 165.7 kB / 0.6688 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.1655, allocations: 0.8622 MB / 0.6696 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002997/0.1658, allocations: 154.6 kB / 0.6698 GB, free: 3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002186/0.166, allocations: 108.8 kB / 0.6699 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.1661, allocations: 3.984 kB / 0.6699 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.1661, allocations: 42.44 kB / 0.6699 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.743e-06/0.1661, allocations: 4 kB / 0.6699 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006042/0.1667, allocations: 251.6 kB / 0.6702 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.1668, allocations: 51.41 kB / 0.6702 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004438/0.1672, allocations: 421.7 kB / 0.6706 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.1672, allocations: 29.64 kB / 0.6706 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.1674, allocations: 208.2 kB / 0.6708 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.036e-05/0.1675, allocations: 63.09 kB / 0.6709 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.997e-05/0.1675, allocations: 33.72 kB / 0.6709 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.1676, allocations: 346.8 kB / 0.6713 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.1678, allocations: 55.97 kB / 0.6713 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.1679, allocations: 62.31 kB / 0.6714 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/0.1682, allocations: 132.8 kB / 0.6715 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1682, allocations: 4 kB / 0.6715 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003918/0.1686, allocations: 211.3 kB / 0.6717 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1687, allocations: 4 kB / 0.6717 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1687, allocations: 4 kB / 0.6717 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.1687, allocations: 0 / 0.6717 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/0.1689, allocations: 55.89 kB / 0.6718 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.169, allocations: 0 / 0.6718 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.1691, allocations: 19.84 kB / 0.6718 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.1691, allocations: 8 kB / 0.6718 GB, free: 0.8594 MB / 0.4981 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.0001462/0.1693, allocations: 162.5 kB / 0.6719 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.254e-05/0.1693, allocations: 39.47 kB / 0.672 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.832e-05/0.1694, allocations: 43.59 kB / 0.672 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1694, allocations: 4 kB / 0.672 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1694, allocations: 3.984 kB / 0.672 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1695, allocations: 0 / 0.672 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003764/0.1698, allocations: 369.4 kB / 0.6724 GB, free: 192 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.1699, allocations: 3.938 kB / 0.6724 GB, free: 188 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002597/0.1701, allocations: 67.89 kB / 0.6725 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1701, allocations: 0 / 0.6725 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.1701, allocations: 0 / 0.6725 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.1702, allocations: 0 / 0.6725 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1702, allocations: 0 / 0.6725 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006101/0.1708, allocations: 378.8 kB / 0.6728 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.83e-05/0.1709, allocations: 128.5 kB / 0.6729 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.391e-05/0.1709, allocations: 0 / 0.6729 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.1711, allocations: 11.98 kB / 0.6729 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.1712, allocations: 15.98 kB / 0.673 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.1712, allocations: 4 kB / 0.673 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003105/0.1715, allocations: 303.1 kB / 0.6733 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1715, allocations: 0 / 0.6733 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003096/0.1718, allocations: 75.84 kB / 0.6733 GB, free: 15.18 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.0001267/0.1719, allocations: 108 kB / 0.6734 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003723/0.1723, allocations: 153.9 kB / 0.6736 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1723, allocations: 0 / 0.6736 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.1725, allocations: 75.91 kB / 0.6737 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005399/0.173, allocations: 101.5 kB / 0.6737 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.1743, allocations: 0.7495 MB / 0.6745 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.1747, allocations: 0.7951 MB / 0.6753 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001446/0.1748, allocations: 30.97 kB / 0.6753 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.25e-05/0.1749, allocations: 31.38 kB / 0.6753 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.1749, allocations: 0 / 0.6753 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of Templates: time 0.008164/0.1831, allocations: 3.997 MB / 0.6792 GB, free: 9.227 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)