Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.131/2.131, allocations: 251.1 MB / 266.7 MB, free: 11.53 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.001406/0.001406, allocations: 184.1 kB / 326.2 MB, free: 2.836 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.401/2.401, allocations: 205.4 MB / 0.5772 GB, free: 20.73 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.000984/0.0009837, allocations: 98.34 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004702/0.0004704, allocations: 10.09 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2161, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.203/1.419, allocations: 399.5 MB / 1.29 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003486/1.42, allocations: 94.89 kB / 1.29 GB, free: 2.863 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 11.19/12.61, allocations: 2.119 GB / 3.409 GB, free: 40.25 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.385e-06/12.61, allocations: 0 / 3.409 GB, free: 40.25 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001103/12.61, allocations: 187.8 kB / 3.409 GB, free: 40.07 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: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.02966/12.64, allocations: 7.22 MB / 3.416 GB, free: 32.75 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/12.64, allocations: 8.031 kB / 3.416 GB, free: 32.74 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00561/12.65, allocations: 0.8432 MB / 3.417 GB, free: 31.89 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02308/12.67, allocations: 7.306 MB / 3.424 GB, free: 24.52 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005533/12.67, allocations: 464.6 kB / 3.425 GB, free: 24.06 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002582/12.68, allocations: 0.612 MB / 3.425 GB, free: 23.45 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02724/12.7, allocations: 8.382 MB / 3.434 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002969/12.7, allocations: 23.81 kB / 3.434 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001914/12.7, allocations: 256 kB / 3.434 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002066/12.7, allocations: 179.9 kB / 3.434 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0229/12.73, allocations: 6.935 MB / 3.441 GB, free: 7.383 MB / 0.9011 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 1.509/14.24, allocations: 33.14 MB / 3.473 GB, free: 95.81 MB / 0.9012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0114/14.25, allocations: 4.334 MB / 3.477 GB, free: 95.75 MB / 0.9012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008374/14.26, allocations: 3.542 MB / 3.481 GB, free: 95.7 MB / 0.9012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001878/14.26, allocations: 0.9642 MB / 3.482 GB, free: 94.76 MB / 0.9012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007635/14.27, allocations: 2.345 MB / 3.484 GB, free: 94.65 MB / 0.9012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004534/14.27, allocations: 460.6 kB / 3.485 GB, free: 94.54 MB / 0.9012 GB Notification: Performance of pre-optimization done (n=329): time 1.642e-05/14.27, allocations: 0 / 3.485 GB, free: 94.54 MB / 0.9012 GB Notification: Performance of matching and sorting (n=329): time 0.02387/14.29, allocations: 7.109 MB / 3.491 GB, free: 93.91 MB / 0.9012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.559e-05/14.29, allocations: 85.12 kB / 3.492 GB, free: 93.85 MB / 0.9012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01283/14.31, allocations: 5.331 MB / 3.497 GB, free: 93.51 MB / 0.9012 GB Notification: Performance of collectPreVariables (initialization): time 0.001088/14.31, allocations: 85.98 kB / 3.497 GB, free: 93.48 MB / 0.9012 GB Notification: Performance of collectInitialEqns (initialization): time 0.004451/14.31, allocations: 3.127 MB / 3.5 GB, free: 92.59 MB / 0.9012 GB Notification: Performance of collectInitialBindings (initialization): time 0.002285/14.32, allocations: 1.168 MB / 3.501 GB, free: 92.01 MB / 0.9012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005277/14.32, allocations: 91 kB / 3.501 GB, free: 92.01 MB / 0.9012 GB Notification: Performance of setup shared object (initialization): time 0.0003498/14.32, allocations: 496.8 kB / 3.502 GB, free: 91.7 MB / 0.9012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005887/14.32, allocations: 2.13 MB / 3.504 GB, free: 91.68 MB / 0.9012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007479/14.33, allocations: 3.648 MB / 3.507 GB, free: 89.91 MB / 0.9012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007626/14.34, allocations: 2.891 MB / 3.51 GB, free: 89.83 MB / 0.9012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.845e-05/14.34, allocations: 13.47 kB / 3.51 GB, free: 89.83 MB / 0.9012 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.02125/14.36, allocations: 6.704 MB / 3.517 GB, free: 89.39 MB / 0.9012 GB Notification: Performance of prepare postOptimizeDAE: time 8.833e-05/14.36, allocations: 53.48 kB / 3.517 GB, free: 89.36 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.477e-05/14.36, allocations: 46.25 kB / 3.517 GB, free: 89.36 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001506/14.36, allocations: 435.1 kB / 3.517 GB, free: 89.34 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007635/14.37, allocations: 0.9939 MB / 3.518 GB, free: 89.34 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007749/14.38, allocations: 5.315 MB / 3.523 GB, free: 86.64 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009176/14.39, allocations: 460.2 kB / 3.524 GB, free: 86.61 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001364/14.39, allocations: 219 kB / 3.524 GB, free: 86.61 MB / 0.9012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 214 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (548): * Single equations (assignments): 545 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007603/14.39, allocations: 2.465 MB / 3.526 GB, free: 86.5 MB / 0.9012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001916/14.4, allocations: 0.5186 MB / 3.527 GB, free: 86.23 MB / 0.9012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01605/14.41, allocations: 5.264 MB / 3.532 GB, free: 86 MB / 0.9012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-05/14.41, allocations: 32.5 kB / 3.532 GB, free: 86 MB / 0.9012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.33e-05/14.41, allocations: 9.531 kB / 3.532 GB, free: 85.99 MB / 0.9012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01236/14.43, allocations: 4.525 MB / 3.536 GB, free: 85.53 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.0364/14.46, allocations: 11.94 MB / 3.548 GB, free: 84.66 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/14.46, allocations: 3.719 kB / 3.548 GB, free: 84.66 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005991/14.47, allocations: 0.6709 MB / 3.549 GB, free: 84.66 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001375/14.47, allocations: 368.1 kB / 3.549 GB, free: 84.64 MB / 0.9012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005701/14.47, allocations: 90.94 kB / 3.549 GB, free: 84.64 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007261/14.48, allocations: 5.22 MB / 3.554 GB, free: 81.94 MB / 0.9012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/14.48, allocations: 1.75 kB / 3.554 GB, free: 81.94 MB / 0.9012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01889/14.5, allocations: 7.682 MB / 3.562 GB, free: 81.3 MB / 0.9012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005306/14.5, allocations: 1.182 MB / 3.563 GB, free: 80.93 MB / 0.9012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002022/14.5, allocations: 71.84 kB / 3.563 GB, free: 80.93 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00794/14.51, allocations: 450.2 kB / 3.563 GB, free: 80.92 MB / 0.9012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009294/14.51, allocations: 203.3 kB / 3.564 GB, free: 80.92 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005008/14.51, allocations: 131.4 kB / 3.564 GB, free: 80.92 MB / 0.9012 GB Notification: Performance of sorting global known variables: time 0.01021/14.52, allocations: 3.705 MB / 3.567 GB, free: 80.74 MB / 0.9012 GB Notification: Performance of sort global known variables: time 6.31e-07/14.52, allocations: 0 / 3.567 GB, free: 80.74 MB / 0.9012 GB Notification: Performance of remove unused functions: time 0.01068/14.53, allocations: 2.031 MB / 3.569 GB, free: 80.61 MB / 0.9012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 20 (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,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,HIn_flow.h_out,HOut_flow.h_out,HInEnh_flow.h_out,HOutEnh_flow.h_out,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (308): * Single equations (assignments): 301 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002857/14.54, allocations: 0.8153 MB / 3.57 GB, free: 80.48 MB / 0.9012 GB Notification: Performance of simCode: created initialization part: time 0.01415/14.55, allocations: 5.387 MB / 3.575 GB, free: 80.1 MB / 0.9012 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/14.55, allocations: 3.312 kB / 3.575 GB, free: 80.1 MB / 0.9012 GB Notification: Performance of simCode: created simulation system equations: time 0.006682/14.56, allocations: 2.525 MB / 3.578 GB, free: 79.83 MB / 0.9012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02827/14.59, allocations: 3.228 MB / 3.581 GB, free: 79.79 MB / 0.9012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03892/14.62, allocations: 16.33 MB / 3.597 GB, free: 74.18 MB / 0.9012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009341/14.63, allocations: 4.606 MB / 3.602 GB, free: 73.32 MB / 0.9012 GB Notification: Performance of simCode: alias equations: time 0.01206/14.65, allocations: 2.013 MB / 3.603 GB, free: 73.27 MB / 0.9012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003167/14.65, allocations: 464.6 kB / 3.604 GB, free: 73.26 MB / 0.9012 GB Notification: Performance of SimCode: time 1.042e-06/14.65, allocations: 0 / 3.604 GB, free: 73.26 MB / 0.9012 GB Notification: Performance of Templates: time 0.2721/14.92, allocations: 115.9 MB / 3.717 GB, free: 39.86 MB / 0.9012 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)