Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.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.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance") translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance") [/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.1834/0.184, allocations: 82.23 MB / 0.5934 GB, free: 6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001434/0.1855, allocations: 1.006 MB / 0.5944 GB, free: 4.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003795/0.1893, allocations: 3.25 MB / 0.5975 GB, free: 1.723 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.673e-05/0.1894, allocations: 0 / 0.5975 GB, free: 1.723 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.922e-05/0.1894, allocations: 0 / 0.5975 GB, free: 1.723 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003612/0.1898, allocations: 87.7 kB / 0.5976 GB, free: 1.637 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.19, allocations: 95.69 kB / 0.5977 GB, free: 1.543 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.587e-05/0.1901, allocations: 19.95 kB / 0.5977 GB, free: 1.523 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.317e-05/0.1901, allocations: 0 / 0.5977 GB, free: 1.523 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.1903, allocations: 27.91 kB / 0.5978 GB, free: 1.496 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.593e-05/0.1904, allocations: 27.97 kB / 0.5978 GB, free: 1.469 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.165e-06/0.1904, allocations: 0 / 0.5978 GB, free: 1.469 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003987/0.1908, allocations: 295.5 kB / 0.5981 GB, free: 1.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.252e-06/0.1908, allocations: 4 kB / 0.5981 GB, free: 1.176 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.132e-05/0.1908, allocations: 29.64 kB / 0.5981 GB, free: 1.141 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.191, allocations: 76.09 kB / 0.5982 GB, free: 1.066 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.191, allocations: 0 / 0.5982 GB, free: 1.066 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.191, allocations: 0 / 0.5982 GB, free: 1.066 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.191, allocations: 0 / 0.5982 GB, free: 1.066 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003467/0.1914, allocations: 381 kB / 0.5985 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.1914, allocations: 8.031 kB / 0.5985 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.814e-05/0.1914, allocations: 0 / 0.5985 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.1916, allocations: 167 kB / 0.5987 GB, free: 440 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.1916, allocations: 4 kB / 0.5987 GB, free: 436 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.236e-06/0.1916, allocations: 0 / 0.5987 GB, free: 436 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.698e-05/0.1917, allocations: 41.62 kB / 0.5987 GB, free: 388 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.1917, allocations: 0 / 0.5987 GB, free: 388 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/0.1917, allocations: 0 / 0.5987 GB, free: 388 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1917, allocations: 0 / 0.5987 GB, free: 388 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.017e-05/0.1918, allocations: 4 kB / 0.5988 GB, free: 384 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001403/0.1919, allocations: 161.6 kB / 0.5989 GB, free: 172 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.738e-05/0.192, allocations: 22.58 kB / 0.5989 GB, free: 140 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-06/0.192, allocations: 0 / 0.5989 GB, free: 140 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.192, allocations: 34.5 kB / 0.599 GB, free: 96 kB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.192, allocations: 0 / 0.599 GB, free: 96 kB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002341/0.1923, allocations: 148.6 kB / 0.5991 GB, free: 15.92 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.1923, allocations: 81.11 kB / 0.5992 GB, free: 15.82 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.594e-05/0.1924, allocations: 101.8 kB / 0.5993 GB, free: 15.71 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.1924, allocations: 29.83 kB / 0.5993 GB, free: 15.68 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.492e-05/0.1925, allocations: 84.08 kB / 0.5994 GB, free: 15.59 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.1925, allocations: 7.906 kB / 0.5994 GB, free: 15.58 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-06/0.1925, allocations: 0 / 0.5994 GB, free: 15.58 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1926, allocations: 314.8 kB / 0.5997 GB, free: 15.27 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.24e-05/0.1927, allocations: 4 kB / 0.5997 GB, free: 15.26 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.278e-06/0.1927, allocations: 3.984 kB / 0.5997 GB, free: 15.26 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.05e-05/0.1927, allocations: 33.64 kB / 0.5997 GB, free: 15.22 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1927, allocations: 64 / 0.5997 GB, free: 15.22 MB / 462.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.797e-05/0.1928, allocations: 75.36 kB / 0.5998 GB, free: 15.13 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/0.1928, allocations: 29.7 kB / 0.5998 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.1929, allocations: 3.984 kB / 0.5998 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.1929, allocations: 4 kB / 0.5998 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-06/0.1929, allocations: 0 / 0.5998 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.1929, allocations: 0 / 0.5998 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.284e-05/0.1929, allocations: 3.938 kB / 0.5998 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.1929, allocations: 0 / 0.5998 GB, free: 15.09 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: 1 * 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 9.7e-05/0.193, allocations: 139.6 kB / 0.6 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.071e-05/0.1931, allocations: 11.89 kB / 0.6 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.402e-05/0.1931, allocations: 3.125 kB / 0.6 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.1931, allocations: 0 / 0.6 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1931, allocations: 3.984 kB / 0.6 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1931, allocations: 0 / 0.6 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.984e-05/0.1932, allocations: 157.7 kB / 0.6001 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1932, allocations: 256 / 0.6001 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-07/0.1932, allocations: 0 / 0.6001 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.1932, allocations: 7.953 kB / 0.6002 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.1932, allocations: 4 kB / 0.6002 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1933, allocations: 7.938 kB / 0.6002 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1933, allocations: 0 / 0.6002 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.1934, allocations: 106.7 kB / 0.6003 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.283e-05/0.1934, allocations: 77.11 kB / 0.6003 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.1935, allocations: 7.953 kB / 0.6003 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.619e-05/0.1935, allocations: 0 / 0.6003 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.394e-05/0.1935, allocations: 3.984 kB / 0.6004 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.1935, allocations: 4.031 kB / 0.6004 GB, free: 14.45 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.966e-05/0.1936, allocations: 79.28 kB / 0.6004 GB, free: 14.37 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1936, allocations: 3.938 kB / 0.6004 GB, free: 14.37 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002086/0.1938, allocations: 24 kB / 0.6005 GB, free: 14.34 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002063/0.194, allocations: 135.2 kB / 0.6006 GB, free: 14.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 9.587e-05/0.1941, allocations: 67.34 kB / 0.6007 GB, free: 14.12 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1941, allocations: 0 / 0.6007 GB, free: 14.12 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 5e-05/0.1942, allocations: 67.45 kB / 0.6007 GB, free: 14.04 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/0.1943, allocations: 8.547 kB / 0.6007 GB, free: 14.04 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002491/0.1946, allocations: 142.5 kB / 0.6009 GB, free: 13.87 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.1949, allocations: 0.6809 MB / 0.6015 GB, free: 13.16 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 1.299e-05/0.1949, allocations: 3.984 kB / 0.6015 GB, free: 13.16 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.187e-05/0.1949, allocations: 11.44 kB / 0.6015 GB, free: 13.15 MB / 462.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1949, allocations: 4.062 kB / 0.6015 GB, free: 13.14 MB / 462.1 MB Notification: Performance of Templates: time 0.002806/0.1977, allocations: 0.7841 MB / 0.6023 GB, free: 12.4 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1) Environment - environmentSimulation: