Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.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.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.784/0.784, allocations: 133.7 MB / 148.6 MB, free: 13.68 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.001246/0.001245, allocations: 164.1 kB / 180.8 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.492/1.492, allocations: 170.7 MB / 383.7 MB, free: 16.12 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.001668/0.001668, allocations: 118.4 kB / 454.6 MB, free: 9.723 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.1515/0.1519, allocations: 73.42 MB / 0.6812 GB, free: 5.555 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.017/1.169, allocations: 364.7 MB / 1.037 GB, free: 121.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/1.169, allocations: 107.4 kB / 1.037 GB, free: 121.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.815/1.984, allocations: 274.5 MB / 1.306 GB, free: 117 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.275e-06/1.984, allocations: 0 / 1.306 GB, free: 117 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001803/1.984, allocations: 47.81 kB / 1.306 GB, free: 117 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: 357 * Number of variables: 357 Notification: Performance of Generate backend data structure: time 0.005679/1.99, allocations: 2.205 MB / 1.308 GB, free: 115.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/1.99, allocations: 6.812 kB / 1.308 GB, free: 115.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009882/1.991, allocations: 234.8 kB / 1.308 GB, free: 115.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004658/1.996, allocations: 2.186 MB / 1.31 GB, free: 114 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/1.996, allocations: 113.7 kB / 1.31 GB, free: 113.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002929/1.996, allocations: 162.8 kB / 1.31 GB, free: 113.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003192/1.999, allocations: 2.002 MB / 1.312 GB, free: 112 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.457e-05/1.999, allocations: 11.84 kB / 1.312 GB, free: 111.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001414/2, allocations: 64 kB / 1.312 GB, free: 111.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.263e-05/2, allocations: 36 kB / 1.312 GB, free: 111.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002628/2.002, allocations: 1.763 MB / 1.314 GB, free: 110.1 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.01128/2.014, allocations: 8.568 MB / 1.322 GB, free: 101.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/2.015, allocations: 1.308 MB / 1.324 GB, free: 99.92 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005455/2.02, allocations: 3.35 MB / 1.327 GB, free: 96.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/2.021, allocations: 47.52 kB / 1.327 GB, free: 96.31 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=93): time 2.645e-06/2.021, allocations: 0 / 1.327 GB, free: 96.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=99): time 0.005538/2.026, allocations: 3.539 MB / 1.331 GB, free: 92.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/2.026, allocations: 111.8 kB / 1.331 GB, free: 92.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001857/2.028, allocations: 1.528 MB / 1.332 GB, free: 91.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.632e-05/2.028, allocations: 53.64 kB / 1.332 GB, free: 90.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004489/2.029, allocations: 0.7629 MB / 1.333 GB, free: 90.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/2.029, allocations: 360.4 kB / 1.333 GB, free: 89.87 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.055e-05/2.029, allocations: 28 kB / 1.333 GB, free: 89.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.597e-05/2.029, allocations: 373.9 kB / 1.334 GB, free: 89.47 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009177/2.03, allocations: 0.7455 MB / 1.334 GB, free: 88.72 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/2.031, allocations: 1.14 MB / 1.335 GB, free: 87.42 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/2.032, allocations: 0.947 MB / 1.336 GB, free: 86.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/2.032, allocations: 8 kB / 1.336 GB, free: 86.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002801/2.035, allocations: 2.123 MB / 1.339 GB, free: 84.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007502/2.036, allocations: 4.14 MB / 1.343 GB, free: 79.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/2.036, allocations: 12 kB / 1.343 GB, free: 79.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.804e-05/2.036, allocations: 24 kB / 1.343 GB, free: 79.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/2.037, allocations: 391.5 kB / 1.343 GB, free: 79.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.393e-05/2.037, allocations: 23.92 kB / 1.343 GB, free: 79.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/2.039, allocations: 151.6 kB / 1.343 GB, free: 79.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/2.039, allocations: 67.94 kB / 1.343 GB, free: 79.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/2.039, allocations: 8 kB / 1.343 GB, free: 79.25 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002391/2.041, allocations: 1.932 MB / 1.345 GB, free: 77.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/2.042, allocations: 8.219 kB / 1.345 GB, free: 77.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/2.042, allocations: 27.98 kB / 1.345 GB, free: 77.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/2.043, allocations: 379.4 kB / 1.345 GB, free: 76.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.785e-05/2.043, allocations: 27.92 kB / 1.346 GB, free: 76.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/2.044, allocations: 119.7 kB / 1.346 GB, free: 76.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/2.044, allocations: 67.98 kB / 1.346 GB, free: 76.7 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (194): * Single equations (assignments): 194 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001131/2.046, allocations: 0.7502 MB / 1.346 GB, free: 75.94 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003/2.046, allocations: 158 kB / 1.347 GB, free: 75.78 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002089/2.048, allocations: 1.523 MB / 1.348 GB, free: 74.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/2.048, allocations: 15.94 kB / 1.348 GB, free: 74.22 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/2.048, allocations: 4 kB / 1.348 GB, free: 74.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001479/2.05, allocations: 1.537 MB / 1.35 GB, free: 72.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006101/2.056, allocations: 4.712 MB / 1.354 GB, free: 67.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/2.056, allocations: 4 kB / 1.354 GB, free: 67.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008055/2.056, allocations: 199.8 kB / 1.354 GB, free: 67.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003222/2.057, allocations: 138.4 kB / 1.354 GB, free: 67.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.891e-05/2.057, allocations: 35.98 kB / 1.355 GB, free: 67.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007834/2.058, allocations: 1.762 MB / 1.356 GB, free: 65.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/2.058, allocations: 11.92 kB / 1.356 GB, free: 65.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002582/2.06, allocations: 2.517 MB / 1.359 GB, free: 62.53 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001071/2.061, allocations: 430.8 kB / 1.359 GB, free: 62.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002945/2.062, allocations: 27.98 kB / 1.359 GB, free: 62.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/2.063, allocations: 79.84 kB / 1.359 GB, free: 61.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/2.063, allocations: 68.86 kB / 1.359 GB, free: 61.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.102e-05/2.063, allocations: 43.98 kB / 1.359 GB, free: 61.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.002046/2.065, allocations: 1.241 MB / 1.361 GB, free: 60.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.61e-07/2.065, allocations: 0 / 1.361 GB, free: 60.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003081/2.068, allocations: 0.8592 MB / 1.361 GB, free: 59.78 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (indTanHex.vol[1].dynBal.U,indTanHex.vol[2].dynBal.U,indTanHex.vol[3].dynBal.U,indTanHex.cap[1].T,indTanHex.cap[2].T,indTanHex.cap[3].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 (99): * Single equations (assignments): 96 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001014/2.069, allocations: 490.1 kB / 1.362 GB, free: 59.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003255/2.072, allocations: 2.567 MB / 1.364 GB, free: 56.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/2.072, allocations: 4 kB / 1.364 GB, free: 56.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007874/2.073, allocations: 0.6203 MB / 1.365 GB, free: 56.15 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003722/2.077, allocations: 0.8791 MB / 1.366 GB, free: 55.28 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005608/2.083, allocations: 4.553 MB / 1.37 GB, free: 50.65 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009369/2.084, allocations: 1.714 MB / 1.372 GB, free: 48.9 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002815/2.086, allocations: 0.9341 MB / 1.373 GB, free: 47.97 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004191/2.087, allocations: 143.4 kB / 1.373 GB, free: 47.83 MB / 0.6198 GB Notification: Performance of SimCode: time 1.433e-06/2.087, allocations: 0 / 1.373 GB, free: 47.83 MB / 0.6198 GB Notification: Performance of Templates: time 0.05377/2.141, allocations: 36.16 MB / 1.408 GB, free: 11.79 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_3.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)