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.8422/0.8422, allocations: 133.7 MB / 148.6 MB, free: 13.7 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00173/0.00173, allocations: 172 kB / 180.9 MB, free: 15.11 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.397/1.397, allocations: 170.7 MB / 383.7 MB, free: 16.34 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001391/0.001391, allocations: 113.2 kB / 454.6 MB, free: 9.898 MB / 346.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.136/0.1364, allocations: 73.41 MB / 0.6812 GB, free: 5.559 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8888/1.025, allocations: 376.9 MB / 1.049 GB, free: 109.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003195/1.026, allocations: 104 kB / 1.049 GB, free: 109.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.521/2.546, allocations: 484 MB / 1.522 GB, free: 94.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.533e-06/2.546, allocations: 1.594 kB / 1.522 GB, free: 94.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001945/2.547, allocations: 33.34 kB / 1.522 GB, free: 94.13 MB / 0.6198 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.004648/2.551, allocations: 1.667 MB / 1.524 GB, free: 93.24 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/2.551, allocations: 7.531 kB / 1.524 GB, free: 93.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008863/2.552, allocations: 160.8 kB / 1.524 GB, free: 93.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03709/2.589, allocations: 12.44 MB / 1.536 GB, free: 91.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/2.589, allocations: 71.72 kB / 1.536 GB, free: 91.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003777/2.59, allocations: 100.2 kB / 1.536 GB, free: 91.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00353/2.593, allocations: 1.014 MB / 1.537 GB, free: 90.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.439e-05/2.593, allocations: 3.656 kB / 1.537 GB, free: 90.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001676/2.594, allocations: 42.31 kB / 1.537 GB, free: 90.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.605e-05/2.594, allocations: 30.53 kB / 1.537 GB, free: 90.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002667/2.596, allocations: 0.7005 MB / 1.538 GB, free: 90.55 MB / 0.6198 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.009537/2.606, allocations: 5.347 MB / 1.543 GB, free: 86.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001919/2.608, allocations: 0.5793 MB / 1.544 GB, free: 86.17 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005/2.608, allocations: 275.9 kB / 1.544 GB, free: 85.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/2.609, allocations: 44.3 kB / 1.544 GB, free: 85.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=55): time 3.597e-06/2.609, allocations: 0 / 1.544 GB, free: 85.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=57): time 0.007488/2.616, allocations: 2.099 MB / 1.546 GB, free: 84.56 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/2.616, allocations: 106.4 kB / 1.546 GB, free: 84.44 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002036/2.618, allocations: 0.8163 MB / 1.547 GB, free: 84.08 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001132/2.618, allocations: 37.3 kB / 1.547 GB, free: 84.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000555/2.619, allocations: 0.5479 MB / 1.547 GB, free: 83.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002302/2.619, allocations: 201.1 kB / 1.548 GB, free: 83.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.583e-05/2.619, allocations: 18.91 kB / 1.548 GB, free: 83.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.342e-05/2.619, allocations: 337.3 kB / 1.548 GB, free: 83.13 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006705/2.62, allocations: 221.6 kB / 1.548 GB, free: 83.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008788/2.621, allocations: 471.5 kB / 1.549 GB, free: 82.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008549/2.622, allocations: 298.4 kB / 1.549 GB, free: 82.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/2.622, allocations: 0 / 1.549 GB, free: 82.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002386/2.624, allocations: 0.8692 MB / 1.55 GB, free: 82.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000492/2.625, allocations: 2.016 MB / 1.552 GB, free: 80.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.031e-05/2.625, allocations: 3.969 kB / 1.552 GB, free: 80.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004738/2.625, allocations: 110 kB / 1.552 GB, free: 79.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003573/2.629, allocations: 301.8 kB / 1.552 GB, free: 79.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006015/2.635, allocations: 6.231 MB / 1.558 GB, free: 73.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001899/2.637, allocations: 74.44 kB / 1.558 GB, free: 73.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001924/2.637, allocations: 34.5 kB / 1.558 GB, free: 73.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/2.637, allocations: 3.406 kB / 1.558 GB, free: 73.84 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002152/2.639, allocations: 0.7268 MB / 1.559 GB, free: 73.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-05/2.639, allocations: 7.859 kB / 1.559 GB, free: 73.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003506/2.64, allocations: 93.88 kB / 1.559 GB, free: 73.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/2.641, allocations: 180.8 kB / 1.559 GB, free: 73.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004112/2.645, allocations: 4.999 MB / 1.564 GB, free: 68.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/2.647, allocations: 74.09 kB / 1.564 GB, free: 68.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001426/2.647, allocations: 31.19 kB / 1.564 GB, free: 68.52 MB / 0.6198 GB Warning: Assuming fixed start value for the following 1 variables: hex.vol1.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = 0.02513274122871835 * hex.vol1.rho_start unit = "kg" fixed = true protected = true ) "Mass of fluid" type: Real 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001273/2.648, allocations: 396 kB / 1.565 GB, free: 68.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000461/2.649, allocations: 104.1 kB / 1.565 GB, free: 68.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00253/2.651, allocations: 0.7638 MB / 1.566 GB, free: 67.81 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/2.651, allocations: 6.906 kB / 1.566 GB, free: 67.81 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/2.651, allocations: 3.953 kB / 1.566 GB, free: 67.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001759/2.653, allocations: 0.7085 MB / 1.566 GB, free: 67.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005439/2.659, allocations: 1.799 MB / 1.568 GB, free: 66.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/2.659, allocations: 0 / 1.568 GB, free: 66.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002882/2.661, allocations: 264.7 kB / 1.568 GB, free: 66.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006051/2.662, allocations: 152.8 kB / 1.568 GB, free: 66.36 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.533e-05/2.662, allocations: 29.53 kB / 1.568 GB, free: 66.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009006/2.671, allocations: 8.296 MB / 1.577 GB, free: 58.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/2.671, allocations: 3.938 kB / 1.577 GB, free: 58.22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003236/2.675, allocations: 1.178 MB / 1.578 GB, free: 57.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/2.676, allocations: 256.5 kB / 1.578 GB, free: 57.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004378/2.676, allocations: 11.88 kB / 1.578 GB, free: 57.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001406/2.678, allocations: 60.64 kB / 1.578 GB, free: 57.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/2.678, allocations: 45.77 kB / 1.578 GB, free: 57.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.214e-05/2.678, allocations: 32.2 kB / 1.578 GB, free: 57.31 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001805/2.68, allocations: 0.6292 MB / 1.579 GB, free: 57.03 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.62e-07/2.68, allocations: 0 / 1.579 GB, free: 57.03 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.005672/2.685, allocations: 0.6568 MB / 1.579 GB, free: 56.91 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (hex.vol1.dynBal.U,hex.vol1.dynBal.m,hex.vol2.dynBal.U,hex.capFil1.T,hex.capFil2.T) * 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 (48): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 3,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002515/2.688, allocations: 0.639 MB / 1.58 GB, free: 56.72 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.007143/2.695, allocations: 1.87 MB / 1.582 GB, free: 55.63 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.527e-05/2.695, allocations: 3.469 kB / 1.582 GB, free: 55.63 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.004729/2.7, allocations: 0.8759 MB / 1.583 GB, free: 55.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004948/2.705, allocations: 0.5492 MB / 1.583 GB, free: 55.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006664/2.712, allocations: 2.623 MB / 1.586 GB, free: 53.49 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001108/2.713, allocations: 1.124 MB / 1.587 GB, free: 52.75 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002147/2.715, allocations: 234.8 kB / 1.587 GB, free: 52.71 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000344/2.715, allocations: 86.48 kB / 1.587 GB, free: 52.7 MB / 0.6198 GB Notification: Performance of SimCode: time 1.082e-06/2.715, allocations: 0 / 1.587 GB, free: 52.7 MB / 0.6198 GB Notification: Performance of Templates: time 0.06903/2.784, allocations: 25.79 MB / 1.612 GB, free: 41.69 MB / 0.6198 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)