Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001319/0.001319, allocations: 99.97 kB / 16.4 MB, free: 6.457 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.001436/0.001436, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8054/0.8054, allocations: 126.1 MB / 417.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 63.5 kB / 0.5731 GB, free: 27.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1576, allocations: 78.7 MB / 0.65 GB, free: 4.062 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005239/0.1629, allocations: 4.127 MB / 0.654 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003386/0.1663, allocations: 2.421 MB / 0.6564 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003738/0.1667, allocations: 12 kB / 0.6564 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001634/0.1684, allocations: 0.5569 MB / 0.6569 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004411/0.1688, allocations: 234.1 kB / 0.6572 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.1691, allocations: 147.8 kB / 0.6573 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000697/0.1698, allocations: 0.811 MB / 0.6581 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000434/0.1702, allocations: 326.5 kB / 0.6584 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003137/0.1705, allocations: 287 kB / 0.6587 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000369/0.1709, allocations: 330.6 kB / 0.659 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.295e-05/0.171, allocations: 72 kB / 0.6591 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.1711, allocations: 76 kB / 0.6591 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.1713, allocations: 171.4 kB / 0.6593 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003042/0.1716, allocations: 390.3 kB / 0.6597 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008334/0.1725, allocations: 0.9884 MB / 0.6606 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.1725, allocations: 0 / 0.6606 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.72e-07/0.1725, allocations: 0 / 0.6606 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.1725, allocations: 0 / 0.6606 GB, free: 9.117 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.001296/0.1738, allocations: 0.9691 MB / 0.6616 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.1738, allocations: 8.031 kB / 0.6616 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.1739, allocations: 80.45 kB / 0.6617 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005737/0.1745, allocations: 462 kB / 0.6621 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.409e-05/0.1746, allocations: 41.36 kB / 0.6621 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-05/0.1746, allocations: 55.88 kB / 0.6622 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007195/0.1754, allocations: 422.5 kB / 0.6626 GB, free: 7 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.1754, allocations: 0 / 0.6626 GB, free: 7 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.878e-05/0.1754, allocations: 20 kB / 0.6626 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.1755, allocations: 12 kB / 0.6626 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006814/0.1761, allocations: 371.8 kB / 0.663 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001899/0.1781, allocations: 1.516 MB / 0.6645 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005134/0.1786, allocations: 350.6 kB / 0.6648 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004574/0.179, allocations: 327.1 kB / 0.6651 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.1791, allocations: 8 kB / 0.6651 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.1791, allocations: 38.5 kB / 0.6652 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=42): time 1.673e-06/0.1791, allocations: 0 / 0.6652 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.000929/0.1801, allocations: 0.4934 MB / 0.6656 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.1801, allocations: 59.39 kB / 0.6657 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005103/0.1806, allocations: 485.9 kB / 0.6662 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.1807, allocations: 29.7 kB / 0.6662 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.1808, allocations: 276.7 kB / 0.6664 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.1809, allocations: 150.7 kB / 0.6666 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.185e-05/0.181, allocations: 62.08 kB / 0.6667 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.1812, allocations: 358.8 kB / 0.667 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/0.1814, allocations: 120.7 kB / 0.6671 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.1817, allocations: 129.4 kB / 0.6672 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004958/0.1822, allocations: 294.2 kB / 0.6675 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.1822, allocations: 3.938 kB / 0.6675 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006096/0.1828, allocations: 392.7 kB / 0.6679 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1828, allocations: 11.98 kB / 0.6679 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1828, allocations: 0 / 0.6679 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.1828, allocations: 7.984 kB / 0.6679 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004786/0.1833, allocations: 124.6 kB / 0.668 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.1833, allocations: 3.984 kB / 0.668 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.1836, allocations: 35.73 kB / 0.6681 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.1836, allocations: 12 kB / 0.6681 GB, free: 1.227 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.0002096/0.1838, allocations: 205.6 kB / 0.6683 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.355e-05/0.1839, allocations: 51.67 kB / 0.6683 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.184, allocations: 61.09 kB / 0.6684 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.184, allocations: 15.94 kB / 0.6684 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.184, allocations: 0 / 0.6684 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.184, allocations: 0 / 0.6684 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005908/0.1846, allocations: 0.5829 MB / 0.669 GB, free: 260 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.1846, allocations: 0 / 0.669 GB, free: 260 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004978/0.1851, allocations: 127.9 kB / 0.6691 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1851, allocations: 0 / 0.6691 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/0.1852, allocations: 15.98 kB / 0.6691 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.1852, allocations: 0 / 0.6691 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1852, allocations: 0 / 0.6691 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009694/0.1862, allocations: 0.6524 MB / 0.6697 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.1863, allocations: 140.7 kB / 0.6699 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.917e-05/0.1863, allocations: 11.98 kB / 0.6699 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.1866, allocations: 12 kB / 0.6699 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.39e-05/0.1866, allocations: 23.75 kB / 0.6699 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.1867, allocations: 15.98 kB / 0.6699 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003607/0.187, allocations: 347.1 kB / 0.6703 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.71e-07/0.187, allocations: 3.938 kB / 0.6703 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003675/0.1874, allocations: 143.7 kB / 0.6704 GB, free: 14.75 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.0001359/0.1876, allocations: 123.2 kB / 0.6705 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005828/0.1881, allocations: 323.7 kB / 0.6708 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1882, allocations: 0 / 0.6708 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002754/0.1884, allocations: 179.8 kB / 0.671 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006031/0.1891, allocations: 129.9 kB / 0.6711 GB, free: 14 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.1908, allocations: 1.198 MB / 0.6723 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.1912, allocations: 0.8665 MB / 0.6731 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000168/0.1913, allocations: 56.36 kB / 0.6732 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.519e-05/0.1914, allocations: 35.44 kB / 0.6732 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1914, allocations: 0 / 0.6732 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of Templates: time 0.01124/0.2027, allocations: 6.027 MB / 0.6791 GB, free: 5.891 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)