Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/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") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.239/2.239, allocations: 253.2 MB / 260.6 MB, free: 7.484 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001516/0.001515, allocations: 180.8 kB / 319.9 MB, free: 3.082 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.087/2.087, allocations: 205.6 MB / 0.5708 GB, free: 15.25 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 96.56 kB / 0.6751 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.221e-05/2.232e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.1995, allocations: 106.3 MB / 0.8887 GB, free: 11.88 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.863/2.063, allocations: 399.7 MB / 1.279 GB, free: 258.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/2.063, allocations: 88.27 kB / 1.279 GB, free: 258.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 11.22/13.29, allocations: 2.117 GB / 3.396 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.735e-06/13.29, allocations: 0 / 3.396 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001175/13.29, allocations: 183.2 kB / 3.396 GB, free: 124.7 MB / 0.8855 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.02634/13.31, allocations: 6.12 MB / 3.402 GB, free: 122.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 7.595e-05/13.31, allocations: 9.594 kB / 3.402 GB, free: 122.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006681/13.32, allocations: 0.845 MB / 3.403 GB, free: 122.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02725/13.35, allocations: 7.686 MB / 3.411 GB, free: 121.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004209/13.35, allocations: 197.8 kB / 3.411 GB, free: 121.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002838/13.35, allocations: 361.7 kB / 3.411 GB, free: 121.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02084/13.37, allocations: 6.37 MB / 3.417 GB, free: 121.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02737/13.4, allocations: 7.33 MB / 3.425 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004118/13.4, allocations: 22.31 kB / 3.425 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002571/13.4, allocations: 15.02 kB / 3.425 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002499/13.4, allocations: 178.4 kB / 3.425 GB, free: 120.4 MB / 0.8855 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.0718/13.48, allocations: 32.2 MB / 3.456 GB, free: 102.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009298/13.48, allocations: 4.122 MB / 3.46 GB, free: 100.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00693/13.49, allocations: 3.107 MB / 3.463 GB, free: 99.49 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001752/13.49, allocations: 0.9633 MB / 3.464 GB, free: 98.53 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006197/13.5, allocations: 2.168 MB / 3.466 GB, free: 97.75 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004424/13.5, allocations: 361.3 kB / 3.467 GB, free: 97.58 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=329): time 2.926e-05/13.5, allocations: 0 / 3.467 GB, free: 97.58 MB / 0.8855 GB Notification: Performance of matching and sorting (n=329): time 0.01457/13.52, allocations: 4.619 MB / 3.471 GB, free: 95.92 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/13.52, allocations: 88.28 kB / 3.471 GB, free: 95.86 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01065/13.53, allocations: 4.228 MB / 3.475 GB, free: 94.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001066/13.53, allocations: 29.58 kB / 3.475 GB, free: 94.27 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.004358/13.54, allocations: 3.117 MB / 3.478 GB, free: 91.91 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.002171/13.54, allocations: 1.113 MB / 3.48 GB, free: 91.05 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004885/13.54, allocations: 5.297 kB / 3.48 GB, free: 91.05 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0003731/13.54, allocations: 494.2 kB / 3.48 GB, free: 90.66 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004874/13.54, allocations: 1.977 MB / 3.482 GB, free: 89.94 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006358/13.55, allocations: 3.443 MB / 3.485 GB, free: 87.34 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00857/13.56, allocations: 3.006 MB / 3.488 GB, free: 85.22 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-05/13.56, allocations: 14.62 kB / 3.488 GB, free: 85.21 MB / 0.8855 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.0191/13.58, allocations: 6.3 MB / 3.494 GB, free: 79.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.467e-05/13.58, allocations: 53.7 kB / 3.494 GB, free: 79.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-05/13.58, allocations: 44 kB / 3.494 GB, free: 79.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001597/13.58, allocations: 426.6 kB / 3.495 GB, free: 79.35 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00812/13.59, allocations: 1.046 MB / 3.496 GB, free: 78.45 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007803/13.6, allocations: 5.136 MB / 3.501 GB, free: 73.42 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008898/13.6, allocations: 382.8 kB / 3.501 GB, free: 73.04 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001477/13.61, allocations: 224 kB / 3.501 GB, free: 72.82 MB / 0.8855 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 () * 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.001973/13.61, allocations: 245.2 kB / 3.502 GB, free: 72.58 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001891/13.61, allocations: 470.2 kB / 3.502 GB, free: 72.11 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01678/13.63, allocations: 5.119 MB / 3.507 GB, free: 66.96 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.693e-05/13.63, allocations: 32 kB / 3.507 GB, free: 66.93 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/13.63, allocations: 4 kB / 3.507 GB, free: 66.92 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01341/13.64, allocations: 4.503 MB / 3.512 GB, free: 62.31 MB / 0.8855 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.03809/13.68, allocations: 11.22 MB / 3.523 GB, free: 51 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-05/13.68, allocations: 0 / 3.523 GB, free: 51 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006131/13.68, allocations: 0.6476 MB / 3.523 GB, free: 50.36 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001428/13.69, allocations: 370 kB / 3.524 GB, free: 49.99 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009203/13.69, allocations: 43.95 kB / 3.524 GB, free: 49.95 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007609/13.69, allocations: 5.055 MB / 3.529 GB, free: 44.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/13.69, allocations: 4 kB / 3.529 GB, free: 44.67 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01972/13.71, allocations: 7.6 MB / 3.536 GB, free: 36.94 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005662/13.72, allocations: 1.175 MB / 3.537 GB, free: 35.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002439/13.72, allocations: 15.98 kB / 3.537 GB, free: 35.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007999/13.73, allocations: 359.2 kB / 3.537 GB, free: 35.38 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001135/13.73, allocations: 206.2 kB / 3.538 GB, free: 35.17 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005953/13.73, allocations: 131.9 kB / 3.538 GB, free: 35.04 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.008213/13.74, allocations: 3.21 MB / 3.541 GB, free: 31.84 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.112e-06/13.74, allocations: 4 kB / 3.541 GB, free: 31.83 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0121/13.75, allocations: 2.018 MB / 3.543 GB, free: 29.81 MB / 0.8855 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) * 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.002746/13.76, allocations: 0.7998 MB / 3.544 GB, free: 29.13 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01206/13.77, allocations: 5.008 MB / 3.549 GB, free: 24.09 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/13.77, allocations: 4 kB / 3.549 GB, free: 24.08 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00643/13.77, allocations: 2.377 MB / 3.551 GB, free: 21.69 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02113/13.8, allocations: 2.489 MB / 3.553 GB, free: 19.32 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03863/13.83, allocations: 11.53 MB / 3.565 GB, free: 7.832 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0143/13.85, allocations: 4.733 MB / 3.569 GB, free: 3.066 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01765/13.87, allocations: 1.898 MB / 3.571 GB, free: 1.246 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004453/13.87, allocations: 439.2 kB / 3.571 GB, free: 0.8164 MB / 0.8855 GB Notification: Performance of SimCode: time 2.254e-06/13.87, allocations: 0 / 3.571 GB, free: 0.8164 MB / 0.8855 GB Notification: Performance of Templates: time 1.055/14.93, allocations: 92.86 MB / 3.662 GB, free: 131.3 MB / 0.9011 GB