Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.418/2.418, allocations: 287.9 MB / 302.9 MB, free: 8.312 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001484/0.001484, allocations: 179.1 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.123/2.123, allocations: 205.4 MB / 0.6301 GB, free: 10.42 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 94.55 kB / 0.7434 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004733/0.0004735, allocations: 17.47 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1887, allocations: 115.3 MB / 0.9788 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001375/0.1901, allocations: 1.157 MB / 0.9799 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.1914, allocations: 0.8246 MB / 0.9807 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.55e-05/0.1914, allocations: 4 kB / 0.9807 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001671/0.1916, allocations: 35.81 kB / 0.9807 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.457e-05/0.1917, allocations: 15.97 kB / 0.9808 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005344/0.1922, allocations: 176 kB / 0.9809 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.986e-05/0.1923, allocations: 31.95 kB / 0.981 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.739e-05/0.1923, allocations: 0 / 0.981 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.748e-05/0.1924, allocations: 27.84 kB / 0.981 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.009e-05/0.1925, allocations: 11.94 kB / 0.981 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.1925, allocations: 3.938 kB / 0.981 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002882/0.1928, allocations: 143.8 kB / 0.9811 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.689e-06/0.1928, allocations: 7.938 kB / 0.9811 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.225e-05/0.1929, allocations: 29.7 kB / 0.9812 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.193, allocations: 80.09 kB / 0.9812 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.688e-06/0.193, allocations: 0 / 0.9812 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.156e-06/0.193, allocations: 0 / 0.9812 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.742e-06/0.1931, allocations: 0 / 0.9812 GB, free: 25.64 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002622/0.1933, allocations: 363.1 kB / 0.9816 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.1934, allocations: 12.03 kB / 0.9816 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.1934, allocations: 79.19 kB / 0.9817 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.1936, allocations: 279.2 kB / 0.9819 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.1936, allocations: 150.6 kB / 0.9821 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/0.1937, allocations: 154.6 kB / 0.9822 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.046e-05/0.1937, allocations: 101 kB / 0.9823 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.1937, allocations: 75.28 kB / 0.9824 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.1938, allocations: 154.5 kB / 0.9825 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.1938, allocations: 154.6 kB / 0.9827 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.584e-05/0.1938, allocations: 158.5 kB / 0.9828 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002137/0.1941, allocations: 461.9 kB / 0.9833 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.656e-05/0.1941, allocations: 173.1 kB / 0.9835 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.1942, allocations: 83.28 kB / 0.9835 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.1942, allocations: 105.8 kB / 0.9836 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.905e-06/0.1942, allocations: 0 / 0.9836 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.541e-05/0.1943, allocations: 33.64 kB / 0.9837 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.1943, allocations: 126.7 kB / 0.9838 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.1944, allocations: 135.5 kB / 0.9839 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.773e-06/0.1945, allocations: 29.7 kB / 0.9839 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.548e-05/0.1945, allocations: 100.1 kB / 0.984 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-06/0.1945, allocations: 0 / 0.984 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-06/0.1945, allocations: 0 / 0.984 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.155e-05/0.1946, allocations: 314.8 kB / 0.9843 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.386e-05/0.1946, allocations: 8 kB / 0.9843 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.704e-05/0.1947, allocations: 4 kB / 0.9844 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.907e-05/0.1947, allocations: 7.984 kB / 0.9844 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.193e-06/0.1947, allocations: 0 / 0.9844 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001256/0.1948, allocations: 53.58 kB / 0.9844 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1949, allocations: 4 kB / 0.9844 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.1949, allocations: 0 / 0.9844 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1949, allocations: 4 kB / 0.9844 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.597e-06/0.1949, allocations: 0 / 0.9844 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.371e-06/0.1949, allocations: 0 / 0.9844 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.084e-05/0.195, allocations: 3.938 kB / 0.9844 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.679e-06/0.195, allocations: 3.984 kB / 0.9844 GB, free: 22.15 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 6.646e-05/0.1951, allocations: 193.1 kB / 0.9846 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.995e-05/0.1951, allocations: 108.9 kB / 0.9847 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.064e-05/0.1952, allocations: 116.8 kB / 0.9848 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-05/0.1952, allocations: 180.2 kB / 0.985 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.203e-05/0.1953, allocations: 184.3 kB / 0.9852 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-05/0.1953, allocations: 180.2 kB / 0.9853 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.1955, allocations: 413.2 kB / 0.9857 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.84e-05/0.1955, allocations: 108.9 kB / 0.9858 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.738e-05/0.1955, allocations: 105 kB / 0.9859 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.997e-05/0.1956, allocations: 184.2 kB / 0.9861 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.736e-05/0.1956, allocations: 180.2 kB / 0.9863 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.878e-05/0.1956, allocations: 184.5 kB / 0.9865 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.887e-05/0.1957, allocations: 184.2 kB / 0.9866 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.575e-05/0.1958, allocations: 315.8 kB / 0.9869 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.98e-05/0.1958, allocations: 190 kB / 0.9871 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.003e-05/0.1959, allocations: 176.3 kB / 0.9873 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.752e-05/0.1959, allocations: 108.9 kB / 0.9874 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/0.196, allocations: 184.2 kB / 0.9876 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.196, allocations: 108.9 kB / 0.9877 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.583e-05/0.1961, allocations: 96.67 kB / 0.9878 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.88e-07/0.1961, allocations: 3.938 kB / 0.9878 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003483/0.1964, allocations: 28 kB / 0.9878 GB, free: 18.48 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0002615/0.1967, allocations: 226.4 kB / 0.988 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.362e-05/0.1968, allocations: 37.7 kB / 0.988 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.891e-06/0.1968, allocations: 0 / 0.988 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.244e-06/0.1969, allocations: 0 / 0.988 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.1972, allocations: 0.5263 MB / 0.9886 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002949/0.1975, allocations: 247.8 kB / 0.9888 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.1976, allocations: 0.6887 MB / 0.9895 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.16e-05/0.1977, allocations: 0 / 0.9895 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.223e-05/0.1977, allocations: 15.44 kB / 0.9895 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of SimCode: time 1.473e-06/0.1977, allocations: 0 / 0.9895 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of Templates: time 0.004227/0.2019, allocations: 1.456 MB / 0.9909 GB, free: 15.26 MB / 0.6198 GB