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.6805/0.6805, allocations: 132.3 MB / 144.9 MB, free: 10.55 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.001041/0.001041, allocations: 172.8 kB / 176.9 MB, free: 2.23 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.201/1.201, allocations: 170.5 MB / 379.3 MB, free: 11.89 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.001506/0.001506, allocations: 123.1 kB / 450 MB, free: 5.844 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.4743/0.4744, allocations: 73.39 MB / 0.6736 GB, free: 47.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7752/1.25, allocations: 380.5 MB / 1.045 GB, free: 19.7 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/1.25, allocations: 86.95 kB / 1.045 GB, free: 19.66 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.776/5.026, allocations: 1.025 GB / 2.071 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.274e-06/5.026, allocations: 0 / 2.071 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.001451/5.028, allocations: 247.8 kB / 2.071 GB, free: 15.55 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.03023/5.058, allocations: 8.107 MB / 2.079 GB, free: 7.355 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/5.058, allocations: 8.031 kB / 2.079 GB, free: 7.348 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007666/5.066, allocations: 1.162 MB / 2.08 GB, free: 6.176 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5527/5.618, allocations: 11.62 MB / 2.091 GB, free: 42.68 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007015/5.619, allocations: 0.6046 MB / 2.092 GB, free: 42.66 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003709/5.623, allocations: 0.7955 MB / 2.093 GB, free: 42.65 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03301/5.656, allocations: 11.48 MB / 2.104 GB, free: 41.08 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002486/5.656, allocations: 40.3 kB / 2.104 GB, free: 41.07 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001091/5.657, allocations: 349.7 kB / 2.104 GB, free: 41.07 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003423/5.658, allocations: 252.2 kB / 2.104 GB, free: 41.07 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02465/5.682, allocations: 9.407 MB / 2.114 GB, free: 41.01 MB / 0.6511 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.09045/5.773, allocations: 50.27 MB / 2.163 GB, free: 33.54 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01489/5.788, allocations: 6.46 MB / 2.169 GB, free: 33.27 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01146/5.799, allocations: 5.701 MB / 2.175 GB, free: 33.18 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001335/5.801, allocations: 0.4992 MB / 2.175 GB, free: 32.8 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008491/5.809, allocations: 3.884 MB / 2.179 GB, free: 32.6 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006065/5.815, allocations: 0.572 MB / 2.179 GB, free: 32.29 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=501): time 3.613e-05/5.815, allocations: 0 / 2.179 GB, free: 32.29 MB / 0.6667 GB Notification: Performance of matching and sorting (n=541): time 0.0518/5.867, allocations: 19.57 MB / 2.198 GB, free: 29.87 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000191/5.867, allocations: 243.6 kB / 2.199 GB, free: 29.64 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01713/5.885, allocations: 6.896 MB / 2.205 GB, free: 29.19 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.001631/5.886, allocations: 120.5 kB / 2.206 GB, free: 29.16 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.006318/5.893, allocations: 4.155 MB / 2.21 GB, free: 27.64 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.003622/5.896, allocations: 1.872 MB / 2.211 GB, free: 26.46 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001413/5.898, allocations: 130.6 kB / 2.212 GB, free: 26.46 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0007513/5.899, allocations: 0.5612 MB / 2.212 GB, free: 26.14 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006226/5.905, allocations: 3.328 MB / 2.215 GB, free: 26.13 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008056/5.913, allocations: 5.237 MB / 2.22 GB, free: 23.94 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009782/5.923, allocations: 4.46 MB / 2.225 GB, free: 23.77 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001237/5.923, allocations: 16.56 kB / 2.225 GB, free: 23.77 MB / 0.6667 GB Notification: Performance of matching and sorting (n=825) (initialization): time 0.02382/5.947, allocations: 9.639 MB / 2.234 GB, free: 22.98 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.01414/5.961, allocations: 28.65 MB / 2.262 GB, free: 24.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000259/5.961, allocations: 56.06 kB / 2.262 GB, free: 24.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001829/5.961, allocations: 98 kB / 2.262 GB, free: 24.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008153/5.97, allocations: 1.634 MB / 2.264 GB, free: 24.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002501/5.97, allocations: 131.7 kB / 2.264 GB, free: 24.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01116/5.981, allocations: 0.6832 MB / 2.265 GB, free: 24.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002178/5.983, allocations: 301.5 kB / 2.265 GB, free: 24.67 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/5.983, allocations: 3.656 kB / 2.265 GB, free: 24.67 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02253/6.006, allocations: 9.019 MB / 2.274 GB, free: 21.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003937/6.006, allocations: 56.28 kB / 2.274 GB, free: 21.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001971/6.007, allocations: 98.34 kB / 2.274 GB, free: 21.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007844/6.014, allocations: 1.6 MB / 2.276 GB, free: 21.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002139/6.015, allocations: 128.7 kB / 2.276 GB, free: 21.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01032/6.025, allocations: 0.649 MB / 2.276 GB, free: 21.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002132/6.027, allocations: 298.9 kB / 2.277 GB, free: 21.42 MB / 0.698 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 (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.00386/6.031, allocations: 0.5594 MB / 2.277 GB, free: 20.93 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003619/6.035, allocations: 0.7355 MB / 2.278 GB, free: 20.54 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0216/6.056, allocations: 8.793 MB / 2.286 GB, free: 17.32 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.969e-05/6.056, allocations: 67.61 kB / 2.287 GB, free: 17.32 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.393e-05/6.057, allocations: 0 / 2.287 GB, free: 17.32 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0143/6.071, allocations: 7.13 MB / 2.294 GB, free: 14.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05628/6.127, allocations: 19.06 MB / 2.312 GB, free: 7.301 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-05/6.127, allocations: 10.28 kB / 2.312 GB, free: 7.301 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006133/6.133, allocations: 1.189 MB / 2.313 GB, free: 7.207 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001405/6.134, allocations: 29.28 kB / 2.313 GB, free: 7.207 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001605/6.135, allocations: 173.5 kB / 2.313 GB, free: 7.129 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001003/6.135, allocations: 31.28 kB / 2.314 GB, free: 7.125 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.528e-05/6.135, allocations: 19.38 kB / 2.314 GB, free: 7.117 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0342/6.17, allocations: 14.57 MB / 2.328 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008399/6.178, allocations: 1.87 MB / 2.33 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0039/6.182, allocations: 135.7 kB / 2.33 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009515/6.192, allocations: 0.6461 MB / 2.33 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001496/6.193, allocations: 362 kB / 2.331 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001292/6.194, allocations: 208.4 kB / 2.331 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.01329/6.208, allocations: 5.394 MB / 2.336 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.082e-06/6.208, allocations: 0 / 2.336 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.027/6.235, allocations: 3.992 MB / 2.34 GB, free: 4.637 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 23 (tanSim.port_a.h_outflow,tanSim.port_b.h_outflow,tanSim.vol[2].ports[2].h_outflow,tanSim.vol[3].ports[2].h_outflow,tanSim.vol[4].ports[2].h_outflow,tanSim.vol[5].ports[2].h_outflow,tanSim.vol[6].ports[2].h_outflow,tanSim.vol[7].ports[2].h_outflow,tanSim.vol[8].ports[2].h_outflow,tanSim.vol[9].ports[2].h_outflow,tanEnh.vol[1].ports[3].h_outflow,tanEnh.vol[2].ports[3].h_outflow,tanEnh.vol[3].ports[3].h_outflow,tanEnh.vol[4].ports[3].h_outflow,tanEnh.vol[5].ports[3].h_outflow,tanEnh.vol[6].ports[3].h_outflow,tanEnh.vol[7].ports[3].h_outflow,tanEnh.vol[8].ports[3].h_outflow,tanEnh.vol[9].ports[3].h_outflow,tanEnh.vol[10].ports[3].h_outflow,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 (577): * Single equations (assignments): 555 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 20 * 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.004755/6.24, allocations: 1.004 MB / 2.341 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.5509/6.791, allocations: 13.89 MB / 2.355 GB, free: 97.27 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.396e-05/6.791, allocations: 3.781 kB / 2.355 GB, free: 97.27 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.006395/6.797, allocations: 3.811 MB / 2.358 GB, free: 97.11 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02478/6.822, allocations: 4.521 MB / 2.363 GB, free: 97.05 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03967/6.862, allocations: 18.3 MB / 2.381 GB, free: 93.86 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007233/6.869, allocations: 6.382 MB / 2.387 GB, free: 92.95 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.02043/6.889, allocations: 6.719 MB / 2.393 GB, free: 92.57 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002796/6.892, allocations: 0.5473 MB / 2.394 GB, free: 92.57 MB / 0.7136 GB Notification: Performance of SimCode: time 8.62e-07/6.892, allocations: 0 / 2.394 GB, free: 92.57 MB / 0.7136 GB Notification: Performance of Templates: time 0.2607/7.153, allocations: 171.1 MB / 2.561 GB, free: 36.49 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)