Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Storage.Examples.Stratified.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.Examples.Stratified,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Storage.Examples.Stratified") translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Storage.Examples.Stratified") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8794/0.8794, allocations: 133.7 MB / 148.6 MB, free: 13.67 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.001086/0.001086, allocations: 180.1 kB / 180.9 MB, free: 15.07 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.591/1.591, allocations: 170.7 MB / 383.7 MB, free: 16.14 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.001538/0.001538, allocations: 110.5 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.176/0.1765, allocations: 73.41 MB / 0.6812 GB, free: 5.586 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.177/1.354, allocations: 380.5 MB / 1.053 GB, free: 106.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003284/1.354, allocations: 92.02 kB / 1.053 GB, free: 106.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.804/5.158, allocations: 1.027 GB / 2.08 GB, free: 37.73 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.064e-06/5.158, allocations: 3.094 kB / 2.08 GB, free: 37.73 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.001761/5.16, allocations: 248 kB / 2.08 GB, free: 37.7 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2102 * Number of variables: 2102 Notification: Performance of Generate backend data structure: time 0.03554/5.196, allocations: 9.702 MB / 2.09 GB, free: 33.99 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/5.196, allocations: 10.84 kB / 2.09 GB, free: 33.99 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007732/5.204, allocations: 1.161 MB / 2.091 GB, free: 33.45 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02885/5.232, allocations: 11.66 MB / 2.102 GB, free: 32.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008796/5.233, allocations: 0.606 MB / 2.103 GB, free: 32.18 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004321/5.238, allocations: 0.7991 MB / 2.104 GB, free: 32.17 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03785/5.276, allocations: 11.69 MB / 2.115 GB, free: 28.52 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005162/5.276, allocations: 32.72 kB / 2.115 GB, free: 28.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003093/5.279, allocations: 353.5 kB / 2.116 GB, free: 28.25 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002786/5.28, allocations: 248.8 kB / 2.116 GB, free: 28.23 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02724/5.307, allocations: 9.655 MB / 2.125 GB, free: 24.76 MB / 0.6511 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.0878/5.395, allocations: 50.28 MB / 2.174 GB, free: 180 kB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4674/5.862, allocations: 6.688 MB / 2.181 GB, free: 56.69 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001249/5.863, allocations: 0.505 MB / 2.181 GB, free: 56.31 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01091/5.874, allocations: 4.016 MB / 2.185 GB, free: 56.11 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006298/5.881, allocations: 0.5577 MB / 2.186 GB, free: 56.11 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=501): time 3.758e-05/5.881, allocations: 1.031 kB / 2.186 GB, free: 56.11 MB / 0.6667 GB Notification: Performance of matching and sorting (n=541): time 0.07252/5.953, allocations: 24.61 MB / 2.21 GB, free: 53.8 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001867/5.954, allocations: 239 kB / 2.21 GB, free: 53.57 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01895/5.973, allocations: 6.959 MB / 2.217 GB, free: 53.19 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.00173/5.974, allocations: 121.9 kB / 2.217 GB, free: 53.16 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.007137/5.982, allocations: 4.146 MB / 2.221 GB, free: 52.06 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.00432/5.986, allocations: 1.872 MB / 2.223 GB, free: 51.12 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001926/5.988, allocations: 127.9 kB / 2.223 GB, free: 51.12 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000974/5.989, allocations: 0.5675 MB / 2.224 GB, free: 50.8 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007175/5.996, allocations: 3.47 MB / 2.227 GB, free: 50.79 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008615/6.005, allocations: 5.37 MB / 2.232 GB, free: 48.6 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009348/6.014, allocations: 4.586 MB / 2.237 GB, free: 48.45 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001407/6.014, allocations: 16.47 kB / 2.237 GB, free: 48.45 MB / 0.6667 GB Notification: Performance of matching and sorting (n=825) (initialization): time 0.02918/6.044, allocations: 9.906 MB / 2.246 GB, free: 47.81 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.01167/6.055, allocations: 28.65 MB / 2.274 GB, free: 34.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004316/6.056, allocations: 58.19 kB / 2.274 GB, free: 34.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004047/6.056, allocations: 99.31 kB / 2.274 GB, free: 34.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01005/6.066, allocations: 1.625 MB / 2.276 GB, free: 34.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003625/6.067, allocations: 128.9 kB / 2.276 GB, free: 34.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01238/6.079, allocations: 0.6341 MB / 2.277 GB, free: 34.14 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002482/6.082, allocations: 302.8 kB / 2.277 GB, free: 34.14 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/6.082, allocations: 3.812 kB / 2.277 GB, free: 34.14 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02419/6.106, allocations: 9.182 MB / 2.286 GB, free: 33.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003606/6.106, allocations: 56.08 kB / 2.286 GB, free: 33.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002235/6.107, allocations: 101.3 kB / 2.286 GB, free: 33.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007869/6.114, allocations: 1.596 MB / 2.288 GB, free: 33.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000271/6.115, allocations: 125.1 kB / 2.288 GB, free: 33.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01029/6.125, allocations: 0.5816 MB / 2.288 GB, free: 33.87 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00219/6.127, allocations: 301.3 kB / 2.289 GB, free: 33.87 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 259 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,$PRE.TWat.nextEvent,TWat.nextEvent,P.a,P.b,P.last,$PRE.P.nextEvent,P.nextEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (817): * Single equations (assignments): 815 * Array equations: 0 * Algorithm blocks: 2 * 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.01172/6.139, allocations: 3.561 MB / 2.292 GB, free: 33.62 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005493/6.145, allocations: 0.7325 MB / 2.293 GB, free: 33.24 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02564/6.17, allocations: 9.65 MB / 2.302 GB, free: 32.66 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.56e-05/6.17, allocations: 67.17 kB / 2.302 GB, free: 32.66 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.156e-05/6.17, allocations: 0 / 2.302 GB, free: 32.66 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01696/6.187, allocations: 7.996 MB / 2.31 GB, free: 32.18 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05228/6.24, allocations: 19.5 MB / 2.329 GB, free: 30.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.385e-05/6.24, allocations: 13.16 kB / 2.329 GB, free: 30.46 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005857/6.246, allocations: 1.056 MB / 2.33 GB, free: 30.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002012/6.248, allocations: 0.8911 MB / 2.331 GB, free: 30.25 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001343/6.249, allocations: 179.3 kB / 2.331 GB, free: 30.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008652/6.258, allocations: 11.87 MB / 2.343 GB, free: 19.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-05/6.258, allocations: 12.5 kB / 2.343 GB, free: 19.84 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0315/6.289, allocations: 15.4 MB / 2.358 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008793/6.298, allocations: 1.87 MB / 2.36 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004301/6.303, allocations: 145.3 kB / 2.36 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009599/6.312, allocations: 0.6529 MB / 2.361 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001679/6.314, allocations: 362.5 kB / 2.361 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00152/6.315, allocations: 209 kB / 2.361 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.01326/6.329, allocations: 5.459 MB / 2.366 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.81e-07/6.329, allocations: 0 / 2.366 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.02425/6.353, allocations: 4.063 MB / 2.37 GB, free: 8.855 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 23 (tanSim.vol[1].dynBal.U,tanSim.vol[2].dynBal.U,tanSim.vol[3].dynBal.U,tanSim.vol[4].dynBal.U,tanSim.vol[5].dynBal.U,tanSim.vol[6].dynBal.U,tanSim.vol[7].dynBal.U,tanSim.vol[8].dynBal.U,tanSim.vol[9].dynBal.U,tanSim.vol[10].dynBal.U,tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tanEnh.vol[8].dynBal.U,tanEnh.vol[9].dynBal.U,tanEnh.vol[10].dynBal.U,HOut_flow.h_out,HOut_flow1.h_out,dH.y) * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,TWat.nextEvent,P.a,P.b,P.last,P.nextEvent) * Number of discrete states: 10 (P.last,P.nextEvent,P.b,P.a,$whenCondition2,TWat.last,TWat.nextEvent,TWat.b,TWat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (517): * Single equations (assignments): 495 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 20 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003644/6.357, allocations: 1.003 MB / 2.371 GB, free: 8.543 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0252/6.382, allocations: 13.13 MB / 2.384 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.848e-05/6.382, allocations: 4.531 kB / 2.384 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.008772/6.391, allocations: 4.128 MB / 2.388 GB, free: 2.496 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02478/6.416, allocations: 4.524 MB / 2.393 GB, free: 1.75 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05505/6.471, allocations: 24.33 MB / 2.416 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01452/6.485, allocations: 6.366 MB / 2.423 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.01923/6.505, allocations: 4.429 MB / 2.427 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004453/6.509, allocations: 0.6626 MB / 2.428 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of SimCode: time 1.332e-06/6.509, allocations: 4 kB / 2.428 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of Templates: time 0.6963/7.205, allocations: 168.8 MB / 2.593 GB, free: 72.25 MB / 0.7136 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Storage.Examples.Stratified.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Storage.Examples.Stratified.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Storage.Examples.Stratified.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Storage.Examples.Stratified.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Storage.Examples.Stratified.sim & ./Buildings_3.0.0_Buildings.Fluid.Storage.Examples.Stratified -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Storage.Examples.Stratified.pipe 2>&1)