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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.719/1.719, allocations: 293 MB / 309 MB, free: 4.805 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.001061/0.00106, allocations: 167.3 kB / 378.7 MB, free: 1.031 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.866/1.866, allocations: 205.4 MB / 0.6383 GB, free: 8.191 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.000809/0.0008092, allocations: 95.06 kB / 0.7527 GB, free: 62.75 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004681/0.0004682, allocations: 12 kB / 0.8768 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2882, allocations: 116.4 MB / 0.9904 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.502/1.79, allocations: 408.4 MB / 1.389 GB, free: 278.3 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003173/1.791, allocations: 94.77 kB / 1.389 GB, free: 278.3 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 7.993/9.784, allocations: 2.174 GB / 3.564 GB, free: 106.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.407e-06/9.784, allocations: 0 / 3.564 GB, free: 106.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.00146/9.785, allocations: 185.1 kB / 3.564 GB, free: 106.7 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.02843/9.814, allocations: 7.135 MB / 3.571 GB, free: 104.4 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/9.814, allocations: 10.09 kB / 3.571 GB, free: 104.4 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006178/9.82, allocations: 0.8483 MB / 3.572 GB, free: 104 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02091/9.841, allocations: 7.489 MB / 3.579 GB, free: 103 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008169/9.842, allocations: 458.8 kB / 3.579 GB, free: 103 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003559/9.845, allocations: 0.5995 MB / 3.58 GB, free: 103 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02744/9.873, allocations: 8.492 MB / 3.588 GB, free: 102 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005051/9.873, allocations: 22.88 kB / 3.588 GB, free: 102 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00289/9.876, allocations: 262.3 kB / 3.589 GB, free: 102 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002744/9.877, allocations: 183 kB / 3.589 GB, free: 102 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02233/9.899, allocations: 6.896 MB / 3.595 GB, free: 101.9 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.06807/9.967, allocations: 33.99 MB / 3.629 GB, free: 87.18 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00779/9.975, allocations: 4.214 MB / 3.633 GB, free: 87.11 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005851/9.981, allocations: 3.506 MB / 3.636 GB, free: 87.04 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001366/9.982, allocations: 0.9569 MB / 3.637 GB, free: 86.1 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005659/9.988, allocations: 2.349 MB / 3.639 GB, free: 85.99 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004632/9.993, allocations: 454.2 kB / 3.64 GB, free: 85.79 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=317): time 3.647e-05/9.993, allocations: 1.031 kB / 3.64 GB, free: 85.79 MB / 0.9636 GB Notification: Performance of matching and sorting (n=317): time 0.01675/10.01, allocations: 7.022 MB / 3.647 GB, free: 85.16 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.899e-05/10.01, allocations: 89.16 kB / 3.647 GB, free: 85.1 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01462/10.02, allocations: 5.358 MB / 3.652 GB, free: 84.72 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001086/10.03, allocations: 94.19 kB / 3.652 GB, free: 84.69 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.005733/10.03, allocations: 3.156 MB / 3.655 GB, free: 83.45 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.002821/10.03, allocations: 1.117 MB / 3.656 GB, free: 82.75 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000975/10.03, allocations: 87.88 kB / 3.656 GB, free: 82.75 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0006093/10.04, allocations: 491 kB / 3.657 GB, free: 82.44 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004783/10.04, allocations: 2.106 MB / 3.659 GB, free: 82.42 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006047/10.05, allocations: 3.659 MB / 3.663 GB, free: 80.59 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01142/10.06, allocations: 6.221 MB / 3.669 GB, free: 78.73 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000125/10.06, allocations: 14.47 kB / 3.669 GB, free: 78.73 MB / 0.9636 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01571/10.07, allocations: 6.651 MB / 3.675 GB, free: 78.29 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001504/10.07, allocations: 54.33 kB / 3.675 GB, free: 78.25 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001152/10.07, allocations: 48.53 kB / 3.675 GB, free: 78.25 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/10.08, allocations: 435.9 kB / 3.676 GB, free: 78.23 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003971/10.08, allocations: 0.9841 MB / 3.677 GB, free: 78.23 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005555/10.08, allocations: 5.328 MB / 3.682 GB, free: 75.51 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007452/10.09, allocations: 461.4 kB / 3.682 GB, free: 75.46 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001394/10.09, allocations: 219.8 kB / 3.682 GB, free: 75.46 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.007699/10.1, allocations: 2.462 MB / 3.685 GB, free: 75.32 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002454/10.1, allocations: 0.5213 MB / 3.685 GB, free: 75.05 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01288/10.12, allocations: 5.152 MB / 3.69 GB, free: 74.82 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-05/10.12, allocations: 31.34 kB / 3.69 GB, free: 74.82 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.568e-05/10.12, allocations: 9.031 kB / 3.69 GB, free: 74.82 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007716/10.12, allocations: 4.459 MB / 3.695 GB, free: 74.34 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.03397/10.16, allocations: 11.83 MB / 3.706 GB, free: 73.46 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.668e-05/10.16, allocations: 3.656 kB / 3.706 GB, free: 73.46 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003111/10.16, allocations: 0.6524 MB / 3.707 GB, free: 73.46 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008484/10.16, allocations: 368.7 kB / 3.707 GB, free: 73.45 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000625/10.16, allocations: 85.67 kB / 3.707 GB, free: 73.44 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004884/10.17, allocations: 5.225 MB / 3.712 GB, free: 70.72 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/10.17, allocations: 0.7812 kB / 3.712 GB, free: 70.72 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01426/10.18, allocations: 7.552 MB / 3.72 GB, free: 70.09 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005237/10.19, allocations: 1.195 MB / 3.721 GB, free: 69.72 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002736/10.19, allocations: 64.34 kB / 3.721 GB, free: 69.72 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006543/10.2, allocations: 454 kB / 3.722 GB, free: 69.7 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009695/10.2, allocations: 199 kB / 3.722 GB, free: 69.69 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008609/10.2, allocations: 140.2 kB / 3.722 GB, free: 69.69 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.01069/10.21, allocations: 3.715 MB / 3.725 GB, free: 68.51 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.72e-07/10.21, allocations: 0 / 3.725 GB, free: 68.51 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01198/10.22, allocations: 2.034 MB / 3.727 GB, free: 68.09 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.00314/10.22, allocations: 0.8177 MB / 3.728 GB, free: 67.85 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.012/10.24, allocations: 5.322 MB / 3.733 GB, free: 66 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-05/10.24, allocations: 3.781 kB / 3.733 GB, free: 65.99 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.005391/10.24, allocations: 2.472 MB / 3.736 GB, free: 65.02 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0231/10.27, allocations: 3.181 MB / 3.739 GB, free: 64.5 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03678/10.3, allocations: 16.02 MB / 3.755 GB, free: 57.01 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009964/10.31, allocations: 4.599 MB / 3.759 GB, free: 55.38 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.01149/10.32, allocations: 1.998 MB / 3.761 GB, free: 55.21 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003225/10.33, allocations: 465.8 kB / 3.762 GB, free: 55.18 MB / 0.9636 GB Notification: Performance of SimCode: time 1.172e-06/10.33, allocations: 0 / 3.762 GB, free: 55.18 MB / 0.9636 GB Notification: Performance of Templates: time 0.2399/10.57, allocations: 117.9 MB / 3.877 GB, free: 14.14 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)