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.1572/0.1579, allocations: 82.23 MB / 0.5934 GB, free: 15.46 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02236/0.1803, allocations: 23.72 MB / 0.6165 GB, free: 7.68 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.009378/0.1897, allocations: 5.902 MB / 0.6223 GB, free: 1.77 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009311/0.1907, allocations: 27.81 kB / 0.6223 GB, free: 1.742 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001084/0.1918, allocations: 382 kB / 0.6227 GB, free: 1.367 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002086/0.1939, allocations: 0.8686 MB / 0.6235 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002312/0.1962, allocations: 0.8465 MB / 0.6244 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003015/0.1992, allocations: 2.64 MB / 0.6269 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001722/0.201, allocations: 1.563 MB / 0.6285 GB, free: 11.43 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001695/0.2027, allocations: 1.164 MB / 0.6296 GB, free: 10.26 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001092/0.2038, allocations: 0.9333 MB / 0.6305 GB, free: 9.32 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.2039, allocations: 80 kB / 0.6306 GB, free: 9.242 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/0.2055, allocations: 0.7607 MB / 0.6313 GB, free: 8.48 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003218/0.2058, allocations: 342.7 kB / 0.6317 GB, free: 8.145 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003713/0.2062, allocations: 420.7 kB / 0.6321 GB, free: 7.727 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002277/0.2085, allocations: 2.696 MB / 0.6347 GB, free: 5.023 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2085, allocations: 0 / 0.6347 GB, free: 5.023 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.567e-06/0.2085, allocations: 3.938 kB / 0.6347 GB, free: 5.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.609e-05/0.2085, allocations: 3.938 kB / 0.6347 GB, free: 5.016 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.003866/0.2124, allocations: 2.105 MB / 0.6368 GB, free: 2.855 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.2125, allocations: 12.03 kB / 0.6368 GB, free: 2.844 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000748/0.2132, allocations: 237.5 kB / 0.637 GB, free: 2.609 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002573/0.2158, allocations: 1.529 MB / 0.6385 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.65e-05/0.2159, allocations: 118.8 kB / 0.6386 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002332/0.2162, allocations: 159.9 kB / 0.6388 GB, free: 0.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3306/0.5468, allocations: 2.071 MB / 0.6408 GB, free: 20.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.768e-05/0.5469, allocations: 9.406 kB / 0.6408 GB, free: 20.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001671/0.5471, allocations: 61.06 kB / 0.6408 GB, free: 20.91 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001002/0.5472, allocations: 45.77 kB / 0.6409 GB, free: 20.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004729/0.552, allocations: 1.852 MB / 0.6427 GB, free: 20.89 MB / 494.1 MB 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.01326/0.5652, allocations: 8.741 MB / 0.6512 GB, free: 17.36 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002347/0.5676, allocations: 1.411 MB / 0.6526 GB, free: 17.33 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006641/0.5743, allocations: 3.444 MB / 0.656 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.5744, allocations: 46.06 kB / 0.656 GB, free: 15.89 MB / 494.1 MB Notification: Performance of pre-optimization done (n=97): time 3.266e-06/0.5744, allocations: 0 / 0.656 GB, free: 15.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=103): time 0.007795/0.5822, allocations: 3.799 MB / 0.6597 GB, free: 15.25 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/0.5823, allocations: 118.2 kB / 0.6598 GB, free: 15.12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002347/0.5846, allocations: 1.641 MB / 0.6614 GB, free: 14.95 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001303/0.5848, allocations: 51.11 kB / 0.6615 GB, free: 14.91 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005275/0.5853, allocations: 0.7466 MB / 0.6622 GB, free: 14.61 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002928/0.5856, allocations: 368.4 kB / 0.6626 GB, free: 14.38 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.811e-05/0.5857, allocations: 28.56 kB / 0.6626 GB, free: 14.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.5858, allocations: 371.4 kB / 0.663 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/0.5869, allocations: 0.7535 MB / 0.6637 GB, free: 14.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/0.5882, allocations: 1.159 MB / 0.6648 GB, free: 13.62 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/0.5894, allocations: 0.9676 MB / 0.6658 GB, free: 13.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-06/0.5895, allocations: 2.938 kB / 0.6658 GB, free: 13.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.003239/0.5927, allocations: 2.158 MB / 0.6679 GB, free: 13.45 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009445/0.5937, allocations: 4.138 MB / 0.6719 GB, free: 25.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/0.5937, allocations: 15.14 kB / 0.6719 GB, free: 25.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.747e-05/0.5937, allocations: 26.7 kB / 0.672 GB, free: 25.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/0.5951, allocations: 384.5 kB / 0.6723 GB, free: 25.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.22e-05/0.5952, allocations: 26.94 kB / 0.6724 GB, free: 25.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.5966, allocations: 137.8 kB / 0.6725 GB, free: 25.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.5967, allocations: 64.77 kB / 0.6725 GB, free: 25.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.5968, allocations: 3.656 kB / 0.6725 GB, free: 25.12 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002721/0.5995, allocations: 1.964 MB / 0.6745 GB, free: 25.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.5995, allocations: 10.91 kB / 0.6745 GB, free: 25.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.5995, allocations: 18.81 kB / 0.6745 GB, free: 25.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/0.6009, allocations: 382.7 kB / 0.6749 GB, free: 25.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.019e-05/0.6009, allocations: 26.89 kB / 0.6749 GB, free: 25.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.6023, allocations: 122.5 kB / 0.675 GB, free: 25.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.6025, allocations: 69.44 kB / 0.6751 GB, free: 25.07 MB / 0.4981 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.001311/0.6038, allocations: 0.7617 MB / 0.6758 GB, free: 24.87 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004526/0.6042, allocations: 154.2 kB / 0.676 GB, free: 24.79 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002688/0.6069, allocations: 1.628 MB / 0.6775 GB, free: 24.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/0.607, allocations: 10.03 kB / 0.6776 GB, free: 24.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.607, allocations: 2.781 kB / 0.6776 GB, free: 24.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001949/0.6089, allocations: 1.635 MB / 0.6792 GB, free: 24.18 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007018/0.616, allocations: 4.946 MB / 0.684 GB, free: 20.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.616, allocations: 7.156 kB / 0.684 GB, free: 20.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008109/0.6168, allocations: 214 kB / 0.6842 GB, free: 20.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003224/0.6172, allocations: 146.4 kB / 0.6843 GB, free: 20.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.872e-05/0.6172, allocations: 39.11 kB / 0.6844 GB, free: 20.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001134/0.6184, allocations: 1.788 MB / 0.6861 GB, free: 18.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/0.6184, allocations: 5.281 kB / 0.6861 GB, free: 18.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00309/0.6215, allocations: 2.759 MB / 0.6888 GB, free: 16.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/0.6225, allocations: 445.8 kB / 0.6892 GB, free: 16.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002171/0.6228, allocations: 32.02 kB / 0.6893 GB, free: 16.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008325/0.6236, allocations: 76.69 kB / 0.6893 GB, free: 16.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.6237, allocations: 79.8 kB / 0.6894 GB, free: 16.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-05/0.6238, allocations: 46.62 kB / 0.6895 GB, free: 16.54 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001408/0.6252, allocations: 1.203 MB / 0.6906 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6252, allocations: 0 / 0.6906 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002366/0.6276, allocations: 0.8329 MB / 0.6915 GB, free: 15.8 MB / 0.4981 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 (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.0006686/0.6283, allocations: 333.2 kB / 0.6918 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003302/0.6316, allocations: 2.629 MB / 0.6943 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/0.6316, allocations: 3.875 kB / 0.6943 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000887/0.6325, allocations: 0.6794 MB / 0.695 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00342/0.6359, allocations: 0.901 MB / 0.6959 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005636/0.6416, allocations: 4.648 MB / 0.7004 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/0.6428, allocations: 1.714 MB / 0.7021 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002566/0.6454, allocations: 0.9282 MB / 0.703 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003688/0.6458, allocations: 147.4 kB / 0.7031 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of SimCode: time 7.31e-07/0.6458, allocations: 0 / 0.7031 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of Templates: time 0.05218/0.6979, allocations: 35.25 MB / 0.7376 GB, free: 2.988 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: