Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified") translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.426/2.426, allocations: 285 MB / 292.5 MB, free: 10.52 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001376/0.001376, allocations: 176.8 kB / 360.7 MB, free: 7.23 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.015/2.015, allocations: 205.3 MB / 0.6192 GB, free: 12.14 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 95.77 kB / 0.7322 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.124e-05/2.12e-05, allocations: 4 kB / 0.8509 GB, free: 3.391 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7787/0.7787, allocations: 115.2 MB / 0.9634 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.255/2.034, allocations: 410.6 MB / 1.364 GB, free: 157.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/2.034, allocations: 90.45 kB / 1.364 GB, free: 157.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 15.54/17.58, allocations: 2.902 GB / 4.267 GB, free: 131.4 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.953e-06/17.58, allocations: 0 / 4.267 GB, free: 131.4 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001708/17.58, allocations: 255.6 kB / 4.267 GB, free: 131.3 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2145 * Number of variables: 2145 Notification: Performance of Generate backend data structure: time 0.03443/17.61, allocations: 8.284 MB / 4.275 GB, free: 128.4 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/17.61, allocations: 10.78 kB / 4.275 GB, free: 128.4 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008682/17.62, allocations: 1.167 MB / 4.276 GB, free: 127.8 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03903/17.66, allocations: 10.75 MB / 4.287 GB, free: 126.8 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000634/17.66, allocations: 268.6 kB / 4.287 GB, free: 126.8 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004104/17.66, allocations: 491.7 kB / 4.288 GB, free: 126.8 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02985/17.69, allocations: 8.896 MB / 4.296 GB, free: 126.7 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03938/17.73, allocations: 10.35 MB / 4.306 GB, free: 125.5 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006308/17.73, allocations: 25.16 kB / 4.306 GB, free: 125.5 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003682/17.74, allocations: 18.98 kB / 4.306 GB, free: 125.5 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003275/17.74, allocations: 250.5 kB / 4.307 GB, free: 125.5 MB / 0.9636 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.1036/17.84, allocations: 44.97 MB / 4.35 GB, free: 106.1 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0138/17.86, allocations: 6 MB / 4.356 GB, free: 103.7 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01065/17.87, allocations: 4.653 MB / 4.361 GB, free: 102.2 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001855/17.87, allocations: 0.823 MB / 4.362 GB, free: 101.4 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009199/17.88, allocations: 3.164 MB / 4.365 GB, free: 100.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006355/17.88, allocations: 400.6 kB / 4.365 GB, free: 100 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=449): time 3.62e-05/17.88, allocations: 0 / 4.365 GB, free: 100 MB / 0.9636 GB Notification: Performance of matching and sorting (n=449): time 0.02146/17.91, allocations: 6.112 MB / 4.371 GB, free: 97.91 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.265e-05/17.91, allocations: 161.9 kB / 4.371 GB, free: 97.78 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01704/17.92, allocations: 5.828 MB / 4.377 GB, free: 95.68 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001692/17.92, allocations: 33.2 kB / 4.377 GB, free: 95.64 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.007181/17.93, allocations: 4.283 MB / 4.381 GB, free: 92.4 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.003511/17.94, allocations: 1.5 MB / 4.383 GB, free: 91.24 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009971/17.94, allocations: 3.312 kB / 4.383 GB, free: 91.24 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0005866/17.94, allocations: 0.5445 MB / 4.383 GB, free: 90.84 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007194/17.94, allocations: 2.778 MB / 4.386 GB, free: 89.83 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009139/17.95, allocations: 4.622 MB / 4.39 GB, free: 86.51 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01151/17.96, allocations: 4.06 MB / 4.394 GB, free: 85.18 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001125/17.96, allocations: 18.84 kB / 4.394 GB, free: 85.18 MB / 0.9636 GB Notification: Performance of matching and sorting (n=754) (initialization): time 0.0297/17.99, allocations: 8.245 MB / 4.402 GB, free: 82.37 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.00717/18, allocations: 27.94 MB / 4.43 GB, free: 52.56 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002615/18, allocations: 58.88 kB / 4.43 GB, free: 52.56 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002258/18, allocations: 96.25 kB / 4.43 GB, free: 52.56 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01178/18.01, allocations: 1.444 MB / 4.431 GB, free: 52.41 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000161/18.01, allocations: 123.7 kB / 4.431 GB, free: 52.39 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01212/18.03, allocations: 0.5138 MB / 4.432 GB, free: 52.29 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001946/18.03, allocations: 281.8 kB / 4.432 GB, free: 52.24 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/18.03, allocations: 4.125 kB / 4.432 GB, free: 52.24 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02359/18.05, allocations: 7.598 MB / 4.44 GB, free: 49.24 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001835/18.05, allocations: 63.52 kB / 4.44 GB, free: 49.18 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001235/18.05, allocations: 96 kB / 4.44 GB, free: 49.09 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01302/18.07, allocations: 1.443 MB / 4.441 GB, free: 47.85 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002025/18.07, allocations: 127.2 kB / 4.441 GB, free: 47.74 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01542/18.08, allocations: 492.4 kB / 4.442 GB, free: 47.39 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002185/18.08, allocations: 287.1 kB / 4.442 GB, free: 47.12 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 264 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,$PRE.TWat.nextEvent,TWat.nextEvent,TWat.nextEventScaled,P.a,P.b,P.last,$PRE.P.nextEvent,P.nextEvent,P.nextEventScaled,dH.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (744): * Single equations (assignments): 742 * 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.003126/18.09, allocations: 363.5 kB / 4.442 GB, free: 46.75 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003375/18.09, allocations: 0.6329 MB / 4.443 GB, free: 46.11 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02905/18.12, allocations: 6.754 MB / 4.45 GB, free: 40.59 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-05/18.12, allocations: 44 kB / 4.45 GB, free: 40.54 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.121e-05/18.12, allocations: 0 / 4.45 GB, free: 40.54 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02219/18.14, allocations: 5.642 MB / 4.455 GB, free: 35.8 MB / 0.9636 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 postOpt removeSimpleEquations (simulation): time 0.05173/18.19, allocations: 15.38 MB / 4.47 GB, free: 23.71 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-05/18.19, allocations: 0 / 4.47 GB, free: 23.71 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008874/18.2, allocations: 0.9137 MB / 4.471 GB, free: 22.95 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.593e-05/18.2, allocations: 16 kB / 4.471 GB, free: 22.94 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00107/18.2, allocations: 65.48 kB / 4.471 GB, free: 22.89 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.412e-05/18.2, allocations: 19.94 kB / 4.471 GB, free: 22.87 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/18.2, allocations: 0 / 4.471 GB, free: 22.87 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02562/18.23, allocations: 10.32 MB / 4.481 GB, free: 13.88 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007632/18.24, allocations: 1.657 MB / 4.483 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002813/18.24, allocations: 23.05 kB / 4.483 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0108/18.25, allocations: 0.4939 MB / 4.483 GB, free: 12.08 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001428/18.25, allocations: 265.2 kB / 4.484 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008638/18.25, allocations: 197.9 kB / 4.484 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.01117/18.26, allocations: 4.441 MB / 4.488 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.022e-06/18.26, allocations: 0 / 4.488 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.02386/18.29, allocations: 4.759 MB / 4.493 GB, free: 3.188 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 21 (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,dH.y) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,TWat.nextEvent,TWat.nextEventScaled,P.a,P.b,P.last,P.nextEvent,P.nextEventScaled) * Number of discrete states: 12 (P.nextEvent,P.last,P.nextEventScaled,P.b,P.a,$whenCondition2,TWat.nextEvent,TWat.last,TWat.nextEventScaled,TWat.b,TWat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (445): * Single equations (assignments): 441 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * 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.003494/18.29, allocations: 0.8583 MB / 4.494 GB, free: 2.492 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.02877/18.32, allocations: 10.89 MB / 4.504 GB, free: 8.824 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.839e-05/18.32, allocations: 7.562 kB / 4.504 GB, free: 8.82 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.007948/18.33, allocations: 3.029 MB / 4.507 GB, free: 6.086 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02998/18.36, allocations: 3.482 MB / 4.511 GB, free: 3.062 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.804/19.16, allocations: 16.12 MB / 4.526 GB, free: 133.2 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01538/19.18, allocations: 6.259 MB / 4.532 GB, free: 132.3 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0336/19.21, allocations: 5.8 MB / 4.538 GB, free: 132.3 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003568/19.22, allocations: 476 kB / 4.539 GB, free: 132.3 MB / 0.9792 GB Notification: Performance of SimCode: time 2.805e-06/19.22, allocations: 0 / 4.539 GB, free: 132.3 MB / 0.9792 GB Notification: Performance of Templates: time 0.3349/19.55, allocations: 129.8 MB / 4.665 GB, free: 124.8 MB / 0.9792 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.sim & ./Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.pipe 2>&1)