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.7221/0.7221, allocations: 132.3 MB / 144.9 MB, free: 10.54 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.00108/0.00108, allocations: 175.6 kB / 176.9 MB, free: 2.34 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.241/1.241, allocations: 170.5 MB / 379.3 MB, free: 11.86 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.00151/0.00151, allocations: 113.5 kB / 450 MB, free: 5.84 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.3984/0.3984, allocations: 73.4 MB / 0.6736 GB, free: 47.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7072/1.106, allocations: 376.8 MB / 1.042 GB, free: 23.64 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/1.106, allocations: 102.6 kB / 1.042 GB, free: 23.59 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.567/2.673, allocations: 482.5 MB / 1.513 GB, free: 85.4 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.284e-06/2.673, allocations: 0 / 1.513 GB, free: 85.4 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001148/2.673, allocations: 24.88 kB / 1.513 GB, free: 85.39 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.002991/2.676, allocations: 1.446 MB / 1.514 GB, free: 84.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/2.676, allocations: 14.52 kB / 1.514 GB, free: 84.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004697/2.677, allocations: 163.8 kB / 1.514 GB, free: 84.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02275/2.699, allocations: 12.36 MB / 1.527 GB, free: 76.83 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.241e-05/2.699, allocations: 70 kB / 1.527 GB, free: 76.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/2.7, allocations: 92 kB / 1.527 GB, free: 76.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/2.701, allocations: 0.9979 MB / 1.528 GB, free: 75.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/2.701, allocations: 3.906 kB / 1.528 GB, free: 75.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.657e-05/2.701, allocations: 43.05 kB / 1.528 GB, free: 75.56 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/2.701, allocations: 28 kB / 1.528 GB, free: 75.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/2.703, allocations: 0.6714 MB / 1.528 GB, free: 74.86 MB / 0.6198 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.004612/2.707, allocations: 5.343 MB / 1.534 GB, free: 69.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/2.708, allocations: 0.5683 MB / 1.534 GB, free: 68.64 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003948/2.709, allocations: 307.1 kB / 1.534 GB, free: 68.33 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003171/2.709, allocations: 274 kB / 1.535 GB, free: 68.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/2.709, allocations: 39.12 kB / 1.535 GB, free: 67.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=55): time 2.786e-06/2.709, allocations: 0 / 1.535 GB, free: 67.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=57): time 0.002986/2.712, allocations: 1.538 MB / 1.536 GB, free: 66.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/2.712, allocations: 115.4 kB / 1.536 GB, free: 66.22 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008677/2.713, allocations: 0.8036 MB / 1.537 GB, free: 65.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.802e-05/2.713, allocations: 37.7 kB / 1.537 GB, free: 65.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002831/2.713, allocations: 0.5486 MB / 1.538 GB, free: 64.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/2.713, allocations: 203.8 kB / 1.538 GB, free: 64.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/2.713, allocations: 16 kB / 1.538 GB, free: 64.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.414e-05/2.713, allocations: 337.9 kB / 1.538 GB, free: 64.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002743/2.714, allocations: 209.5 kB / 1.538 GB, free: 64.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003736/2.714, allocations: 449.8 kB / 1.539 GB, free: 63.51 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003533/2.715, allocations: 289 kB / 1.539 GB, free: 63.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/2.715, allocations: 4 kB / 1.539 GB, free: 63.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001072/2.716, allocations: 0.8488 MB / 1.54 GB, free: 62.37 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003436/2.716, allocations: 2.006 MB / 1.542 GB, free: 60.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/2.716, allocations: 4 kB / 1.542 GB, free: 60.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002455/2.716, allocations: 98.53 kB / 1.542 GB, free: 60.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001819/2.718, allocations: 307.5 kB / 1.542 GB, free: 59.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003113/2.721, allocations: 6.058 MB / 1.548 GB, free: 53.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009576/2.722, allocations: 75.98 kB / 1.548 GB, free: 53.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-05/2.722, allocations: 32 kB / 1.548 GB, free: 53.17 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/2.722, allocations: 5.094 kB / 1.548 GB, free: 53.16 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009644/2.723, allocations: 0.7076 MB / 1.549 GB, free: 52.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/2.723, allocations: 4 kB / 1.549 GB, free: 52.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001586/2.723, allocations: 91.05 kB / 1.549 GB, free: 52.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005686/2.724, allocations: 171.8 kB / 1.549 GB, free: 52.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/2.726, allocations: 4.854 MB / 1.554 GB, free: 46.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009719/2.727, allocations: 67.86 kB / 1.554 GB, free: 46.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.737e-05/2.727, allocations: 31.95 kB / 1.554 GB, free: 46.82 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" 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 79 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003038/2.728, allocations: 160.5 kB / 1.554 GB, free: 46.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/2.728, allocations: 110.6 kB / 1.554 GB, free: 46.55 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/2.729, allocations: 0.7144 MB / 1.555 GB, free: 45.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/2.729, allocations: 4 kB / 1.555 GB, free: 45.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/2.729, allocations: 4 kB / 1.555 GB, free: 45.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007768/2.73, allocations: 0.6573 MB / 1.556 GB, free: 45.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002589/2.732, allocations: 1.74 MB / 1.557 GB, free: 43.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/2.732, allocations: 128 / 1.557 GB, free: 43.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001588/2.734, allocations: 263.6 kB / 1.558 GB, free: 43.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002637/2.734, allocations: 111.3 kB / 1.558 GB, free: 42.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.115e-05/2.734, allocations: 27.94 kB / 1.558 GB, free: 42.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003913/2.738, allocations: 7.465 MB / 1.565 GB, free: 34.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/2.738, allocations: 3.938 kB / 1.565 GB, free: 34.76 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/2.74, allocations: 1.086 MB / 1.566 GB, free: 33.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004812/2.74, allocations: 259.1 kB / 1.566 GB, free: 33.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/2.74, allocations: 16 kB / 1.566 GB, free: 33.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005512/2.741, allocations: 71 kB / 1.567 GB, free: 33.26 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.943e-05/2.741, allocations: 44.44 kB / 1.567 GB, free: 33.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-05/2.741, allocations: 23.98 kB / 1.567 GB, free: 33.19 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007497/2.742, allocations: 0.6277 MB / 1.567 GB, free: 32.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/2.742, allocations: 0 / 1.567 GB, free: 32.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002089/2.744, allocations: 0.6541 MB / 1.568 GB, free: 31.9 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.ports[1].h_outflow,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 (52): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * 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%) 2,(1,100.0%) 3} * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001051/2.745, allocations: 0.6512 MB / 1.569 GB, free: 31.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003217/2.748, allocations: 1.857 MB / 1.57 GB, free: 29.39 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/2.748, allocations: 0 / 1.57 GB, free: 29.39 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002206/2.75, allocations: 0.8369 MB / 1.571 GB, free: 28.51 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002257/2.753, allocations: 0.5485 MB / 1.572 GB, free: 27.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/2.755, allocations: 1.666 MB / 1.573 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004798/2.756, allocations: 1.126 MB / 1.574 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001104/2.757, allocations: 301.7 kB / 1.575 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/2.757, allocations: 63.42 kB / 1.575 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of SimCode: time 7.72e-07/2.757, allocations: 8 kB / 1.575 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of Templates: time 0.4012/3.158, allocations: 28.04 MB / 1.602 GB, free: 92.19 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)