Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.675/1.675, allocations: 288.4 MB / 303.4 MB, free: 8.094 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.001005/0.001005, allocations: 182.8 kB / 372 MB, free: 10.22 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.366/1.366, allocations: 205.4 MB / 0.6307 GB, free: 9.984 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.0008335/0.000834, allocations: 94.28 kB / 0.7441 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004181/0.0004181, allocations: 16.7 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1854, allocations: 115.3 MB / 0.9796 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.002996/0.1884, allocations: 3.581 MB / 0.9831 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002121/0.1905, allocations: 2.261 MB / 0.9853 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001883/0.1908, allocations: 12 kB / 0.9853 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009156/0.1917, allocations: 457.9 kB / 0.9858 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002819/0.192, allocations: 206.5 kB / 0.986 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001332/0.1921, allocations: 87.92 kB / 0.9861 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000476/0.1926, allocations: 0.7569 MB / 0.9868 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002767/0.1929, allocations: 233.5 kB / 0.987 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.1931, allocations: 239 kB / 0.9872 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002228/0.1933, allocations: 278.7 kB / 0.9875 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.013e-05/0.1934, allocations: 36 kB / 0.9875 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.859e-05/0.1935, allocations: 39.94 kB / 0.9876 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.873e-05/0.1935, allocations: 127.5 kB / 0.9877 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.374e-05/0.1936, allocations: 157.3 kB / 0.9879 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004299/0.1941, allocations: 0.7906 MB / 0.9886 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1941, allocations: 0 / 0.9886 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.104e-06/0.1941, allocations: 0 / 0.9886 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.1941, allocations: 0 / 0.9886 GB, free: 18.36 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.0009796/0.1951, allocations: 0.8528 MB / 0.9895 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.1951, allocations: 12.02 kB / 0.9895 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.616e-05/0.1952, allocations: 71.16 kB / 0.9895 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004241/0.1957, allocations: 444.7 kB / 0.99 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.1957, allocations: 37 kB / 0.99 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.486e-05/0.1958, allocations: 48 kB / 0.99 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006461/0.1964, allocations: 430.5 kB / 0.9905 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.1964, allocations: 4 kB / 0.9905 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.436e-05/0.1965, allocations: 20 kB / 0.9905 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.1965, allocations: 12 kB / 0.9905 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005981/0.1971, allocations: 371.8 kB / 0.9908 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001572/0.1987, allocations: 1.539 MB / 0.9923 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000437/0.1991, allocations: 342.7 kB / 0.9927 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004081/0.1996, allocations: 353.7 kB / 0.993 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.1996, allocations: 4 kB / 0.993 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.1996, allocations: 38.5 kB / 0.9931 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=42): time 2.254e-06/0.1996, allocations: 3.984 kB / 0.9931 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.0008051/0.2004, allocations: 0.5066 MB / 0.9936 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.2005, allocations: 55.41 kB / 0.9936 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004081/0.2009, allocations: 489.9 kB / 0.9941 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.2009, allocations: 29.7 kB / 0.9941 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.201, allocations: 284.3 kB / 0.9944 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.474e-05/0.2011, allocations: 141.9 kB / 0.9945 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.389e-05/0.2011, allocations: 4.766 kB / 0.9945 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.006e-05/0.2012, allocations: 366.8 kB / 0.9949 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.2014, allocations: 120.7 kB / 0.995 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/0.2017, allocations: 137.1 kB / 0.9951 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.2019, allocations: 142.6 kB / 0.9952 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2019, allocations: 0 / 0.9952 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005376/0.2025, allocations: 411.8 kB / 0.9956 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.2025, allocations: 11.94 kB / 0.9956 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2025, allocations: 0 / 0.9956 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.2025, allocations: 3.938 kB / 0.9956 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004686/0.203, allocations: 127.9 kB / 0.9958 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.203, allocations: 7.984 kB / 0.9958 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.2032, allocations: 51.56 kB / 0.9958 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.2033, allocations: 12 kB / 0.9958 GB, free: 10.73 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.0001629/0.2034, allocations: 197.8 kB / 0.996 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.204e-05/0.2035, allocations: 55.39 kB / 0.9961 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.429e-05/0.2036, allocations: 61.11 kB / 0.9961 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.2036, allocations: 11.92 kB / 0.9962 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.2036, allocations: 4 kB / 0.9962 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.2036, allocations: 0 / 0.9962 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004708/0.2041, allocations: 0.5712 MB / 0.9967 GB, free: 9.773 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2041, allocations: 0 / 0.9967 GB, free: 9.773 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004713/0.2046, allocations: 123.9 kB / 0.9968 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2046, allocations: 11.95 kB / 0.9968 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.2046, allocations: 4 kB / 0.9968 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.2046, allocations: 4 kB / 0.9968 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2046, allocations: 0 / 0.9968 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007895/0.2054, allocations: 0.6582 MB / 0.9975 GB, free: 8.957 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-05/0.2055, allocations: 136.5 kB / 0.9976 GB, free: 8.805 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.393e-05/0.2056, allocations: 15.95 kB / 0.9976 GB, free: 8.789 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.2058, allocations: 27.89 kB / 0.9977 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/0.2059, allocations: 23.95 kB / 0.9977 GB, free: 8.738 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.2059, allocations: 8 kB / 0.9977 GB, free: 8.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002888/0.2062, allocations: 355 kB / 0.998 GB, free: 8.383 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2062, allocations: 0 / 0.998 GB, free: 8.383 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003203/0.2065, allocations: 143.7 kB / 0.9982 GB, free: 8.242 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 0.0001087/0.2067, allocations: 115.2 kB / 0.9983 GB, free: 8.121 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004962/0.2072, allocations: 328.1 kB / 0.9986 GB, free: 7.801 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.2072, allocations: 0 / 0.9986 GB, free: 7.801 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002402/0.2074, allocations: 179.8 kB / 0.9988 GB, free: 7.625 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006135/0.208, allocations: 129.8 kB / 0.9989 GB, free: 7.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.2095, allocations: 1.449 MB / 1 GB, free: 6.02 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.2098, allocations: 0.8668 MB / 1.001 GB, free: 5.125 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001698/0.21, allocations: 56.31 kB / 1.001 GB, free: 5.07 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.756e-05/0.2101, allocations: 35.44 kB / 1.001 GB, free: 5.035 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/0.2101, allocations: 4 kB / 1.001 GB, free: 5.031 MB / 0.6198 GB Notification: Performance of Templates: time 0.008078/0.2182, allocations: 5.374 MB / 1.006 GB, free: 15.79 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)