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.1777/0.1797, allocations: 80.84 MB / 0.6707 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.003711/0.1835, allocations: 1.476 MB / 0.6721 GB, free: 500 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001807/0.1853, allocations: 0.9433 MB / 0.673 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.1855, allocations: 4 kB / 0.673 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002587/0.1858, allocations: 39.77 kB / 0.6731 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.654e-05/0.1858, allocations: 23.84 kB / 0.6731 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008641/0.1867, allocations: 192.8 kB / 0.6733 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.1869, allocations: 51.67 kB / 0.6733 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.324e-05/0.187, allocations: 7.938 kB / 0.6733 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.1871, allocations: 23.86 kB / 0.6733 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.209e-05/0.1871, allocations: 15.94 kB / 0.6734 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.1872, allocations: 0 / 0.6734 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005497/0.1877, allocations: 167.8 kB / 0.6735 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.381e-05/0.1878, allocations: 11.88 kB / 0.6735 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.468e-05/0.1878, allocations: 19.88 kB / 0.6736 GB, free: 15 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003496/0.1882, allocations: 123.6 kB / 0.6737 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1882, allocations: 3.938 kB / 0.6737 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.275e-06/0.1882, allocations: 4 kB / 0.6737 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.1882, allocations: 0 / 0.6737 GB, free: 14.87 MB / 0.5137 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.0006149/0.1888, allocations: 363.3 kB / 0.674 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.1889, allocations: 12.03 kB / 0.674 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.189, allocations: 84.11 kB / 0.6741 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004414/0.1894, allocations: 257.4 kB / 0.6744 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.402e-05/0.1895, allocations: 150.9 kB / 0.6745 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.233e-05/0.1896, allocations: 162.5 kB / 0.6747 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.475e-05/0.1897, allocations: 101 kB / 0.6748 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.947e-05/0.1898, allocations: 75.28 kB / 0.6748 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.445e-05/0.1898, allocations: 150.6 kB / 0.675 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.341e-05/0.1899, allocations: 154.6 kB / 0.6751 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.519e-05/0.19, allocations: 162.5 kB / 0.6753 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000448/0.1905, allocations: 465.8 kB / 0.6757 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.1906, allocations: 169.1 kB / 0.6759 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.647e-05/0.1907, allocations: 84.14 kB / 0.676 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.1907, allocations: 79.27 kB / 0.676 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.106e-05/0.1908, allocations: 113.8 kB / 0.6761 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.1908, allocations: 0 / 0.6761 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 0.0001059/0.1909, allocations: 29.7 kB / 0.6762 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.032e-05/0.191, allocations: 126.7 kB / 0.6763 GB, free: 12 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.1912, allocations: 134.5 kB / 0.6764 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.1912, allocations: 25.7 kB / 0.6764 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.163e-05/0.1913, allocations: 100.1 kB / 0.6765 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.796e-06/0.1913, allocations: 0 / 0.6765 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.1914, allocations: 13.72 kB / 0.6766 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1915, allocations: 318.8 kB / 0.6769 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.317e-05/0.1916, allocations: 0 / 0.6769 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.578e-05/0.1916, allocations: 11.98 kB / 0.6769 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.242e-05/0.1916, allocations: 16.83 kB / 0.6769 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.1917, allocations: 3.938 kB / 0.6769 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001443/0.1918, allocations: 41.7 kB / 0.6769 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/0.1918, allocations: 19.98 kB / 0.677 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.216e-05/0.1919, allocations: 0 / 0.677 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.1919, allocations: 0 / 0.677 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.1919, allocations: 0 / 0.677 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.1919, allocations: 0 / 0.677 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.404e-05/0.192, allocations: 7.906 kB / 0.677 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.192, allocations: 7.922 kB / 0.677 GB, free: 11.27 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001253/0.1921, allocations: 193 kB / 0.6771 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.377e-05/0.1922, allocations: 112.9 kB / 0.6773 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.458e-05/0.1923, allocations: 116.6 kB / 0.6774 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.803e-05/0.1923, allocations: 184.2 kB / 0.6775 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001096/0.1925, allocations: 176.3 kB / 0.6777 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001372/0.1926, allocations: 180.3 kB / 0.6779 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003506/0.193, allocations: 421.1 kB / 0.6783 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.064e-05/0.193, allocations: 105 kB / 0.6784 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.785e-05/0.1931, allocations: 112.9 kB / 0.6785 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.197e-05/0.1931, allocations: 176.3 kB / 0.6787 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.338e-05/0.1932, allocations: 180.3 kB / 0.6788 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.669e-05/0.1933, allocations: 180.2 kB / 0.679 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.944e-05/0.1934, allocations: 188.2 kB / 0.6792 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.1935, allocations: 311.6 kB / 0.6795 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.633e-05/0.1936, allocations: 182 kB / 0.6797 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.561e-05/0.1937, allocations: 188.2 kB / 0.6798 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.543e-05/0.1938, allocations: 101 kB / 0.6799 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.451e-05/0.1939, allocations: 184.2 kB / 0.6801 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4e-05/0.1939, allocations: 105 kB / 0.6802 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.828e-05/0.194, allocations: 104.5 kB / 0.6803 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.194, allocations: 0 / 0.6803 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003677/0.1944, allocations: 39.92 kB / 0.6803 GB, free: 7.57 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003569/0.1948, allocations: 210.5 kB / 0.6805 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001405/0.1949, allocations: 45.69 kB / 0.6806 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.1949, allocations: 3.938 kB / 0.6806 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.208e-06/0.1949, allocations: 0 / 0.6806 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005445/0.1955, allocations: 465.7 kB / 0.681 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004851/0.196, allocations: 234.9 kB / 0.6813 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004825/0.1965, allocations: 0.6807 MB / 0.6819 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.208e-05/0.1965, allocations: 4 kB / 0.6819 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.516e-05/0.1966, allocations: 11.38 kB / 0.6819 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of SimCode: time 8.12e-07/0.1966, allocations: 0 / 0.6819 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of Templates: time 0.005749/0.2023, allocations: 1.518 MB / 0.6834 GB, free: 4.391 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (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)