Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.706/1.706, allocations: 288.4 MB / 304.3 MB, free: 8.098 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.001105/0.001105, allocations: 172.5 kB / 372.9 MB, free: 10.16 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.785/1.785, allocations: 205.4 MB / 0.6317 GB, free: 9.922 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.0008408/0.0008408, allocations: 100 kB / 0.745 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004999/0.0004999, allocations: 16.05 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2519, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1/1.252, allocations: 407.4 MB / 1.379 GB, free: 5.309 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003218/1.253, allocations: 96.06 kB / 1.379 GB, free: 5.258 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 6.858/8.111, allocations: 2.174 GB / 3.553 GB, free: 40.1 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.154e-06/8.111, allocations: 0 / 3.553 GB, free: 40.1 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0009472/8.112, allocations: 187.8 kB / 3.553 GB, free: 39.92 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: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.02194/8.134, allocations: 7.138 MB / 3.56 GB, free: 32.68 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/8.134, allocations: 15.95 kB / 3.56 GB, free: 32.67 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004822/8.139, allocations: 0.8508 MB / 3.561 GB, free: 31.81 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01557/8.154, allocations: 7.482 MB / 3.568 GB, free: 24.26 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003834/8.155, allocations: 464.6 kB / 3.569 GB, free: 23.8 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001859/8.156, allocations: 0.5979 MB / 3.569 GB, free: 23.21 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01705/8.173, allocations: 8.485 MB / 3.578 GB, free: 14.39 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001777/8.174, allocations: 27.72 kB / 3.578 GB, free: 14.37 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000896/8.175, allocations: 263.9 kB / 3.578 GB, free: 14.11 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001612/8.175, allocations: 183.9 kB / 3.578 GB, free: 13.93 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01381/8.189, allocations: 6.896 MB / 3.585 GB, free: 7.027 MB / 0.9636 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.6045/8.793, allocations: 33.98 MB / 3.618 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007694/8.801, allocations: 4.202 MB / 3.622 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004823/8.806, allocations: 3.518 MB / 3.625 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001142/8.807, allocations: 0.9579 MB / 3.626 GB, free: 108.8 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003779/8.811, allocations: 2.345 MB / 3.629 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003796/8.815, allocations: 455 kB / 3.629 GB, free: 108.6 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=317): time 1.908e-05/8.815, allocations: 0 / 3.629 GB, free: 108.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=317): time 0.01319/8.828, allocations: 7.031 MB / 3.636 GB, free: 108 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.703e-05/8.828, allocations: 84.62 kB / 3.636 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01132/8.839, allocations: 5.352 MB / 3.641 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001098/8.84, allocations: 90.11 kB / 3.641 GB, free: 107.5 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.004574/8.845, allocations: 3.157 MB / 3.644 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.002249/8.847, allocations: 1.116 MB / 3.646 GB, free: 106.1 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000404/8.848, allocations: 91.88 kB / 3.646 GB, free: 106.1 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003692/8.848, allocations: 491.7 kB / 3.646 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004096/8.852, allocations: 2.106 MB / 3.648 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005432/8.858, allocations: 3.656 MB / 3.652 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01028/8.868, allocations: 6.222 MB / 3.658 GB, free: 102.1 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.794e-05/8.868, allocations: 13.47 kB / 3.658 GB, free: 102.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01352/8.882, allocations: 6.66 MB / 3.664 GB, free: 101.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 8.561e-05/8.882, allocations: 50.14 kB / 3.664 GB, free: 101.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-05/8.882, allocations: 50.28 kB / 3.664 GB, free: 101.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009025/8.883, allocations: 431.2 kB / 3.665 GB, free: 101.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003759/8.886, allocations: 0.9888 MB / 3.666 GB, free: 101.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004709/8.891, allocations: 5.312 MB / 3.671 GB, free: 98.86 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007544/8.899, allocations: 464.2 kB / 3.671 GB, free: 98.83 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00124/8.9, allocations: 222.2 kB / 3.672 GB, free: 98.83 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * 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 (540): * Single equations (assignments): 537 * 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.006569/8.907, allocations: 2.459 MB / 3.674 GB, free: 98.72 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001888/8.909, allocations: 0.5224 MB / 3.675 GB, free: 98.45 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008909/8.917, allocations: 5.16 MB / 3.68 GB, free: 98.22 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.227e-05/8.918, allocations: 38.41 kB / 3.68 GB, free: 98.22 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/8.918, allocations: 5.75 kB / 3.68 GB, free: 98.22 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005837/8.923, allocations: 4.448 MB / 3.684 GB, free: 97.76 MB / 0.9636 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.02469/8.948, allocations: 11.83 MB / 3.696 GB, free: 96.89 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/8.948, allocations: 0 / 3.696 GB, free: 96.89 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002755/8.951, allocations: 0.6524 MB / 3.696 GB, free: 96.89 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007741/8.952, allocations: 367.2 kB / 3.697 GB, free: 96.88 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002664/8.952, allocations: 82.69 kB / 3.697 GB, free: 96.88 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004376/8.956, allocations: 5.239 MB / 3.702 GB, free: 94.17 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/8.956, allocations: 0 / 3.702 GB, free: 94.17 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01104/8.967, allocations: 7.553 MB / 3.709 GB, free: 93.52 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004139/8.972, allocations: 1.196 MB / 3.71 GB, free: 93.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001623/8.973, allocations: 70.02 kB / 3.71 GB, free: 93.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004942/8.978, allocations: 447.7 kB / 3.711 GB, free: 93.15 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004953/8.979, allocations: 210.4 kB / 3.711 GB, free: 93.14 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004116/8.979, allocations: 136.2 kB / 3.711 GB, free: 93.14 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.006897/8.986, allocations: 3.712 MB / 3.715 GB, free: 92.96 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.61e-07/8.986, allocations: 0 / 3.715 GB, free: 92.96 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.009852/8.996, allocations: 2.029 MB / 3.717 GB, free: 92.84 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (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,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 (296): * Single equations (assignments): 289 * 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.002291/8.998, allocations: 0.8119 MB / 3.718 GB, free: 92.7 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.009107/9.007, allocations: 5.31 MB / 3.723 GB, free: 92.31 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/9.007, allocations: 5.656 kB / 3.723 GB, free: 92.31 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.003904/9.011, allocations: 2.471 MB / 3.725 GB, free: 92.05 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01933/9.031, allocations: 3.181 MB / 3.728 GB, free: 92.03 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02912/9.06, allocations: 16.03 MB / 3.744 GB, free: 86.48 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007419/9.067, allocations: 4.6 MB / 3.748 GB, free: 85.62 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.009155/9.077, allocations: 1.994 MB / 3.75 GB, free: 85.57 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002236/9.079, allocations: 462.6 kB / 3.751 GB, free: 85.57 MB / 0.9636 GB Notification: Performance of SimCode: time 9.12e-07/9.079, allocations: 1.469 kB / 3.751 GB, free: 85.57 MB / 0.9636 GB Notification: Performance of Templates: time 0.1806/9.259, allocations: 117.9 MB / 3.866 GB, free: 58.28 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)