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.001523/0.001523, allocations: 105.7 kB / 16.4 MB, free: 6.508 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.001493/0.001493, allocations: 192 kB / 17.34 MB, free: 5.734 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8168/0.8168, allocations: 135.2 MB / 426.4 MB, free: 4.039 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 59.3 kB / 0.5864 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1388, allocations: 80.93 MB / 0.6654 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005348/0.1441, allocations: 4.151 MB / 0.6695 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00335/0.1475, allocations: 2.421 MB / 0.6718 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000195/0.1477, allocations: 12 kB / 0.6718 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001359/0.149, allocations: 0.5277 MB / 0.6724 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004156/0.1494, allocations: 258 kB / 0.6726 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.1497, allocations: 139.8 kB / 0.6727 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0008241/0.1505, allocations: 0.8098 MB / 0.6735 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003889/0.1509, allocations: 234.6 kB / 0.6737 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003274/0.1512, allocations: 298.9 kB / 0.674 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003666/0.1516, allocations: 326.6 kB / 0.6743 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.767e-05/0.1516, allocations: 76 kB / 0.6744 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.1517, allocations: 72 kB / 0.6745 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.1519, allocations: 175.4 kB / 0.6747 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003534/0.1523, allocations: 386.2 kB / 0.675 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009508/0.1532, allocations: 1 MB / 0.676 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1532, allocations: 0 / 0.676 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1532, allocations: 0 / 0.676 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.1532, allocations: 0 / 0.676 GB, free: 10.82 MB / 0.5137 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.001463/0.1547, allocations: 0.9652 MB / 0.6769 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.1547, allocations: 13.11 kB / 0.677 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.1548, allocations: 76.47 kB / 0.677 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006428/0.1555, allocations: 462 kB / 0.6775 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.503e-05/0.1555, allocations: 37.38 kB / 0.6775 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.528e-05/0.1556, allocations: 51.94 kB / 0.6776 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007505/0.1564, allocations: 426.5 kB / 0.678 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.1564, allocations: 0 / 0.678 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.167e-05/0.1564, allocations: 20 kB / 0.678 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.1564, allocations: 12 kB / 0.678 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007313/0.1572, allocations: 367.8 kB / 0.6783 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002144/0.1593, allocations: 1.532 MB / 0.6798 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005258/0.1598, allocations: 318.7 kB / 0.6801 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004705/0.1603, allocations: 293.1 kB / 0.6804 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.1603, allocations: 8 kB / 0.6804 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.1604, allocations: 46.44 kB / 0.6805 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=42): time 1.472e-06/0.1604, allocations: 0 / 0.6805 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42): time 0.0009974/0.1614, allocations: 497.3 kB / 0.6809 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.1614, allocations: 55.41 kB / 0.681 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005749/0.162, allocations: 489.9 kB / 0.6815 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.369e-05/0.162, allocations: 37.69 kB / 0.6815 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.1622, allocations: 276.7 kB / 0.6818 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.1624, allocations: 162.6 kB / 0.6819 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.1625, allocations: 58.08 kB / 0.682 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.1627, allocations: 358.8 kB / 0.6823 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002707/0.1629, allocations: 124.7 kB / 0.6824 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002635/0.1632, allocations: 129.2 kB / 0.6826 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000525/0.1637, allocations: 298.1 kB / 0.6828 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1637, allocations: 3.938 kB / 0.6828 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006945/0.1644, allocations: 396.8 kB / 0.6832 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1644, allocations: 4 kB / 0.6832 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.1644, allocations: 7.984 kB / 0.6832 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1644, allocations: 0 / 0.6832 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005196/0.165, allocations: 127.9 kB / 0.6834 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.165, allocations: 0 / 0.6834 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.1652, allocations: 35.73 kB / 0.6834 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.1652, allocations: 12 kB / 0.6834 GB, free: 2.984 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 (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.0002187/0.1654, allocations: 201.6 kB / 0.6836 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.819e-05/0.1655, allocations: 51.67 kB / 0.6836 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.1656, allocations: 65.09 kB / 0.6837 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.1656, allocations: 4 kB / 0.6837 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1656, allocations: 4 kB / 0.6837 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1656, allocations: 0 / 0.6837 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006926/0.1663, allocations: 0.5752 MB / 0.6843 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1663, allocations: 0 / 0.6843 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005305/0.1669, allocations: 127.8 kB / 0.6844 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.1669, allocations: 4 kB / 0.6844 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.1669, allocations: 7.984 kB / 0.6844 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.1669, allocations: 4 kB / 0.6844 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1669, allocations: 0 / 0.6844 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.1679, allocations: 0.652 MB / 0.6851 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.1681, allocations: 140.7 kB / 0.6852 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.653e-05/0.1681, allocations: 15.98 kB / 0.6852 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.1684, allocations: 8 kB / 0.6852 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/0.1684, allocations: 27.91 kB / 0.6852 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.1684, allocations: 11.98 kB / 0.6852 GB, free: 1 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000424/0.1688, allocations: 355.1 kB / 0.6856 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1688, allocations: 3.938 kB / 0.6856 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003818/0.1692, allocations: 143.7 kB / 0.6857 GB, free: 0.5078 MB / 0.5137 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.0001426/0.1694, allocations: 111.2 kB / 0.6858 GB, free: 400 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005879/0.17, allocations: 307.8 kB / 0.6861 GB, free: 92 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.17, allocations: 4 kB / 0.6861 GB, free: 88 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003126/0.1703, allocations: 163.8 kB / 0.6863 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006031/0.1709, allocations: 133.8 kB / 0.6864 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.1727, allocations: 1.213 MB / 0.6876 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005/0.1732, allocations: 0.8704 MB / 0.6884 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001771/0.1734, allocations: 48.39 kB / 0.6885 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.493e-05/0.1735, allocations: 35.44 kB / 0.6885 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of SimCode: time 4.8e-07/0.1735, allocations: 0 / 0.6885 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of Templates: time 0.01154/0.1851, allocations: 6.08 MB / 0.6945 GB, free: 7.629 MB / 0.5294 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)