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.595/1.595, allocations: 285.6 MB / 293.1 MB, free: 10.26 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.001047/0.001047, allocations: 180.8 kB / 361.4 MB, free: 6.871 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.522/1.522, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0007972/0.0007972, allocations: 99.5 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.948e-05/1.986e-05, allocations: 4 kB / 0.8517 GB, free: 2.77 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.675/0.675, allocations: 115.3 MB / 0.9644 GB, free: 78.85 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9705/1.646, allocations: 406.6 MB / 1.361 GB, free: 160.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/1.646, allocations: 85.83 kB / 1.361 GB, free: 160.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.054/9.7, allocations: 2.172 GB / 3.533 GB, free: 130.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.354e-06/9.7, allocations: 0 / 3.533 GB, free: 130.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.00125/9.701, allocations: 190.1 kB / 3.533 GB, free: 130.8 MB / 0.948 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.02268/9.724, allocations: 6.107 MB / 3.539 GB, free: 128.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/9.724, allocations: 9.281 kB / 3.539 GB, free: 128.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006101/9.73, allocations: 0.8519 MB / 3.54 GB, free: 128.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02068/9.751, allocations: 7.699 MB / 3.548 GB, free: 127.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005136/9.752, allocations: 194.3 kB / 3.548 GB, free: 127.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003038/9.755, allocations: 356.8 kB / 3.548 GB, free: 127.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01793/9.773, allocations: 6.32 MB / 3.554 GB, free: 127.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02348/9.796, allocations: 7.433 MB / 3.561 GB, free: 126.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004971/9.797, allocations: 22.64 kB / 3.561 GB, free: 126.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002535/9.799, allocations: 10.5 kB / 3.562 GB, free: 126.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002253/9.8, allocations: 192 kB / 3.562 GB, free: 126.4 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.05329/9.853, allocations: 33.03 MB / 3.594 GB, free: 105.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006552/9.859, allocations: 4.005 MB / 3.598 GB, free: 104.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004466/9.864, allocations: 3.102 MB / 3.601 GB, free: 103.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001204/9.865, allocations: 0.9572 MB / 3.602 GB, free: 102.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003919/9.869, allocations: 2.179 MB / 3.604 GB, free: 101.3 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003529/9.873, allocations: 355.1 kB / 3.604 GB, free: 101.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=317): time 1.156e-05/9.873, allocations: 0 / 3.604 GB, free: 101.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=317): time 0.009545/9.882, allocations: 4.526 MB / 3.609 GB, free: 99.55 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/9.882, allocations: 90.25 kB / 3.609 GB, free: 99.49 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009483/9.892, allocations: 4.247 MB / 3.613 GB, free: 97.92 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001066/9.893, allocations: 28.98 kB / 3.613 GB, free: 97.89 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003818/9.897, allocations: 3.143 MB / 3.616 GB, free: 95.51 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00195/9.899, allocations: 1.085 MB / 3.617 GB, free: 94.68 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007278/9.9, allocations: 2.344 kB / 3.617 GB, free: 94.68 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0004282/9.9, allocations: 496.5 kB / 3.618 GB, free: 94.29 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003198/9.903, allocations: 1.958 MB / 3.619 GB, free: 93.57 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003993/9.907, allocations: 3.463 MB / 3.623 GB, free: 90.92 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004972/9.912, allocations: 2.949 MB / 3.626 GB, free: 89.92 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.749e-05/9.912, allocations: 17.12 kB / 3.626 GB, free: 89.92 MB / 0.948 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01209/9.924, allocations: 6.22 MB / 3.632 GB, free: 87.75 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.161e-05/9.925, allocations: 57.05 kB / 3.632 GB, free: 87.72 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.144e-05/9.925, allocations: 47.12 kB / 3.632 GB, free: 87.72 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009626/9.926, allocations: 430.1 kB / 3.632 GB, free: 87.63 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003818/9.929, allocations: 1.03 MB / 3.633 GB, free: 87.53 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005072/9.934, allocations: 5.142 MB / 3.638 GB, free: 83.87 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006593/9.941, allocations: 391.3 kB / 3.639 GB, free: 83.79 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001262/9.942, allocations: 219.1 kB / 3.639 GB, free: 83.76 MB / 0.948 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 () * 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.002209/9.945, allocations: 258.3 kB / 3.639 GB, free: 83.53 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002747/9.947, allocations: 467.6 kB / 3.64 GB, free: 83.29 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01082/9.958, allocations: 4.997 MB / 3.645 GB, free: 79.98 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.582e-05/9.958, allocations: 32 kB / 3.645 GB, free: 79.95 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.696e-05/9.958, allocations: 4 kB / 3.645 GB, free: 79.95 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006111/9.964, allocations: 4.434 MB / 3.649 GB, free: 76.11 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.0246/9.989, allocations: 11.11 MB / 3.66 GB, free: 65.45 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/9.989, allocations: 2.531 kB / 3.66 GB, free: 65.45 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002692/9.992, allocations: 0.6242 MB / 3.66 GB, free: 64.82 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007618/9.993, allocations: 363.5 kB / 3.661 GB, free: 64.46 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000326/9.993, allocations: 43.95 kB / 3.661 GB, free: 64.42 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004444/9.997, allocations: 5.046 MB / 3.666 GB, free: 59.16 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/9.997, allocations: 4 kB / 3.666 GB, free: 59.16 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01058/10.01, allocations: 7.433 MB / 3.673 GB, free: 51.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003751/10.01, allocations: 1.186 MB / 3.674 GB, free: 50.39 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001617/10.01, allocations: 23.98 kB / 3.674 GB, free: 50.36 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004567/10.02, allocations: 359.2 kB / 3.674 GB, free: 50.01 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000388/10.02, allocations: 202.2 kB / 3.675 GB, free: 49.81 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004071/10.02, allocations: 135.9 kB / 3.675 GB, free: 49.68 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.005858/10.02, allocations: 3.222 MB / 3.678 GB, free: 46.46 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.91e-07/10.02, allocations: 0 / 3.678 GB, free: 46.46 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.009024/10.03, allocations: 2.024 MB / 3.68 GB, free: 44.43 MB / 0.948 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) * 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.002067/10.04, allocations: 0.777 MB / 3.681 GB, free: 43.76 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007021/10.04, allocations: 4.945 MB / 3.685 GB, free: 38.78 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/10.04, allocations: 12.06 kB / 3.686 GB, free: 38.77 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002846/10.05, allocations: 2.339 MB / 3.688 GB, free: 36.41 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01175/10.06, allocations: 2.496 MB / 3.69 GB, free: 34.04 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01984/10.08, allocations: 11.24 MB / 3.701 GB, free: 22.82 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00469/10.08, allocations: 4.719 MB / 3.706 GB, free: 18.07 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005909/10.09, allocations: 1.896 MB / 3.708 GB, free: 16.26 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001285/10.09, allocations: 427.3 kB / 3.708 GB, free: 15.84 MB / 0.948 GB Notification: Performance of SimCode: time 7.91e-07/10.09, allocations: 4 kB / 3.708 GB, free: 15.84 MB / 0.948 GB Notification: Performance of Templates: time 0.7951/10.88, allocations: 93.27 MB / 3.799 GB, free: 140.4 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)