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.6763/0.6763, allocations: 132.3 MB / 144.9 MB, free: 10.69 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.001022/0.001022, allocations: 174.4 kB / 176.9 MB, free: 2.18 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.319/1.319, allocations: 170.5 MB / 379.3 MB, free: 11.93 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.001582/0.001582, allocations: 113.5 kB / 450 MB, free: 5.832 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.4748/0.4748, allocations: 73.39 MB / 0.6736 GB, free: 47.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7501/1.225, allocations: 364.6 MB / 1.03 GB, free: 35.49 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/1.225, allocations: 91.08 kB / 1.03 GB, free: 35.44 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.902/2.127, allocations: 273.7 MB / 1.297 GB, free: 70.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.713e-06/2.127, allocations: 0 / 1.297 GB, free: 70.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.000169/2.128, allocations: 40 kB / 1.297 GB, free: 70.07 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.004421/2.132, allocations: 1.902 MB / 1.299 GB, free: 68.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/2.132, allocations: 8.031 kB / 1.299 GB, free: 68.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009315/2.133, allocations: 229.5 kB / 1.299 GB, free: 67.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003994/2.137, allocations: 2.187 MB / 1.301 GB, free: 65.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.247e-05/2.137, allocations: 114.8 kB / 1.301 GB, free: 65.53 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002189/2.137, allocations: 159.9 kB / 1.302 GB, free: 65.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002955/2.14, allocations: 1.951 MB / 1.303 GB, free: 63.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.453e-05/2.14, allocations: 4 kB / 1.304 GB, free: 63.31 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/2.14, allocations: 60 kB / 1.304 GB, free: 63.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.387e-05/2.141, allocations: 47.92 kB / 1.304 GB, free: 63.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002558/2.143, allocations: 1.716 MB / 1.305 GB, free: 61.48 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.01101/2.154, allocations: 8.569 MB / 1.314 GB, free: 52.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/2.156, allocations: 1.306 MB / 1.315 GB, free: 51.25 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006708/2.156, allocations: 0.6323 MB / 1.316 GB, free: 50.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005287/2.162, allocations: 3.432 MB / 1.319 GB, free: 46.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/2.162, allocations: 43.34 kB / 1.319 GB, free: 46.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=93): time 2.825e-06/2.162, allocations: 4 kB / 1.319 GB, free: 46.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=99): time 0.00496/2.167, allocations: 3.011 MB / 1.322 GB, free: 43.83 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/2.167, allocations: 119.8 kB / 1.322 GB, free: 43.69 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001873/2.169, allocations: 1.5 MB / 1.323 GB, free: 42.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.408e-05/2.169, allocations: 57.7 kB / 1.324 GB, free: 42.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004547/2.169, allocations: 0.7574 MB / 1.324 GB, free: 41.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/2.169, allocations: 354.9 kB / 1.325 GB, free: 41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.127e-05/2.169, allocations: 36 kB / 1.325 GB, free: 40.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001172/2.17, allocations: 373.8 kB / 1.325 GB, free: 40.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008793/2.17, allocations: 0.7262 MB / 1.326 GB, free: 39.87 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/2.172, allocations: 1.12 MB / 1.327 GB, free: 38.59 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/2.173, allocations: 0.9416 MB / 1.328 GB, free: 37.65 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/2.173, allocations: 4 kB / 1.328 GB, free: 37.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002757/2.175, allocations: 2.088 MB / 1.33 GB, free: 35.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008841/2.176, allocations: 4.136 MB / 1.334 GB, free: 31.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/2.176, allocations: 8 kB / 1.334 GB, free: 31.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.008e-05/2.176, allocations: 24 kB / 1.334 GB, free: 31.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/2.178, allocations: 387.4 kB / 1.334 GB, free: 30.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-05/2.178, allocations: 27.94 kB / 1.334 GB, free: 30.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/2.179, allocations: 155.6 kB / 1.334 GB, free: 30.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/2.179, allocations: 67.98 kB / 1.334 GB, free: 30.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/2.179, allocations: 4 kB / 1.334 GB, free: 30.47 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002305/2.182, allocations: 1.936 MB / 1.336 GB, free: 28.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/2.182, allocations: 8 kB / 1.336 GB, free: 28.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/2.182, allocations: 20 kB / 1.336 GB, free: 28.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/2.183, allocations: 375.5 kB / 1.337 GB, free: 28.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.999e-05/2.183, allocations: 27.92 kB / 1.337 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/2.185, allocations: 123.9 kB / 1.337 GB, free: 27.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/2.185, allocations: 71.92 kB / 1.337 GB, free: 27.92 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 () * 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.0003054/2.185, allocations: 188.5 kB / 1.337 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003005/2.185, allocations: 162 kB / 1.337 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002137/2.187, allocations: 1.438 MB / 1.339 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/2.187, allocations: 12 kB / 1.339 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/2.187, allocations: 0 / 1.339 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001284/2.189, allocations: 1.448 MB / 1.34 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005723/2.194, allocations: 4.615 MB / 1.345 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.268e-06/2.195, allocations: 4 kB / 1.345 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007913/2.195, allocations: 224.2 kB / 1.345 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.358e-05/2.195, allocations: 12 kB / 1.345 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.819e-05/2.195, allocations: 27.98 kB / 1.345 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-05/2.195, allocations: 15.89 kB / 1.345 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/2.195, allocations: 4 kB / 1.345 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002598/2.198, allocations: 2.399 MB / 1.347 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/2.199, allocations: 430.8 kB / 1.348 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001955/2.199, allocations: 24 kB / 1.348 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008539/2.2, allocations: 79.72 kB / 1.348 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/2.2, allocations: 76.64 kB / 1.348 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.131e-05/2.2, allocations: 39.98 kB / 1.348 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001613/2.202, allocations: 1.217 MB / 1.349 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.51e-07/2.202, allocations: 0 / 1.349 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003098/2.205, allocations: 0.8397 MB / 1.35 GB, free: 13.96 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (indTanHex.port_a.h_outflow,indTanHex.port_b.h_outflow,indTanHex.vol[2].ports[2].h_outflow,indTanHex.cap[1].T,indTanHex.cap[2].T,indTanHex.cap[3].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.001017/2.206, allocations: 491.4 kB / 1.35 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003388/2.209, allocations: 2.581 MB / 1.353 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/2.21, allocations: 0 / 1.353 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000655/2.21, allocations: 0.5937 MB / 1.353 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004198/2.214, allocations: 0.8801 MB / 1.354 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005936/2.22, allocations: 3.311 MB / 1.358 GB, free: 6.047 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001562/2.222, allocations: 1.72 MB / 1.359 GB, free: 4.293 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.00437/2.226, allocations: 1.3 MB / 1.36 GB, free: 2.996 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000624/2.227, allocations: 123.3 kB / 1.361 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of SimCode: time 2.705e-06/2.227, allocations: 0 / 1.361 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of Templates: time 0.4482/2.675, allocations: 38.12 MB / 1.398 GB, free: 115.3 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)