Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.Stratified.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.Stratified") translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.Stratified") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.322/1.322, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001234/0.001234, allocations: 178.9 kB / 327.6 MB, free: 2.141 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.4 MB / 0.5785 GB, free: 20.17 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008597/0.0008599, allocations: 92 kB / 0.6831 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003917/0.0003918, allocations: 12.94 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1879, allocations: 106.3 MB / 0.9012 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8364/1.024, allocations: 404 MB / 1.296 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/1.025, allocations: 91.58 kB / 1.296 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 8.495/9.52, allocations: 2.834 GB / 4.13 GB, free: 4.305 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.783e-06/9.52, allocations: 0 / 4.13 GB, free: 4.305 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001238/9.521, allocations: 255.8 kB / 4.13 GB, free: 4.055 MB / 0.9011 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.8496/10.37, allocations: 9.708 MB / 4.14 GB, free: 90.75 MB / 0.9012 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/10.37, allocations: 11.58 kB / 4.14 GB, free: 90.75 MB / 0.9012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006795/10.38, allocations: 1.165 MB / 4.141 GB, free: 90.2 MB / 0.9012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02348/10.4, allocations: 10.39 MB / 4.151 GB, free: 89.24 MB / 0.9012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006005/10.4, allocations: 0.6178 MB / 4.152 GB, free: 89.22 MB / 0.9012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002514/10.4, allocations: 0.8151 MB / 4.153 GB, free: 89.21 MB / 0.9012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02551/10.43, allocations: 11.65 MB / 4.164 GB, free: 88.04 MB / 0.9012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002365/10.43, allocations: 27.78 kB / 4.164 GB, free: 88.04 MB / 0.9012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001224/10.43, allocations: 355.4 kB / 4.164 GB, free: 88.04 MB / 0.9012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001757/10.43, allocations: 249.7 kB / 4.165 GB, free: 88.04 MB / 0.9012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02003/10.45, allocations: 9.647 MB / 4.174 GB, free: 87.97 MB / 0.9012 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.06158/10.51, allocations: 45.79 MB / 4.219 GB, free: 69.01 MB / 0.9012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007729/10.52, allocations: 6.247 MB / 4.225 GB, free: 68.72 MB / 0.9012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006101/10.53, allocations: 5.51 MB / 4.23 GB, free: 68.62 MB / 0.9012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009294/10.53, allocations: 0.8256 MB / 4.231 GB, free: 67.87 MB / 0.9012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004691/10.53, allocations: 3.351 MB / 4.234 GB, free: 67.7 MB / 0.9012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004478/10.54, allocations: 0.5172 MB / 4.235 GB, free: 67.43 MB / 0.9012 GB Notification: Performance of pre-optimization done (n=455): time 1.416e-05/10.54, allocations: 0 / 4.235 GB, free: 67.43 MB / 0.9012 GB Notification: Performance of matching and sorting (n=455): time 0.01348/10.55, allocations: 8.86 MB / 4.243 GB, free: 66.86 MB / 0.9012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.433e-05/10.55, allocations: 151.7 kB / 4.244 GB, free: 66.73 MB / 0.9012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01017/10.56, allocations: 7.272 MB / 4.251 GB, free: 66.26 MB / 0.9012 GB Notification: Performance of collectPreVariables (initialization): time 0.001211/10.56, allocations: 107 kB / 4.251 GB, free: 66.23 MB / 0.9012 GB Notification: Performance of collectInitialEqns (initialization): time 0.003406/10.57, allocations: 4.265 MB / 4.255 GB, free: 64.62 MB / 0.9012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001916/10.57, allocations: 1.578 MB / 4.256 GB, free: 63.64 MB / 0.9012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003111/10.57, allocations: 115.5 kB / 4.257 GB, free: 63.64 MB / 0.9012 GB Notification: Performance of setup shared object (initialization): time 0.0002528/10.57, allocations: 0.548 MB / 4.257 GB, free: 63.32 MB / 0.9012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003608/10.57, allocations: 2.986 MB / 4.26 GB, free: 63.3 MB / 0.9012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004286/10.58, allocations: 4.855 MB / 4.265 GB, free: 61.14 MB / 0.9012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008528/10.58, allocations: 8.527 MB / 4.273 GB, free: 58.88 MB / 0.9012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-05/10.58, allocations: 17.58 kB / 4.273 GB, free: 58.88 MB / 0.9012 GB Notification: Performance of matching and sorting (n=758) (initialization): time 0.01274/10.6, allocations: 8.84 MB / 4.282 GB, free: 58.34 MB / 0.9012 GB Notification: Performance of prepare postOptimizeDAE: time 0.001041/10.6, allocations: 1.868 MB / 4.284 GB, free: 56.11 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000118/10.6, allocations: 60.28 kB / 4.284 GB, free: 56.11 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001205/10.6, allocations: 86.25 kB / 4.284 GB, free: 56.11 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004874/10.6, allocations: 1.389 MB / 4.285 GB, free: 56.11 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000132/10.6, allocations: 127 kB / 4.285 GB, free: 56.11 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007506/10.61, allocations: 0.6057 MB / 4.286 GB, free: 56.05 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000869/10.61, allocations: 283.5 kB / 4.286 GB, free: 56.05 MB / 0.9012 GB Notification: Performance of prepare postOptimizeDAE: time 9.779e-06/10.61, allocations: 5.531 kB / 4.286 GB, free: 56.05 MB / 0.9012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01251/10.62, allocations: 8.253 MB / 4.294 GB, free: 55.89 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001952/10.62, allocations: 58.97 kB / 4.294 GB, free: 55.89 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000101/10.62, allocations: 87.84 kB / 4.294 GB, free: 55.89 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00479/10.63, allocations: 1.383 MB / 4.296 GB, free: 55.89 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001405/10.63, allocations: 126.2 kB / 4.296 GB, free: 55.89 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006976/10.64, allocations: 0.5926 MB / 4.296 GB, free: 55.84 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008861/10.64, allocations: 285.7 kB / 4.297 GB, free: 55.84 MB / 0.9012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (748): * Single equations (assignments): 746 * 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.006978/10.64, allocations: 3.553 MB / 4.3 GB, free: 55.55 MB / 0.9012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002609/10.65, allocations: 0.7081 MB / 4.301 GB, free: 55.19 MB / 0.9012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01287/10.66, allocations: 7.113 MB / 4.308 GB, free: 54.91 MB / 0.9012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.12e-05/10.66, allocations: 45.38 kB / 4.308 GB, free: 54.91 MB / 0.9012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.152e-05/10.66, allocations: 3.938 kB / 4.308 GB, free: 54.91 MB / 0.9012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007575/10.67, allocations: 5.829 MB / 4.313 GB, free: 54.68 MB / 0.9012 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 postOpt removeSimpleEquations (simulation): time 0.02917/10.7, allocations: 16.48 MB / 4.33 GB, free: 52.25 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/10.7, allocations: 0 / 4.33 GB, free: 52.25 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003661/10.7, allocations: 0.9597 MB / 4.33 GB, free: 52.22 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.249e-05/10.7, allocations: 16.66 kB / 4.33 GB, free: 52.22 MB / 0.9012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002975/10.7, allocations: 125.9 kB / 4.331 GB, free: 52.16 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-05/10.7, allocations: 16.31 kB / 4.331 GB, free: 52.16 MB / 0.9012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/10.7, allocations: 0 / 4.331 GB, free: 52.16 MB / 0.9012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01272/10.71, allocations: 10.59 MB / 4.341 GB, free: 47.92 MB / 0.9012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004661/10.72, allocations: 1.627 MB / 4.343 GB, free: 47.06 MB / 0.9012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001374/10.72, allocations: 98.77 kB / 4.343 GB, free: 47 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004432/10.72, allocations: 0.6015 MB / 4.343 GB, free: 46.91 MB / 0.9012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004232/10.72, allocations: 259.5 kB / 4.343 GB, free: 46.88 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003403/10.73, allocations: 186.5 kB / 4.344 GB, free: 46.84 MB / 0.9012 GB Notification: Performance of sorting global known variables: time 0.00781/10.73, allocations: 5.063 MB / 4.349 GB, free: 45.15 MB / 0.9012 GB Notification: Performance of sort global known variables: time 4.21e-07/10.73, allocations: 2.344 kB / 4.349 GB, free: 45.15 MB / 0.9012 GB Notification: Performance of remove unused functions: time 0.0149/10.75, allocations: 4.872 MB / 4.353 GB, free: 44.18 MB / 0.9012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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: 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (451): * Single equations (assignments): 447 * 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.002197/10.75, allocations: 0.8995 MB / 4.354 GB, free: 43.94 MB / 0.9012 GB Notification: Performance of simCode: created initialization part: time 0.01533/10.77, allocations: 11.43 MB / 4.365 GB, free: 40.06 MB / 0.9012 GB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/10.77, allocations: 6.031 kB / 4.365 GB, free: 40.06 MB / 0.9012 GB Notification: Performance of simCode: created simulation system equations: time 0.004117/10.77, allocations: 3.186 MB / 4.368 GB, free: 38.86 MB / 0.9012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02758/10.8, allocations: 4.411 MB / 4.373 GB, free: 38.18 MB / 0.9012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04082/10.84, allocations: 22.66 MB / 4.395 GB, free: 23.41 MB / 0.9012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008681/10.85, allocations: 6.103 MB / 4.401 GB, free: 18.77 MB / 0.9012 GB Notification: Performance of simCode: alias equations: time 0.01532/10.86, allocations: 4.2 MB / 4.405 GB, free: 15.98 MB / 0.9012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003065/10.87, allocations: 0.6162 MB / 4.406 GB, free: 15.42 MB / 0.9012 GB Notification: Performance of SimCode: time 7.61e-07/10.87, allocations: 0 / 4.406 GB, free: 15.42 MB / 0.9012 GB Notification: Performance of Templates: time 0.6821/11.55, allocations: 159.1 MB / 4.561 GB, free: 99.09 MB / 0.9324 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.Stratified.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.Stratified.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.Stratified.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.Stratified.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.Stratified.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.Stratified -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.Stratified.pipe 2>&1)