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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007992/0.0007993, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004817/0.004817, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.397/1.397, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9299/0.9299, allocations: 135.3 MB / 426.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005102/0.0005104, allocations: 15.98 kB / 0.5076 GB, free: 4.723 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1502, allocations: 82.3 MB / 0.588 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004204/0.1545, allocations: 3.754 MB / 0.5917 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003131/0.1576, allocations: 2.344 MB / 0.594 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002235/0.1579, allocations: 8 kB / 0.594 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00135/0.1592, allocations: 0.494 MB / 0.5944 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004388/0.1597, allocations: 218.4 kB / 0.5947 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.1599, allocations: 131.8 kB / 0.5948 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008077/0.1607, allocations: 0.802 MB / 0.5956 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004158/0.1611, allocations: 288.1 kB / 0.5958 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000292/0.1614, allocations: 234.9 kB / 0.5961 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003334/0.1618, allocations: 294.6 kB / 0.5963 GB, free: 10 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.533e-05/0.1619, allocations: 36 kB / 0.5964 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.774e-05/0.1619, allocations: 36 kB / 0.5964 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.1621, allocations: 123.4 kB / 0.5965 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002861/0.1624, allocations: 360 kB / 0.5969 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007209/0.1631, allocations: 0.9378 MB / 0.5978 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1631, allocations: 0 / 0.5978 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1631, allocations: 4 kB / 0.5978 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.1631, allocations: 0 / 0.5978 GB, free: 8.508 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001208/0.1643, allocations: 0.8412 MB / 0.5986 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.1644, allocations: 12.03 kB / 0.5986 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.1645, allocations: 72.09 kB / 0.5987 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005479/0.1651, allocations: 465.6 kB / 0.5991 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.284e-05/0.1651, allocations: 33.38 kB / 0.5992 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.1652, allocations: 52.03 kB / 0.5992 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007669/0.166, allocations: 438.5 kB / 0.5996 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.166, allocations: 0 / 0.5996 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.498e-05/0.1661, allocations: 20 kB / 0.5997 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.1661, allocations: 12 kB / 0.5997 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007916/0.1669, allocations: 375.8 kB / 0.6 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002015/0.1689, allocations: 1.535 MB / 0.6015 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000541/0.1695, allocations: 343.6 kB / 0.6019 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004862/0.1699, allocations: 324.8 kB / 0.6022 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.17, allocations: 8.688 kB / 0.6022 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.17, allocations: 38.56 kB / 0.6022 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=42): time 1.653e-06/0.17, allocations: 0 / 0.6022 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.0009903/0.171, allocations: 0.508 MB / 0.6027 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.1711, allocations: 59.19 kB / 0.6028 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000561/0.1716, allocations: 485.9 kB / 0.6032 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.1717, allocations: 29.7 kB / 0.6033 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.1719, allocations: 276.4 kB / 0.6035 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.172, allocations: 153.7 kB / 0.6037 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.026e-05/0.172, allocations: 37.7 kB / 0.6037 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.1722, allocations: 362.8 kB / 0.604 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002476/0.1725, allocations: 124.7 kB / 0.6042 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/0.1727, allocations: 133.4 kB / 0.6043 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005213/0.1733, allocations: 307.6 kB / 0.6046 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1733, allocations: 0 / 0.6046 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006425/0.1739, allocations: 404.7 kB / 0.605 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1739, allocations: 4 kB / 0.605 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1739, allocations: 4.766 kB / 0.605 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.174, allocations: 7.984 kB / 0.605 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004924/0.1745, allocations: 123.9 kB / 0.6051 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.1745, allocations: 4 kB / 0.6051 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002673/0.1748, allocations: 51.58 kB / 0.6052 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.1748, allocations: 12 kB / 0.6052 GB, free: 0.6992 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 (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.0002122/0.175, allocations: 197.7 kB / 0.6054 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.152e-05/0.1751, allocations: 59.36 kB / 0.6054 GB, free: 448 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.1752, allocations: 61.09 kB / 0.6055 GB, free: 388 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.1752, allocations: 7.938 kB / 0.6055 GB, free: 380 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.393e-06/0.1752, allocations: 0 / 0.6055 GB, free: 380 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.1752, allocations: 8 kB / 0.6055 GB, free: 372 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2861/0.4614, allocations: 0.5702 MB / 0.606 GB, free: 48.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.4614, allocations: 2 kB / 0.606 GB, free: 48.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006568/0.4621, allocations: 125.4 kB / 0.6062 GB, free: 48.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/0.4621, allocations: 2.062 kB / 0.6062 GB, free: 48.81 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.464e-05/0.4622, allocations: 7.969 kB / 0.6062 GB, free: 48.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.4622, allocations: 2 kB / 0.6062 GB, free: 48.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4622, allocations: 0 / 0.6062 GB, free: 48.81 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.4632, allocations: 0.6704 MB / 0.6068 GB, free: 48.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/0.4634, allocations: 140.1 kB / 0.607 GB, free: 48.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.148e-05/0.4635, allocations: 9.062 kB / 0.607 GB, free: 48.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.4637, allocations: 24.45 kB / 0.607 GB, free: 48.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.241e-05/0.4638, allocations: 22 kB / 0.607 GB, free: 48.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.4638, allocations: 11.16 kB / 0.607 GB, free: 48.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000393/0.4642, allocations: 352.7 kB / 0.6074 GB, free: 48.51 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4642, allocations: 0 / 0.6074 GB, free: 48.51 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003962/0.4646, allocations: 147.1 kB / 0.6075 GB, free: 48.51 MB / 0.4981 GB 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.0001302/0.4647, allocations: 116.5 kB / 0.6076 GB, free: 48.42 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005453/0.4653, allocations: 334.7 kB / 0.6079 GB, free: 48.42 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.4653, allocations: 1.125 kB / 0.6079 GB, free: 48.42 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002534/0.4656, allocations: 182 kB / 0.6081 GB, free: 48.42 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006843/0.4663, allocations: 125.5 kB / 0.6082 GB, free: 48.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.468, allocations: 1.501 MB / 0.6097 GB, free: 47.63 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.4683, allocations: 0.8715 MB / 0.6106 GB, free: 46.92 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000175/0.4685, allocations: 53.08 kB / 0.6106 GB, free: 46.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.785e-05/0.4686, allocations: 35.94 kB / 0.6106 GB, free: 46.9 MB / 0.4981 GB Notification: Performance of SimCode: time 4.5e-07/0.4686, allocations: 0 / 0.6106 GB, free: 46.9 MB / 0.4981 GB Notification: Performance of Templates: time 0.00874/0.4773, allocations: 5.557 MB / 0.6161 GB, free: 46.63 MB / 0.4981 GB 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)