Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified") translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.642/1.642, allocations: 288.4 MB / 304.3 MB, free: 8.109 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009768/0.0009769, allocations: 175.2 kB / 372.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.686/1.686, allocations: 205.4 MB / 0.6317 GB, free: 9.891 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008587/0.0008589, allocations: 88.19 kB / 0.745 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003901/0.0003903, allocations: 16.36 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2474, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.009/1.256, allocations: 411.6 MB / 1.383 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003335/1.256, allocations: 101 kB / 1.383 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 10.19/11.45, allocations: 2.906 GB / 4.289 GB, free: 12.83 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.893e-06/11.45, allocations: 0 / 4.289 GB, free: 12.83 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.001562/11.45, allocations: 255.8 kB / 4.289 GB, free: 12.58 MB / 0.9792 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.03324/11.48, allocations: 9.72 MB / 4.299 GB, free: 2.754 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/11.48, allocations: 8.031 kB / 4.299 GB, free: 2.746 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009547/11.49, allocations: 1.164 MB / 4.3 GB, free: 1.57 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.9704/12.46, allocations: 10.41 MB / 4.31 GB, free: 123.9 MB / 0.9793 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009872/12.46, allocations: 0.6175 MB / 4.311 GB, free: 123.8 MB / 0.9793 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004294/12.47, allocations: 0.8221 MB / 4.311 GB, free: 123.8 MB / 0.9793 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03795/12.51, allocations: 11.77 MB / 4.323 GB, free: 122.6 MB / 0.9793 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006538/12.51, allocations: 31.62 kB / 4.323 GB, free: 122.6 MB / 0.9793 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00358/12.51, allocations: 357 kB / 4.323 GB, free: 122.6 MB / 0.9793 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003078/12.51, allocations: 247.6 kB / 4.324 GB, free: 122.6 MB / 0.9793 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02446/12.54, allocations: 9.631 MB / 4.333 GB, free: 122.6 MB / 0.9793 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.08681/12.62, allocations: 46.28 MB / 4.378 GB, free: 103.5 MB / 0.9793 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01055/12.63, allocations: 6.193 MB / 4.384 GB, free: 103.2 MB / 0.9793 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00885/12.64, allocations: 5.491 MB / 4.39 GB, free: 103.1 MB / 0.9793 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001292/12.64, allocations: 0.823 MB / 4.39 GB, free: 102.4 MB / 0.9793 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006728/12.65, allocations: 3.399 MB / 4.394 GB, free: 102.2 MB / 0.9793 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00537/12.66, allocations: 0.5149 MB / 4.394 GB, free: 102.1 MB / 0.9793 GB Notification: Performance of pre-optimization done (n=449): time 1.927e-05/12.66, allocations: 5 kB / 4.394 GB, free: 102.1 MB / 0.9793 GB Notification: Performance of matching and sorting (n=449): time 0.0185/12.67, allocations: 8.809 MB / 4.403 GB, free: 101.5 MB / 0.9793 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.469e-05/12.67, allocations: 157.6 kB / 4.403 GB, free: 101.4 MB / 0.9793 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0151/12.69, allocations: 7.273 MB / 4.41 GB, free: 100.9 MB / 0.9793 GB Notification: Performance of collectPreVariables (initialization): time 0.001522/12.69, allocations: 114.2 kB / 4.41 GB, free: 100.9 MB / 0.9793 GB Notification: Performance of collectInitialEqns (initialization): time 0.00552/12.7, allocations: 4.279 MB / 4.414 GB, free: 99.32 MB / 0.9793 GB Notification: Performance of collectInitialBindings (initialization): time 0.003044/12.7, allocations: 1.553 MB / 4.416 GB, free: 98.35 MB / 0.9793 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001206/12.7, allocations: 120 kB / 4.416 GB, free: 98.35 MB / 0.9793 GB Notification: Performance of setup shared object (initialization): time 0.0007298/12.7, allocations: 0.5403 MB / 4.417 GB, free: 98.03 MB / 0.9793 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005731/12.71, allocations: 2.974 MB / 4.419 GB, free: 98.02 MB / 0.9793 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006529/12.71, allocations: 4.864 MB / 4.424 GB, free: 95.82 MB / 0.9793 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01207/12.73, allocations: 8.523 MB / 4.433 GB, free: 93.53 MB / 0.9793 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001213/12.73, allocations: 17.47 kB / 4.433 GB, free: 93.53 MB / 0.9793 GB Notification: Performance of matching and sorting (n=754) (initialization): time 0.01915/12.75, allocations: 8.819 MB / 4.441 GB, free: 92.99 MB / 0.9793 GB Notification: Performance of prepare postOptimizeDAE: time 0.001299/12.75, allocations: 1.898 MB / 4.443 GB, free: 90.73 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001637/12.75, allocations: 57 kB / 4.443 GB, free: 90.73 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000143/12.75, allocations: 86.84 kB / 4.443 GB, free: 90.73 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006115/12.75, allocations: 1.381 MB / 4.444 GB, free: 90.73 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001854/12.75, allocations: 126.1 kB / 4.445 GB, free: 90.73 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009032/12.76, allocations: 0.6011 MB / 4.445 GB, free: 90.67 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00155/12.76, allocations: 287.7 kB / 4.445 GB, free: 90.67 MB / 0.9793 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/12.76, allocations: 7.25 kB / 4.445 GB, free: 90.67 MB / 0.9793 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0174/12.78, allocations: 8.236 MB / 4.454 GB, free: 90.51 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002451/12.78, allocations: 56.72 kB / 4.454 GB, free: 90.51 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001243/12.78, allocations: 92.75 kB / 4.454 GB, free: 90.51 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006144/12.79, allocations: 1.374 MB / 4.455 GB, free: 90.51 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001826/12.79, allocations: 129.7 kB / 4.455 GB, free: 90.51 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008286/12.8, allocations: 0.5898 MB / 4.456 GB, free: 90.46 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001427/12.8, allocations: 287 kB / 4.456 GB, free: 90.46 MB / 0.9793 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 () * Number of clocked 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.008411/12.81, allocations: 3.552 MB / 4.459 GB, free: 90.17 MB / 0.9793 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003422/12.81, allocations: 0.7099 MB / 4.46 GB, free: 89.81 MB / 0.9793 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01515/12.82, allocations: 7.072 MB / 4.467 GB, free: 89.52 MB / 0.9793 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.678e-05/12.82, allocations: 48.56 kB / 4.467 GB, free: 89.52 MB / 0.9793 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.937e-05/12.82, allocations: 2.625 kB / 4.467 GB, free: 89.52 MB / 0.9793 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008927/12.83, allocations: 5.797 MB / 4.473 GB, free: 89.3 MB / 0.9793 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.03895/12.87, allocations: 16.47 MB / 4.489 GB, free: 85.76 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/12.87, allocations: 0 / 4.489 GB, free: 85.76 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004474/12.88, allocations: 0.9529 MB / 4.49 GB, free: 85.73 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.725e-05/12.88, allocations: 15.75 kB / 4.49 GB, free: 85.73 MB / 0.9793 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007214/12.88, allocations: 123.4 kB / 4.49 GB, free: 85.66 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.592e-05/12.88, allocations: 17.22 kB / 4.49 GB, free: 85.66 MB / 0.9793 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/12.88, allocations: 0 / 4.49 GB, free: 85.66 MB / 0.9793 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02249/12.9, allocations: 10.52 MB / 4.5 GB, free: 81.46 MB / 0.9793 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009568/12.91, allocations: 1.659 MB / 4.502 GB, free: 80.59 MB / 0.9793 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004614/12.92, allocations: 94.64 kB / 4.502 GB, free: 80.53 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0117/12.93, allocations: 0.6001 MB / 4.502 GB, free: 80.44 MB / 0.9793 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001718/12.93, allocations: 255.8 kB / 4.503 GB, free: 80.4 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001514/12.93, allocations: 198.6 kB / 4.503 GB, free: 80.36 MB / 0.9793 GB Notification: Performance of sorting global known variables: time 0.01363/12.94, allocations: 5.072 MB / 4.508 GB, free: 78.67 MB / 0.9793 GB Notification: Performance of sort global known variables: time 3.91e-07/12.94, allocations: 3.188 kB / 4.508 GB, free: 78.67 MB / 0.9793 GB Notification: Performance of remove unused functions: time 0.02178/12.97, allocations: 4.87 MB / 4.513 GB, free: 77.7 MB / 0.9793 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) * Number of clocked states: 0 () * 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.002668/12.97, allocations: 0.9131 MB / 4.514 GB, free: 77.47 MB / 0.9793 GB Notification: Performance of simCode: created initialization part: time 0.01736/12.99, allocations: 11.38 MB / 4.525 GB, free: 73.5 MB / 0.9793 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/12.99, allocations: 6 kB / 4.525 GB, free: 73.5 MB / 0.9793 GB Notification: Performance of simCode: created simulation system equations: time 0.004618/12.99, allocations: 3.155 MB / 4.528 GB, free: 72.3 MB / 0.9793 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02466/13.02, allocations: 4.416 MB / 4.532 GB, free: 71.63 MB / 0.9793 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0378/13.05, allocations: 22.51 MB / 4.554 GB, free: 61.36 MB / 0.9793 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006017/13.06, allocations: 6.088 MB / 4.56 GB, free: 59.37 MB / 0.9793 GB Notification: Performance of simCode: alias equations: time 0.01288/13.07, allocations: 4.231 MB / 4.564 GB, free: 59.04 MB / 0.9793 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002676/13.07, allocations: 0.6124 MB / 4.565 GB, free: 59 MB / 0.9793 GB Notification: Performance of SimCode: time 9.71e-07/13.07, allocations: 4 kB / 4.565 GB, free: 58.99 MB / 0.9793 GB Notification: Performance of Templates: time 0.8123/13.89, allocations: 160.1 MB / 4.721 GB, free: 100.2 MB / 1.011 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.Stratified.pipe 2>&1)