Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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 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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1859/0.1866, allocations: 82.22 MB / 0.5935 GB, free: 15.43 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001936/0.1886, allocations: 1.193 MB / 0.5946 GB, free: 14.22 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.1901, allocations: 0.871 MB / 0.5955 GB, free: 13.35 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.786e-05/0.1902, allocations: 0 / 0.5955 GB, free: 13.35 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001985/0.1904, allocations: 39.81 kB / 0.5955 GB, free: 13.31 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.665e-05/0.1905, allocations: 15.86 kB / 0.5955 GB, free: 13.29 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005642/0.1911, allocations: 166.4 kB / 0.5957 GB, free: 13.13 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 8.716e-05/0.1912, allocations: 39.75 kB / 0.5957 GB, free: 13.09 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.458e-05/0.1912, allocations: 11.97 kB / 0.5958 GB, free: 13.08 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.016e-05/0.1913, allocations: 15.88 kB / 0.5958 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.331e-05/0.1913, allocations: 19.94 kB / 0.5958 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.1914, allocations: 0 / 0.5958 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000319/0.1917, allocations: 143.8 kB / 0.5959 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 8.366e-06/0.1917, allocations: 7.922 kB / 0.5959 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.998e-05/0.1917, allocations: 33.7 kB / 0.596 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.1919, allocations: 84.09 kB / 0.596 GB, free: 12.78 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.1919, allocations: 0 / 0.596 GB, free: 12.78 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1919, allocations: 3.938 kB / 0.5961 GB, free: 12.77 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.1919, allocations: 0 / 0.5961 GB, free: 12.77 MB / 462.1 MB 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.000319/0.1922, allocations: 367 kB / 0.5964 GB, free: 12.37 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.1923, allocations: 8.031 kB / 0.5964 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.44e-05/0.1923, allocations: 83.19 kB / 0.5965 GB, free: 12.28 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.1925, allocations: 258.2 kB / 0.5967 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.036e-05/0.1926, allocations: 150.6 kB / 0.5969 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.204e-05/0.1926, allocations: 162.5 kB / 0.597 GB, free: 11.68 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.682e-05/0.1927, allocations: 105 kB / 0.5971 GB, free: 11.57 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/0.1927, allocations: 83.27 kB / 0.5972 GB, free: 11.48 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.756e-05/0.1928, allocations: 150.6 kB / 0.5974 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.382e-05/0.1928, allocations: 150.6 kB / 0.5975 GB, free: 11.19 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.277e-05/0.1929, allocations: 154.5 kB / 0.5976 GB, free: 11.04 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000279/0.1932, allocations: 465.9 kB / 0.5981 GB, free: 10.53 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.02e-05/0.1933, allocations: 165.1 kB / 0.5983 GB, free: 10.36 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.411e-05/0.1933, allocations: 80.14 kB / 0.5983 GB, free: 10.28 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.1933, allocations: 79.23 kB / 0.5984 GB, free: 10.2 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.055e-05/0.1934, allocations: 117.8 kB / 0.5985 GB, free: 10.07 MB / 462.1 MB Notification: Performance of pre-optimization done (n=0): time 2.715e-06/0.1934, allocations: 4 kB / 0.5985 GB, free: 10.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=0): time 7.572e-05/0.1935, allocations: 29.61 kB / 0.5985 GB, free: 10.04 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.1935, allocations: 126.7 kB / 0.5987 GB, free: 9.898 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.1937, allocations: 138 kB / 0.5988 GB, free: 9.754 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.1937, allocations: 29.69 kB / 0.5988 GB, free: 9.719 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.245e-05/0.1938, allocations: 88.14 kB / 0.5989 GB, free: 9.629 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.1938, allocations: 0 / 0.5989 GB, free: 9.629 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-06/0.1938, allocations: 0 / 0.5989 GB, free: 9.629 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.1939, allocations: 322.8 kB / 0.5992 GB, free: 9.305 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.836e-05/0.1939, allocations: 4 kB / 0.5992 GB, free: 9.301 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.285e-05/0.1939, allocations: 4 kB / 0.5992 GB, free: 9.297 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.477e-05/0.194, allocations: 4 kB / 0.5992 GB, free: 9.293 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.194, allocations: 3.938 kB / 0.5992 GB, free: 9.289 MB / 462.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001105/0.1941, allocations: 49.55 kB / 0.5993 GB, free: 9.234 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.1941, allocations: 15.94 kB / 0.5993 GB, free: 9.219 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.1941, allocations: 0 / 0.5993 GB, free: 9.219 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.1942, allocations: 0 / 0.5993 GB, free: 9.219 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.1942, allocations: 0 / 0.5993 GB, free: 9.219 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.1942, allocations: 4.062 kB / 0.5993 GB, free: 9.215 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.926e-05/0.1942, allocations: 4 kB / 0.5993 GB, free: 9.211 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.1942, allocations: 0 / 0.5993 GB, free: 9.211 MB / 462.1 MB 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 8.675e-05/0.1943, allocations: 186 kB / 0.5995 GB, free: 9.02 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.18e-05/0.1944, allocations: 112.9 kB / 0.5996 GB, free: 8.902 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.344e-05/0.1944, allocations: 120.8 kB / 0.5997 GB, free: 8.777 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.014e-05/0.1945, allocations: 176.3 kB / 0.5999 GB, free: 8.598 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.799e-05/0.1946, allocations: 184.2 kB / 0.6 GB, free: 8.41 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.758e-05/0.1947, allocations: 180.3 kB / 0.6002 GB, free: 8.227 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.1949, allocations: 417.1 kB / 0.6006 GB, free: 7.762 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-05/0.1949, allocations: 101.1 kB / 0.6007 GB, free: 7.656 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.54e-05/0.195, allocations: 113 kB / 0.6008 GB, free: 7.539 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.529e-05/0.195, allocations: 184.2 kB / 0.601 GB, free: 7.352 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.086e-05/0.1951, allocations: 180.2 kB / 0.6012 GB, free: 7.168 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-05/0.1951, allocations: 184.2 kB / 0.6013 GB, free: 6.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-05/0.1952, allocations: 188.2 kB / 0.6015 GB, free: 6.789 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/0.1953, allocations: 303.8 kB / 0.6018 GB, free: 6.469 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.138e-05/0.1954, allocations: 186 kB / 0.602 GB, free: 6.262 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.763e-05/0.1955, allocations: 188.2 kB / 0.6022 GB, free: 6.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.353e-05/0.1956, allocations: 105 kB / 0.6023 GB, free: 5.961 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.329e-05/0.1957, allocations: 180.2 kB / 0.6024 GB, free: 5.777 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-05/0.1957, allocations: 108.9 kB / 0.6025 GB, free: 5.664 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.605e-05/0.1958, allocations: 106.5 kB / 0.6026 GB, free: 5.562 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1958, allocations: 0 / 0.6026 GB, free: 5.562 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002691/0.1961, allocations: 31.98 kB / 0.6027 GB, free: 5.531 MB / 462.1 MB 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.0002565/0.1963, allocations: 218.4 kB / 0.6029 GB, free: 5.309 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 8.405e-05/0.1964, allocations: 37.7 kB / 0.6029 GB, free: 5.266 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.1964, allocations: 0 / 0.6029 GB, free: 5.266 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.248e-06/0.1964, allocations: 0 / 0.6029 GB, free: 5.266 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004611/0.1969, allocations: 0.5374 MB / 0.6034 GB, free: 4.727 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003147/0.1972, allocations: 239.7 kB / 0.6037 GB, free: 4.465 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.1975, allocations: 0.6848 MB / 0.6043 GB, free: 3.754 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.421e-05/0.1975, allocations: 4 kB / 0.6044 GB, free: 3.75 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.19e-05/0.1975, allocations: 7.438 kB / 0.6044 GB, free: 3.746 MB / 462.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1976, allocations: 0 / 0.6044 GB, free: 3.746 MB / 462.1 MB Notification: Performance of Templates: time 0.004046/0.2016, allocations: 1.465 MB / 0.6058 GB, free: 2.324 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) Environment - environmentSimulation: