Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement") translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8183/0.8183, allocations: 132.4 MB / 139.9 MB, free: 2.797 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001061/0.001061, allocations: 174 kB / 171.8 MB, free: 4.961 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.349/1.349, allocations: 170.6 MB / 374.2 MB, free: 212 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001727/0.001727, allocations: 107.5 kB / 444.8 MB, free: 14.18 MB / 314.7 MB [/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.1452/0.1452, allocations: 73.41 MB / 0.6666 GB, free: 15.66 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.115/1.26, allocations: 376.1 MB / 1.034 GB, free: 82.84 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/1.26, allocations: 105.9 kB / 1.034 GB, free: 82.77 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.588/2.849, allocations: 480 MB / 1.503 GB, free: 88.85 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.402e-06/2.849, allocations: 0 / 1.503 GB, free: 88.85 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001044/2.849, allocations: 35.16 kB / 1.503 GB, free: 88.85 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.002823/2.852, allocations: 1.442 MB / 1.504 GB, free: 87.76 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/2.852, allocations: 11.41 kB / 1.504 GB, free: 87.76 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004708/2.852, allocations: 157.3 kB / 1.504 GB, free: 87.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02287/2.875, allocations: 12.32 MB / 1.516 GB, free: 76.31 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/2.875, allocations: 31.5 kB / 1.516 GB, free: 76.29 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/2.875, allocations: 56 kB / 1.516 GB, free: 76.23 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001068/2.877, allocations: 0.5702 MB / 1.517 GB, free: 75.66 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/2.878, allocations: 0.8326 MB / 1.518 GB, free: 74.77 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/2.878, allocations: 7.625 kB / 1.518 GB, free: 74.76 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.363e-05/2.878, allocations: 0 / 1.518 GB, free: 74.76 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-05/2.878, allocations: 34.17 kB / 1.518 GB, free: 74.73 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004696/2.883, allocations: 5.17 MB / 1.523 GB, free: 69.28 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007292/2.883, allocations: 0.4966 MB / 1.523 GB, free: 68.77 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000376/2.884, allocations: 283.1 kB / 1.524 GB, free: 68.49 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003572/2.884, allocations: 286.8 kB / 1.524 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/2.884, allocations: 43.11 kB / 1.524 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=55): time 2.545e-06/2.884, allocations: 0 / 1.524 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=57): time 0.003735/2.888, allocations: 1.526 MB / 1.526 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/2.888, allocations: 107.4 kB / 1.526 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007087/2.889, allocations: 0.6812 MB / 1.526 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.402e-05/2.889, allocations: 25.7 kB / 1.526 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002778/2.889, allocations: 0.5528 MB / 1.527 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/2.889, allocations: 205 kB / 1.527 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-05/2.889, allocations: 0 / 1.527 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.002e-05/2.889, allocations: 333.9 kB / 1.527 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002394/2.889, allocations: 193.5 kB / 1.528 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003478/2.89, allocations: 426.3 kB / 1.528 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005992/2.89, allocations: 306.5 kB / 1.528 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/2.89, allocations: 4 kB / 1.528 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001707/2.892, allocations: 0.8769 MB / 1.529 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003697/2.893, allocations: 2.012 MB / 1.531 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.815e-05/2.893, allocations: 8 kB / 1.531 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003267/2.893, allocations: 139.4 kB / 1.531 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004256/2.893, allocations: 135.8 kB / 1.531 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002471/2.896, allocations: 4.677 MB / 1.536 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009054/2.897, allocations: 55.86 kB / 1.536 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.038e-05/2.897, allocations: 39.92 kB / 1.536 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.357e-06/2.897, allocations: 4 kB / 1.536 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001304/2.898, allocations: 0.7568 MB / 1.537 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/2.898, allocations: 8 kB / 1.537 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002158/2.898, allocations: 115.4 kB / 1.537 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004066/2.899, allocations: 139.8 kB / 1.537 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002799/2.902, allocations: 5.569 MB / 1.542 GB, free: 47.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007256/2.902, allocations: 51.86 kB / 1.542 GB, free: 47.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.697e-05/2.902, allocations: 32 kB / 1.542 GB, free: 47.89 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 76 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001902/2.903, allocations: 127 kB / 1.543 GB, free: 47.77 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/2.903, allocations: 102.4 kB / 1.543 GB, free: 47.67 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001808/2.905, allocations: 0.7819 MB / 1.543 GB, free: 46.87 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/2.905, allocations: 7.984 kB / 1.543 GB, free: 46.86 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/2.905, allocations: 4 kB / 1.543 GB, free: 46.86 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001382/2.906, allocations: 0.7447 MB / 1.544 GB, free: 46.06 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002952/2.909, allocations: 1.798 MB / 1.546 GB, free: 44.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/2.909, allocations: 0 / 1.546 GB, free: 44.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003542/2.909, allocations: 83.89 kB / 1.546 GB, free: 44.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004888/2.91, allocations: 193.2 kB / 1.546 GB, free: 43.89 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.928e-05/2.91, allocations: 15.94 kB / 1.546 GB, free: 43.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004641/2.915, allocations: 6.718 MB / 1.553 GB, free: 36.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.135e-05/2.915, allocations: 8.078 kB / 1.553 GB, free: 36.65 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002311/2.917, allocations: 1.189 MB / 1.554 GB, free: 35.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006856/2.918, allocations: 247.8 kB / 1.554 GB, free: 35.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003294/2.918, allocations: 8 kB / 1.554 GB, free: 35.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008504/2.919, allocations: 59.78 kB / 1.554 GB, free: 35.05 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/2.919, allocations: 44.44 kB / 1.554 GB, free: 35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.953e-05/2.919, allocations: 27.98 kB / 1.554 GB, free: 34.98 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007715/2.92, allocations: 0.5073 MB / 1.555 GB, free: 34.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.71e-07/2.92, allocations: 4 kB / 1.555 GB, free: 34.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003299/2.923, allocations: 0.6442 MB / 1.555 GB, free: 33.81 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.capFil1.T,hex.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 38 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001535/2.925, allocations: 0.6243 MB / 1.556 GB, free: 33.25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002187/2.927, allocations: 1.706 MB / 1.558 GB, free: 31.47 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/2.927, allocations: 4 kB / 1.558 GB, free: 31.46 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006551/2.928, allocations: 0.7018 MB / 1.558 GB, free: 30.72 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/2.93, allocations: 484.2 kB / 1.559 GB, free: 30.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002876/2.933, allocations: 1.552 MB / 1.56 GB, free: 28.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007068/2.934, allocations: 1.129 MB / 1.562 GB, free: 27.54 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001291/2.935, allocations: 273.4 kB / 1.562 GB, free: 27.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/2.935, allocations: 63.42 kB / 1.562 GB, free: 27.24 MB / 0.6042 GB Notification: Performance of SimCode: time 4.21e-07/2.935, allocations: 3.938 kB / 1.562 GB, free: 27.23 MB / 0.6042 GB Notification: Performance of Templates: time 0.03736/2.972, allocations: 24.03 MB / 1.585 GB, free: 3.602 MB / 0.6042 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1)