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.7436/0.7436, allocations: 132.4 MB / 139.9 MB, free: 2.852 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009904/0.0009904, allocations: 174.9 kB / 171.8 MB, free: 4.953 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.261/1.261, allocations: 170.6 MB / 374.2 MB, free: 184 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00139/0.00139, allocations: 114.2 kB / 444.8 MB, free: 14.16 MB / 314.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.1383/0.1383, allocations: 73.41 MB / 0.6666 GB, free: 15.66 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.136/1.275, allocations: 379.8 MB / 1.037 GB, free: 76.11 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/1.275, allocations: 93.83 kB / 1.038 GB, free: 76.07 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.589/4.864, allocations: 1.019 GB / 2.056 GB, free: 38.04 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.805e-06/4.864, allocations: 0 / 2.056 GB, free: 38.04 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.001443/4.866, allocations: 249 kB / 2.057 GB, free: 37.99 MB / 0.6355 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.02789/4.893, allocations: 8.112 MB / 2.065 GB, free: 34.2 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/4.894, allocations: 7.812 kB / 2.065 GB, free: 34.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008109/4.902, allocations: 1.155 MB / 2.066 GB, free: 33.65 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02988/4.932, allocations: 11.62 MB / 2.077 GB, free: 26.55 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006239/4.932, allocations: 267.9 kB / 2.077 GB, free: 26.29 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004116/4.936, allocations: 491.8 kB / 2.078 GB, free: 25.8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0234/4.96, allocations: 8.708 MB / 2.086 GB, free: 17.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03399/4.994, allocations: 10.2 MB / 2.096 GB, free: 6.344 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006328/4.995, allocations: 31.7 kB / 2.096 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003699/4.998, allocations: 16 kB / 2.096 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002842/4.999, allocations: 255.8 kB / 2.096 GB, free: 6.047 MB / 0.6355 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.6231/5.622, allocations: 48.72 MB / 2.144 GB, free: 36.09 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01317/5.635, allocations: 6.108 MB / 2.15 GB, free: 35.85 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01147/5.646, allocations: 4.931 MB / 2.155 GB, free: 35.79 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001688/5.648, allocations: 0.503 MB / 2.155 GB, free: 35.41 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009617/5.658, allocations: 3.621 MB / 2.159 GB, free: 35.23 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006175/5.664, allocations: 396.8 kB / 2.159 GB, free: 35.23 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=501): time 3.775e-05/5.664, allocations: 1.594 kB / 2.159 GB, free: 35.23 MB / 0.6511 GB Notification: Performance of matching and sorting (n=521): time 0.0469/5.711, allocations: 16.82 MB / 2.176 GB, free: 33.32 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/5.711, allocations: 244 kB / 2.176 GB, free: 33.09 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01266/5.724, allocations: 5.723 MB / 2.182 GB, free: 32.73 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.001502/5.725, allocations: 28.58 kB / 2.182 GB, free: 32.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.005342/5.731, allocations: 4.103 MB / 2.186 GB, free: 31.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.003529/5.734, allocations: 1.737 MB / 2.187 GB, free: 30.45 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001293/5.736, allocations: 0 / 2.187 GB, free: 30.45 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0006007/5.736, allocations: 0.5591 MB / 2.188 GB, free: 30.13 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005093/5.741, allocations: 3.026 MB / 2.191 GB, free: 30.12 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006582/5.748, allocations: 4.88 MB / 2.195 GB, free: 27.94 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00971/5.758, allocations: 4.557 MB / 2.2 GB, free: 27.85 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001587/5.758, allocations: 15.16 kB / 2.2 GB, free: 27.85 MB / 0.6511 GB Notification: Performance of matching and sorting (n=805) (initialization): time 0.0225/5.78, allocations: 8.993 MB / 2.209 GB, free: 27.31 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.01237/5.793, allocations: 27.52 MB / 2.236 GB, free: 30.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003091/5.793, allocations: 63.3 kB / 2.236 GB, free: 30.69 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000237/5.793, allocations: 102.2 kB / 2.236 GB, free: 30.69 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007967/5.801, allocations: 1.503 MB / 2.237 GB, free: 30.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000274/5.802, allocations: 126.8 kB / 2.237 GB, free: 30.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01215/5.814, allocations: 494.2 kB / 2.238 GB, free: 30.63 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002794/5.817, allocations: 302.6 kB / 2.238 GB, free: 30.63 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/5.817, allocations: 3.906 kB / 2.238 GB, free: 30.63 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02015/5.837, allocations: 8.32 MB / 2.246 GB, free: 30.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002326/5.837, allocations: 58.06 kB / 2.246 GB, free: 30.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001339/5.837, allocations: 99.25 kB / 2.246 GB, free: 30.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006768/5.844, allocations: 1.476 MB / 2.248 GB, free: 30.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001768/5.844, allocations: 129.6 kB / 2.248 GB, free: 30.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008979/5.853, allocations: 444.4 kB / 2.248 GB, free: 30.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001896/5.855, allocations: 295.9 kB / 2.249 GB, free: 30.4 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (797): * Single equations (assignments): 795 * 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.003769/5.859, allocations: 350.6 kB / 2.249 GB, free: 30.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003544/5.863, allocations: 0.6477 MB / 2.25 GB, free: 29.86 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.022/5.885, allocations: 8.956 MB / 2.258 GB, free: 29.34 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.985e-05/5.885, allocations: 61.48 kB / 2.258 GB, free: 29.34 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.425e-05/5.885, allocations: 3.516 kB / 2.258 GB, free: 29.34 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01722/5.902, allocations: 7.521 MB / 2.266 GB, free: 28.91 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04861/5.951, allocations: 18.1 MB / 2.283 GB, free: 27.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-05/5.951, allocations: 11.66 kB / 2.283 GB, free: 27.31 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005452/5.956, allocations: 0.9807 MB / 2.284 GB, free: 27.31 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002172/5.958, allocations: 0.8637 MB / 2.285 GB, free: 27.15 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001854/5.96, allocations: 87.86 kB / 2.285 GB, free: 27.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009077/5.969, allocations: 11.9 MB / 2.297 GB, free: 16.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.47e-05/5.97, allocations: 13.5 kB / 2.297 GB, free: 16.78 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02354/5.993, allocations: 14.35 MB / 2.311 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006889/6, allocations: 1.743 MB / 2.313 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003419/6.003, allocations: 35.8 kB / 2.313 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00809/6.012, allocations: 0.5558 MB / 2.313 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001406/6.013, allocations: 350.8 kB / 2.314 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001218/6.014, allocations: 204.1 kB / 2.314 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.009817/6.024, allocations: 4.38 MB / 2.318 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.944e-06/6.024, allocations: 0 / 2.318 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.02213/6.046, allocations: 3.644 MB / 2.322 GB, free: 10.05 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (497): * Single equations (assignments): 475 * 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.003594/6.05, allocations: 0.9148 MB / 2.323 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.02047/6.07, allocations: 11.84 MB / 2.334 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.02e-05/6.07, allocations: 3.594 kB / 2.334 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.006446/6.077, allocations: 3.738 MB / 2.338 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02073/6.098, allocations: 3.634 MB / 2.341 GB, free: 3.496 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04439/6.142, allocations: 17.35 MB / 2.358 GB, free: 4.68 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01258/6.155, allocations: 6.333 MB / 2.364 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0235/6.178, allocations: 5.862 MB / 2.37 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003686/6.182, allocations: 0.4893 MB / 2.371 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of SimCode: time 6.61e-07/6.182, allocations: 0 / 2.371 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of Templates: time 0.7193/6.901, allocations: 138.3 MB / 2.506 GB, free: 98.38 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)