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/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.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") [/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.1531/0.1538, allocations: 82.22 MB / 0.5941 GB, free: 5.543 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02916/0.183, allocations: 27.41 MB / 0.6209 GB, free: 10.02 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01051/0.1936, allocations: 6.712 MB / 0.6274 GB, free: 3.297 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0014/0.1951, allocations: 27.81 kB / 0.6275 GB, free: 3.27 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001464/0.1965, allocations: 361.9 kB / 0.6278 GB, free: 2.914 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002747/0.1993, allocations: 0.8553 MB / 0.6286 GB, free: 2.055 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002898/0.2022, allocations: 0.9012 MB / 0.6295 GB, free: 1.164 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006659/0.2089, allocations: 5.991 MB / 0.6354 GB, free: 11.16 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002354/0.2113, allocations: 1.741 MB / 0.6371 GB, free: 9.379 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002853/0.2141, allocations: 1.33 MB / 0.6384 GB, free: 8.043 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00185/0.216, allocations: 1.31 MB / 0.6397 GB, free: 6.727 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001688/0.2162, allocations: 76 kB / 0.6397 GB, free: 6.652 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002361/0.2185, allocations: 1.065 MB / 0.6408 GB, free: 5.586 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003841/0.2189, allocations: 382.4 kB / 0.6411 GB, free: 5.211 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001218/0.2202, allocations: 0.9733 MB / 0.6421 GB, free: 4.227 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003266/0.2234, allocations: 3.368 MB / 0.6454 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2235, allocations: 0 / 0.6454 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2235, allocations: 0 / 0.6454 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.465e-05/0.2235, allocations: 0 / 0.6454 GB, free: 0.8477 MB / 494.1 MB 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.003995/0.2275, allocations: 2.106 MB / 0.6474 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.2276, allocations: 12.03 kB / 0.6474 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007615/0.2283, allocations: 234.5 kB / 0.6477 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00247/0.2308, allocations: 1.642 MB / 0.6493 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.159e-05/0.2309, allocations: 118.8 kB / 0.6494 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002409/0.2312, allocations: 152 kB / 0.6495 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003311/0.2345, allocations: 2.104 MB / 0.6516 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.764e-05/0.2345, allocations: 7.906 kB / 0.6516 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001487/0.2347, allocations: 64 kB / 0.6517 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.416e-05/0.2348, allocations: 55.86 kB / 0.6517 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002984/0.2377, allocations: 1.852 MB / 0.6535 GB, free: 8.285 MB / 0.4981 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.01101/0.2488, allocations: 8.677 MB / 0.662 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002031/0.2508, allocations: 1.424 MB / 0.6634 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008688/0.2517, allocations: 0.6797 MB / 0.664 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005533/0.2572, allocations: 3.402 MB / 0.6674 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/0.2573, allocations: 43.56 kB / 0.6674 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=97): time 2.926e-06/0.2573, allocations: 0 / 0.6674 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of matching and sorting (n=103): time 0.007028/0.2644, allocations: 3.817 MB / 0.6711 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.968e-05/0.2645, allocations: 123.8 kB / 0.6713 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002077/0.2666, allocations: 1.594 MB / 0.6728 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.2667, allocations: 49.7 kB / 0.6729 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005854/0.2673, allocations: 0.7459 MB / 0.6736 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003137/0.2676, allocations: 366.8 kB / 0.6739 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002109/0.2678, allocations: 141.6 kB / 0.6741 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.2679, allocations: 301.1 kB / 0.6744 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/0.2691, allocations: 0.7612 MB / 0.6751 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00142/0.2705, allocations: 1.175 MB / 0.6762 GB, free: 108 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002371/0.2729, allocations: 1.864 MB / 0.6781 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.2729, allocations: 4 kB / 0.6781 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.003433/0.2763, allocations: 2.167 MB / 0.6802 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003486/0.2767, allocations: 410.5 kB / 0.6806 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/0.2767, allocations: 8 kB / 0.6806 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.719e-05/0.2768, allocations: 20 kB / 0.6806 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/0.2782, allocations: 383.5 kB / 0.681 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-05/0.2783, allocations: 27.86 kB / 0.681 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.2795, allocations: 131.7 kB / 0.6811 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.2797, allocations: 67.98 kB / 0.6812 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.867e-06/0.2797, allocations: 6.188 kB / 0.6812 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002745/0.2824, allocations: 1.975 MB / 0.6831 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.2825, allocations: 8 kB / 0.6831 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.2825, allocations: 23.98 kB / 0.6832 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/0.2838, allocations: 379.4 kB / 0.6835 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.461e-05/0.2838, allocations: 23.94 kB / 0.6835 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/0.2851, allocations: 123.7 kB / 0.6837 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.2853, allocations: 63.98 kB / 0.6837 GB, free: 8.156 MB / 0.5294 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00129/0.2865, allocations: 0.7619 MB / 0.6845 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003382/0.2869, allocations: 154 kB / 0.6846 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002721/0.2896, allocations: 1.642 MB / 0.6862 GB, free: 5.578 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/0.2897, allocations: 12 kB / 0.6862 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.2897, allocations: 3.938 kB / 0.6862 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002075/0.2917, allocations: 1.638 MB / 0.6878 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3495/0.6413, allocations: 4.924 MB / 0.6926 GB, free: 93.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.6413, allocations: 4.969 kB / 0.6926 GB, free: 93.53 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009074/0.6423, allocations: 214.3 kB / 0.6928 GB, free: 93.53 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003922/0.6427, allocations: 148.9 kB / 0.693 GB, free: 93.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.782e-05/0.6428, allocations: 39.03 kB / 0.693 GB, free: 93.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008655/0.6436, allocations: 1.787 MB / 0.6948 GB, free: 91.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.6436, allocations: 9.875 kB / 0.6948 GB, free: 91.95 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003232/0.6469, allocations: 2.461 MB / 0.6972 GB, free: 91.58 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008276/0.6477, allocations: 437 kB / 0.6976 GB, free: 91.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002012/0.6479, allocations: 27.81 kB / 0.6976 GB, free: 91.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008579/0.6488, allocations: 86.69 kB / 0.6977 GB, free: 91.49 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.6489, allocations: 83.14 kB / 0.6978 GB, free: 91.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-05/0.649, allocations: 41.91 kB / 0.6978 GB, free: 91.48 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001467/0.6505, allocations: 1.168 MB / 0.699 GB, free: 91.37 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.7e-07/0.6505, allocations: 0 / 0.699 GB, free: 91.37 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002555/0.6531, allocations: 0.8155 MB / 0.6998 GB, free: 91.37 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (103): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008914/0.654, allocations: 329.8 kB / 0.7001 GB, free: 91.27 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004061/0.658, allocations: 2.639 MB / 0.7027 GB, free: 91.17 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.658, allocations: 2.812 kB / 0.7027 GB, free: 91.17 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001268/0.6593, allocations: 0.6744 MB / 0.7033 GB, free: 91.14 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005063/0.6644, allocations: 0.9265 MB / 0.7042 GB, free: 91.12 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006271/0.6707, allocations: 4.764 MB / 0.7089 GB, free: 88.82 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001369/0.6721, allocations: 1.684 MB / 0.7105 GB, free: 87.91 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002988/0.6751, allocations: 0.9431 MB / 0.7114 GB, free: 87.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005216/0.6756, allocations: 144.2 kB / 0.7116 GB, free: 87.79 MB / 0.5294 GB Notification: Performance of SimCode: time 6.91e-07/0.6756, allocations: 0 / 0.7116 GB, free: 87.79 MB / 0.5294 GB Notification: Performance of Templates: time 0.04857/0.7242, allocations: 36.12 MB / 0.7469 GB, free: 59.37 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: