Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.611/1.611, allocations: 287.5 MB / 302.6 MB, free: 8.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 188.7 kB / 371.2 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.274/1.274, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006948/0.0006948, allocations: 92.88 kB / 0.7432 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003721/0.0003722, allocations: 16.53 kB / 0.8661 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1641, allocations: 115.3 MB / 0.9787 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003108/0.1672, allocations: 3.589 MB / 0.9822 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002429/0.1697, allocations: 2.261 MB / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003353/0.1701, allocations: 8 kB / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.1712, allocations: 447 kB / 0.9849 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004216/0.1716, allocations: 218.4 kB / 0.9851 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001735/0.1718, allocations: 83.94 kB / 0.9851 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006422/0.1725, allocations: 0.7765 MB / 0.9859 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003288/0.1728, allocations: 280.2 kB / 0.9862 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002431/0.173, allocations: 231.1 kB / 0.9864 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002479/0.1733, allocations: 278.7 kB / 0.9867 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.486e-05/0.1734, allocations: 36 kB / 0.9867 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.94e-05/0.1735, allocations: 36 kB / 0.9867 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.245e-05/0.1736, allocations: 127.5 kB / 0.9868 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.1737, allocations: 165.3 kB / 0.987 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004291/0.1741, allocations: 0.7905 MB / 0.9878 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1741, allocations: 0 / 0.9878 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1741, allocations: 4 kB / 0.9878 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.522e-05/0.1742, allocations: 4 kB / 0.9878 GB, free: 18.81 MB / 0.6198 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.001006/0.1752, allocations: 0.8412 MB / 0.9886 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.1752, allocations: 8.031 kB / 0.9886 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.551e-05/0.1753, allocations: 72.09 kB / 0.9887 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004369/0.1757, allocations: 453.7 kB / 0.9891 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.1758, allocations: 37.38 kB / 0.9892 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.892e-05/0.1758, allocations: 48.38 kB / 0.9892 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006474/0.1765, allocations: 434.8 kB / 0.9896 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.1765, allocations: 3.906 kB / 0.9896 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.087e-05/0.1766, allocations: 20 kB / 0.9896 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.1766, allocations: 12 kB / 0.9896 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006126/0.1772, allocations: 379.8 kB / 0.99 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001607/0.1788, allocations: 1.532 MB / 0.9915 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004316/0.1793, allocations: 339 kB / 0.9918 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004076/0.1797, allocations: 357.1 kB / 0.9922 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.1797, allocations: 8 kB / 0.9922 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.1797, allocations: 46.22 kB / 0.9922 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=42): time 1.493e-06/0.1797, allocations: 0 / 0.9922 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.0008188/0.1806, allocations: 0.5048 MB / 0.9927 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.904e-05/0.1806, allocations: 55.41 kB / 0.9928 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004143/0.181, allocations: 485.9 kB / 0.9932 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.181, allocations: 33.7 kB / 0.9933 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.1812, allocations: 276.3 kB / 0.9935 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.267e-05/0.1812, allocations: 149.8 kB / 0.9937 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.217e-05/0.1812, allocations: 4 kB / 0.9937 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.612e-05/0.1813, allocations: 362.8 kB / 0.994 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.1815, allocations: 124.7 kB / 0.9941 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.1818, allocations: 134 kB / 0.9943 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00044/0.1822, allocations: 310.5 kB / 0.9946 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1822, allocations: 0 / 0.9946 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005352/0.1828, allocations: 392.7 kB / 0.9949 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.1828, allocations: 11.98 kB / 0.9949 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1828, allocations: 0 / 0.9949 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1828, allocations: 4 kB / 0.995 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004412/0.1833, allocations: 127.8 kB / 0.9951 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1833, allocations: 4 kB / 0.9951 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.1835, allocations: 55.58 kB / 0.9951 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.1835, allocations: 11.94 kB / 0.9951 GB, free: 11.03 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001603/0.1837, allocations: 205.7 kB / 0.9953 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.006e-05/0.1838, allocations: 51.38 kB / 0.9954 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.327e-05/0.1839, allocations: 61.09 kB / 0.9954 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1839, allocations: 4 kB / 0.9954 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1839, allocations: 4 kB / 0.9955 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.1839, allocations: 0 / 0.9955 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005163/0.1844, allocations: 0.5751 MB / 0.996 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1844, allocations: 0 / 0.996 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004766/0.1849, allocations: 135.8 kB / 0.9961 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1849, allocations: 0 / 0.9961 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.1849, allocations: 11.98 kB / 0.9962 GB, free: 9.934 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.1849, allocations: 0 / 0.9962 GB, free: 9.934 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.185, allocations: 4 kB / 0.9962 GB, free: 9.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007947/0.1858, allocations: 0.6635 MB / 0.9968 GB, free: 9.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.479e-05/0.1858, allocations: 140.4 kB / 0.9969 GB, free: 9.094 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.58e-05/0.1859, allocations: 7.984 kB / 0.9969 GB, free: 9.086 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.1861, allocations: 19.98 kB / 0.997 GB, free: 9.066 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/0.1862, allocations: 27.91 kB / 0.997 GB, free: 9.039 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.1862, allocations: 12 kB / 0.997 GB, free: 9.027 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002936/0.1865, allocations: 347.1 kB / 0.9973 GB, free: 8.691 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1865, allocations: 4 kB / 0.9973 GB, free: 8.688 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003211/0.1868, allocations: 143.6 kB / 0.9975 GB, free: 8.547 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.122e-05/0.1869, allocations: 115.1 kB / 0.9976 GB, free: 8.422 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005036/0.1875, allocations: 339.8 kB / 0.9979 GB, free: 8.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/0.1875, allocations: 0 / 0.9979 GB, free: 8.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002447/0.1877, allocations: 187.6 kB / 0.9981 GB, free: 7.906 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006068/0.1883, allocations: 123.2 kB / 0.9982 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.1899, allocations: 1.445 MB / 0.9996 GB, free: 6.312 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.1901, allocations: 0.8629 MB / 1 GB, free: 5.426 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001839/0.1903, allocations: 56.39 kB / 1.001 GB, free: 5.371 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.553e-05/0.1904, allocations: 35.44 kB / 1.001 GB, free: 5.336 MB / 0.6198 GB Notification: Performance of SimCode: time 2.61e-07/0.1904, allocations: 0 / 1.001 GB, free: 5.336 MB / 0.6198 GB Notification: Performance of Templates: time 0.008512/0.1989, allocations: 5.376 MB / 1.006 GB, free: 80 kB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)