Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.758/1.758, allocations: 292.6 MB / 307.6 MB, free: 5.176 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.00107/0.00107, allocations: 181 kB / 377.1 MB, free: 1.512 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.853/1.853, allocations: 205.4 MB / 0.6367 GB, free: 8.625 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009556/0.0009557, allocations: 91.61 kB / 0.751 GB, free: 63.17 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003507, allocations: 8 kB / 0.8748 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3104, allocations: 116.3 MB / 0.9884 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.697/2.007, allocations: 408.3 MB / 1.387 GB, free: 251.8 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/2.008, allocations: 93.39 kB / 1.387 GB, free: 251.8 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 8.721/10.73, allocations: 2.188 GB / 3.575 GB, free: 105.2 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.417e-06/10.73, allocations: 4.062 kB / 3.575 GB, free: 105.2 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001878/10.73, allocations: 192.9 kB / 3.575 GB, free: 105.2 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.03684/10.77, allocations: 7.204 MB / 3.582 GB, free: 102.9 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.782e-05/10.77, allocations: 10.47 kB / 3.582 GB, free: 102.9 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008008/10.78, allocations: 0.8495 MB / 3.583 GB, free: 102.5 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.026/10.8, allocations: 7.737 MB / 3.591 GB, free: 101.7 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008742/10.8, allocations: 460.5 kB / 3.591 GB, free: 101.7 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003875/10.81, allocations: 0.6018 MB / 3.592 GB, free: 101.7 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03209/10.84, allocations: 8.436 MB / 3.6 GB, free: 100.7 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005684/10.84, allocations: 21.41 kB / 3.6 GB, free: 100.7 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00345/10.84, allocations: 267.4 kB / 3.6 GB, free: 100.7 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003726/10.84, allocations: 182.5 kB / 3.601 GB, free: 100.7 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02174/10.86, allocations: 6.891 MB / 3.607 GB, free: 100.7 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.08027/10.94, allocations: 34.21 MB / 3.641 GB, free: 85.88 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009662/10.95, allocations: 4.27 MB / 3.645 GB, free: 85.82 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001609/10.96, allocations: 0.9549 MB / 3.646 GB, free: 84.88 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006961/10.96, allocations: 2.359 MB / 3.648 GB, free: 84.78 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006508/10.97, allocations: 489.7 kB / 3.649 GB, free: 84.55 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=317): time 3.405e-05/10.97, allocations: 0 / 3.649 GB, free: 84.55 MB / 0.9636 GB Notification: Performance of matching and sorting (n=317): time 0.01723/10.99, allocations: 7.067 MB / 3.655 GB, free: 83.91 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.769e-05/10.99, allocations: 84.03 kB / 3.656 GB, free: 83.85 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01507/11, allocations: 5.192 MB / 3.661 GB, free: 83.51 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001264/11, allocations: 87.7 kB / 3.661 GB, free: 83.48 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.004257/11.01, allocations: 3.146 MB / 3.664 GB, free: 82.23 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.002547/11.01, allocations: 1.124 MB / 3.665 GB, free: 81.54 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003943/11.01, allocations: 87.59 kB / 3.665 GB, free: 81.54 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0004059/11.01, allocations: 492.2 kB / 3.665 GB, free: 81.22 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004245/11.02, allocations: 2.125 MB / 3.667 GB, free: 81.21 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005716/11.02, allocations: 3.664 MB / 3.671 GB, free: 79.37 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005987/11.03, allocations: 2.888 MB / 3.674 GB, free: 79.29 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.484e-05/11.03, allocations: 14.12 kB / 3.674 GB, free: 79.29 MB / 0.9636 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01598/11.04, allocations: 6.699 MB / 3.68 GB, free: 78.85 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001249/11.04, allocations: 54.14 kB / 3.68 GB, free: 78.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001441/11.04, allocations: 48.06 kB / 3.681 GB, free: 78.82 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00125/11.04, allocations: 441.2 kB / 3.681 GB, free: 78.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004482/11.05, allocations: 1.029 MB / 3.682 GB, free: 78.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006492/11.06, allocations: 5.403 MB / 3.687 GB, free: 76.08 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009202/11.07, allocations: 477.9 kB / 3.688 GB, free: 76.04 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001555/11.07, allocations: 221.6 kB / 3.688 GB, free: 76.04 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.008108/11.07, allocations: 2.463 MB / 3.69 GB, free: 75.89 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003225/11.08, allocations: 0.5199 MB / 3.691 GB, free: 75.62 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0132/11.09, allocations: 5.215 MB / 3.696 GB, free: 75.39 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.552e-05/11.09, allocations: 38.58 kB / 3.696 GB, free: 75.38 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.694e-05/11.09, allocations: 2.75 kB / 3.696 GB, free: 75.38 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007592/11.1, allocations: 4.493 MB / 3.7 GB, free: 74.92 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.03541/11.13, allocations: 11.81 MB / 3.712 GB, free: 74.13 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/11.13, allocations: 0 / 3.712 GB, free: 74.13 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003128/11.14, allocations: 0.6194 MB / 3.712 GB, free: 74.13 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008855/11.14, allocations: 370.8 kB / 3.713 GB, free: 74.11 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006625/11.14, allocations: 86.73 kB / 3.713 GB, free: 74.11 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005192/11.14, allocations: 5.319 MB / 3.718 GB, free: 71.39 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/11.14, allocations: 1.594 kB / 3.718 GB, free: 71.39 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01453/11.16, allocations: 7.725 MB / 3.726 GB, free: 70.04 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006191/11.17, allocations: 1.263 MB / 3.727 GB, free: 69.36 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002883/11.17, allocations: 73.27 kB / 3.727 GB, free: 69.31 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006749/11.17, allocations: 410.5 kB / 3.727 GB, free: 69.25 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007643/11.18, allocations: 207.5 kB / 3.728 GB, free: 69.22 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007847/11.18, allocations: 140.1 kB / 3.728 GB, free: 69.2 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.01017/11.19, allocations: 4.04 MB / 3.732 GB, free: 67.81 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.81e-07/11.19, allocations: 0 / 3.732 GB, free: 67.81 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01206/11.2, allocations: 2.056 MB / 3.734 GB, free: 67.38 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.003005/11.2, allocations: 0.8352 MB / 3.734 GB, free: 67.14 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01099/11.21, allocations: 5.349 MB / 3.74 GB, free: 65.28 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/11.21, allocations: 3.719 kB / 3.74 GB, free: 65.28 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.004635/11.22, allocations: 2.491 MB / 3.742 GB, free: 64.29 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01885/11.24, allocations: 3.182 MB / 3.745 GB, free: 63.78 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04211/11.28, allocations: 15.98 MB / 3.761 GB, free: 56.3 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01034/11.29, allocations: 4.72 MB / 3.765 GB, free: 54.67 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.01182/11.3, allocations: 2.058 MB / 3.767 GB, free: 54.5 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003354/11.3, allocations: 462 kB / 3.768 GB, free: 54.47 MB / 0.9636 GB Notification: Performance of SimCode: time 1.222e-06/11.3, allocations: 0 / 3.768 GB, free: 54.47 MB / 0.9636 GB Notification: Performance of Templates: time 0.2279/11.53, allocations: 117.5 MB / 3.883 GB, free: 9.777 MB / 0.9792 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)