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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.589/1.589, allocations: 288.4 MB / 303.4 MB, free: 8.117 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.0009554/0.0009555, allocations: 177.7 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.53/1.53, allocations: 205.4 MB / 0.6307 GB, free: 9.969 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.0007596/0.0007597, allocations: 86.34 kB / 0.7441 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003853/0.0003853, allocations: 10.97 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.183, allocations: 115.3 MB / 0.9796 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002651/0.1857, allocations: 2.595 MB / 0.9822 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002186/0.1879, allocations: 1.988 MB / 0.9841 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003849/0.1884, allocations: 4 kB / 0.9841 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001363/0.1897, allocations: 426.2 kB / 0.9845 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003169/0.1901, allocations: 127.2 kB / 0.9846 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001075/0.1902, allocations: 35.97 kB / 0.9847 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000391/0.1906, allocations: 425.8 kB / 0.9851 GB, free: 22 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.1908, allocations: 123 kB / 0.9852 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/0.191, allocations: 135.4 kB / 0.9853 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.1912, allocations: 163.3 kB / 0.9855 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.513e-05/0.1912, allocations: 16 kB / 0.9855 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.398e-05/0.1913, allocations: 20 kB / 0.9855 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.668e-05/0.1914, allocations: 79.72 kB / 0.9856 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.841e-05/0.1914, allocations: 109.5 kB / 0.9857 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002577/0.1917, allocations: 438.7 kB / 0.9861 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1917, allocations: 0 / 0.9861 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1917, allocations: 4 kB / 0.9861 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.335e-05/0.1917, allocations: 0 / 0.9861 GB, free: 20.93 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008101/0.1926, allocations: 0.6501 MB / 0.9867 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1926, allocations: 12.03 kB / 0.9867 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.038e-05/0.1927, allocations: 43.44 kB / 0.9868 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004606/0.1931, allocations: 353.1 kB / 0.9871 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.1932, allocations: 20.44 kB / 0.9871 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.567e-05/0.1932, allocations: 27.89 kB / 0.9872 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003924/0.1936, allocations: 203.3 kB / 0.9874 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.1937, allocations: 0 / 0.9874 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.1937, allocations: 12 kB / 0.9874 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1937, allocations: 11.94 kB / 0.9874 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003618/0.1941, allocations: 169.7 kB / 0.9876 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.1951, allocations: 0.874 MB / 0.9884 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.1954, allocations: 170.4 kB / 0.9886 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.1956, allocations: 116.8 kB / 0.9887 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.1957, allocations: 4 kB / 0.9887 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.1957, allocations: 38.5 kB / 0.9887 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.362e-06/0.1957, allocations: 0 / 0.9887 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0005528/0.1962, allocations: 266.7 kB / 0.989 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.1963, allocations: 51.41 kB / 0.989 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000372/0.1967, allocations: 417.7 kB / 0.9894 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.1967, allocations: 29.7 kB / 0.9894 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.273e-05/0.1968, allocations: 212.1 kB / 0.9897 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.359e-05/0.1968, allocations: 63.09 kB / 0.9897 GB, free: 17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.732e-06/0.1968, allocations: 0 / 0.9897 GB, free: 17 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.204e-05/0.1969, allocations: 346.8 kB / 0.99 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.1971, allocations: 63.97 kB / 0.9901 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.1972, allocations: 63.92 kB / 0.9902 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.1974, allocations: 74.16 kB / 0.9902 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1974, allocations: 0 / 0.9902 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003402/0.1977, allocations: 217.1 kB / 0.9904 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1977, allocations: 5.25 kB / 0.9904 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1978, allocations: 0 / 0.9904 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1978, allocations: 4 kB / 0.9905 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.198, allocations: 55.97 kB / 0.9905 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.463e-06/0.198, allocations: 7.922 kB / 0.9905 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.1982, allocations: 23.84 kB / 0.9905 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.1982, allocations: 4 kB / 0.9905 GB, free: 16.14 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 (20): * Single equations (assignments): 20 * 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.0001211/0.1983, allocations: 169.8 kB / 0.9907 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.868e-05/0.1984, allocations: 31.62 kB / 0.9907 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.987e-05/0.1985, allocations: 43.58 kB / 0.9908 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.1985, allocations: 0 / 0.9908 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.1985, allocations: 0 / 0.9908 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1985, allocations: 8 kB / 0.9908 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002965/0.1988, allocations: 373.3 kB / 0.9911 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1988, allocations: 0 / 0.9911 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000254/0.1991, allocations: 63.89 kB / 0.9912 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1991, allocations: 4 kB / 0.9912 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.1991, allocations: 3.938 kB / 0.9912 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.1991, allocations: 4 kB / 0.9912 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1991, allocations: 0 / 0.9912 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005213/0.1996, allocations: 397.4 kB / 0.9916 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.856e-05/0.1997, allocations: 124.5 kB / 0.9917 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/0.1998, allocations: 3.984 kB / 0.9917 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.1999, allocations: 12 kB / 0.9917 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.2, allocations: 7.984 kB / 0.9917 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.2, allocations: 19.98 kB / 0.9917 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002536/0.2003, allocations: 295.2 kB / 0.992 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2003, allocations: 0 / 0.992 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002693/0.2005, allocations: 71.84 kB / 0.9921 GB, free: 14.46 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.0001006/0.2006, allocations: 111.2 kB / 0.9922 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003349/0.201, allocations: 155.9 kB / 0.9924 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.201, allocations: 0 / 0.9924 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.2012, allocations: 79.91 kB / 0.9924 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005232/0.2017, allocations: 91.52 kB / 0.9925 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.2027, allocations: 0.8969 MB / 0.9934 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001868/0.2029, allocations: 0.7914 MB / 0.9942 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001208/0.203, allocations: 42.95 kB / 0.9942 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.253e-05/0.2031, allocations: 23.44 kB / 0.9942 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of SimCode: time 2.71e-07/0.2031, allocations: 0 / 0.9942 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of Templates: time 0.006394/0.2095, allocations: 3.582 MB / 0.9977 GB, free: 8.738 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)