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.1935/0.1964, allocations: 80.84 MB / 0.5897 GB, free: 7.098 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.003017/0.1995, allocations: 1.548 MB / 0.5912 GB, free: 5.527 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.2009, allocations: 0.9552 MB / 0.5921 GB, free: 4.566 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.2011, allocations: 3.938 kB / 0.5921 GB, free: 4.562 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002242/0.2013, allocations: 43.81 kB / 0.5922 GB, free: 4.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.776e-05/0.2014, allocations: 19.86 kB / 0.5922 GB, free: 4.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004638/0.2018, allocations: 159.3 kB / 0.5924 GB, free: 4.348 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.158e-05/0.2019, allocations: 47.67 kB / 0.5924 GB, free: 4.301 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.888e-05/0.202, allocations: 8 kB / 0.5924 GB, free: 4.293 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.933e-05/0.202, allocations: 23.86 kB / 0.5924 GB, free: 4.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.201e-05/0.2021, allocations: 19.86 kB / 0.5925 GB, free: 4.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.2021, allocations: 0 / 0.5925 GB, free: 4.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003143/0.2024, allocations: 147.8 kB / 0.5926 GB, free: 4.105 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.206e-05/0.2024, allocations: 0 / 0.5926 GB, free: 4.105 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.359e-05/0.2025, allocations: 19.88 kB / 0.5926 GB, free: 4.086 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.2027, allocations: 123.9 kB / 0.5927 GB, free: 3.965 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2027, allocations: 3.938 kB / 0.5927 GB, free: 3.961 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2027, allocations: 0 / 0.5927 GB, free: 3.961 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.2027, allocations: 8 kB / 0.5927 GB, free: 3.953 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003409/0.2031, allocations: 367.1 kB / 0.5931 GB, free: 3.547 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.2031, allocations: 16.02 kB / 0.5931 GB, free: 3.531 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.681e-05/0.2032, allocations: 88.06 kB / 0.5932 GB, free: 3.445 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.2033, allocations: 253.8 kB / 0.5934 GB, free: 3.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.761e-05/0.2034, allocations: 154.9 kB / 0.5936 GB, free: 3.008 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.269e-05/0.2035, allocations: 154.7 kB / 0.5937 GB, free: 2.855 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.727e-05/0.2035, allocations: 105 kB / 0.5938 GB, free: 2.746 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.2036, allocations: 75.28 kB / 0.5939 GB, free: 2.672 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.446e-05/0.2036, allocations: 150.6 kB / 0.594 GB, free: 2.523 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.203e-05/0.2037, allocations: 154.6 kB / 0.5942 GB, free: 2.371 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.957e-05/0.2037, allocations: 154.5 kB / 0.5943 GB, free: 2.219 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002799/0.204, allocations: 469.9 kB / 0.5948 GB, free: 1.711 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.566e-05/0.2041, allocations: 169.1 kB / 0.595 GB, free: 1.535 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.096e-05/0.2041, allocations: 84.08 kB / 0.595 GB, free: 1.449 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.2042, allocations: 75.28 kB / 0.5951 GB, free: 1.375 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.057e-05/0.2042, allocations: 121.8 kB / 0.5952 GB, free: 1.246 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.2042, allocations: 0 / 0.5952 GB, free: 1.246 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.429e-05/0.2043, allocations: 37.66 kB / 0.5953 GB, free: 1.203 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.2044, allocations: 130.7 kB / 0.5954 GB, free: 1.062 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.2045, allocations: 129.8 kB / 0.5955 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.2045, allocations: 25.7 kB / 0.5955 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.396e-05/0.2046, allocations: 92.14 kB / 0.5956 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.386e-06/0.2046, allocations: 0 / 0.5956 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/0.2046, allocations: 25.64 kB / 0.5956 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.2047, allocations: 318.8 kB / 0.5959 GB, free: 460 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/0.2047, allocations: 0 / 0.5959 GB, free: 460 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.685e-05/0.2048, allocations: 11.98 kB / 0.596 GB, free: 448 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.27e-05/0.2048, allocations: 12.8 kB / 0.596 GB, free: 432 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2048, allocations: 0 / 0.596 GB, free: 432 kB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001146/0.2049, allocations: 49.55 kB / 0.596 GB, free: 376 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.205, allocations: 8 kB / 0.596 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/0.205, allocations: 3.984 kB / 0.596 GB, free: 364 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.205, allocations: 4.062 kB / 0.596 GB, free: 360 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-07/0.205, allocations: 0 / 0.596 GB, free: 360 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.205, allocations: 0 / 0.596 GB, free: 360 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.576e-05/0.2051, allocations: 4 kB / 0.596 GB, free: 356 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.2051, allocations: 0 / 0.596 GB, free: 356 kB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.535e-05/0.2052, allocations: 189.9 kB / 0.5962 GB, free: 156 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.454e-05/0.2052, allocations: 112.8 kB / 0.5963 GB, free: 36 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.849e-05/0.2053, allocations: 116.8 kB / 0.5964 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.646e-05/0.2054, allocations: 180.3 kB / 0.5966 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.906e-05/0.2055, allocations: 180.3 kB / 0.5968 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.639e-05/0.2055, allocations: 180.3 kB / 0.5969 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.2058, allocations: 417.1 kB / 0.5973 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.293e-05/0.2058, allocations: 108.9 kB / 0.5975 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.022e-05/0.2058, allocations: 112.9 kB / 0.5976 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.905e-05/0.2059, allocations: 176.3 kB / 0.5977 GB, free: 14.49 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.393e-05/0.206, allocations: 180.3 kB / 0.5979 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.343e-05/0.206, allocations: 180.2 kB / 0.5981 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.177e-05/0.2061, allocations: 184.2 kB / 0.5982 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.2062, allocations: 319.6 kB / 0.5986 GB, free: 13.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.11e-05/0.2063, allocations: 178.1 kB / 0.5987 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.624e-05/0.2064, allocations: 188.2 kB / 0.5989 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.198e-05/0.2065, allocations: 101 kB / 0.599 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.656e-05/0.2065, allocations: 180.2 kB / 0.5992 GB, free: 12.92 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.205e-05/0.2066, allocations: 105 kB / 0.5993 GB, free: 12.81 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.174e-05/0.2066, allocations: 104.7 kB / 0.5994 GB, free: 12.71 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2066, allocations: 0 / 0.5994 GB, free: 12.71 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002904/0.2069, allocations: 31.98 kB / 0.5994 GB, free: 12.68 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 (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.0002772/0.2072, allocations: 218.4 kB / 0.5996 GB, free: 12.45 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 9.345e-05/0.2073, allocations: 41.69 kB / 0.5996 GB, free: 12.41 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.2073, allocations: 4.062 kB / 0.5997 GB, free: 12.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.2073, allocations: 3.938 kB / 0.5997 GB, free: 12.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004733/0.2078, allocations: 0.5298 MB / 0.6002 GB, free: 11.87 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003148/0.2081, allocations: 236.7 kB / 0.6004 GB, free: 11.61 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.2084, allocations: 0.6847 MB / 0.6011 GB, free: 10.91 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.046e-05/0.2084, allocations: 0 / 0.6011 GB, free: 10.91 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.363e-05/0.2084, allocations: 15.38 kB / 0.6011 GB, free: 10.89 MB / 462.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2084, allocations: 0 / 0.6011 GB, free: 10.89 MB / 462.1 MB Notification: Performance of Templates: time 0.003728/0.2122, allocations: 1.503 MB / 0.6025 GB, free: 9.43 MB / 462.1 MB 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)