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.276/2.276, allocations: 252.6 MB / 265.2 MB, free: 5.738 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.001477/0.001477, allocations: 182.2 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.062/2.062, allocations: 205.4 MB / 0.5754 GB, free: 10.48 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.001163/0.001163, allocations: 105.3 kB / 0.6797 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.365e-05/3.376e-05, allocations: 4 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1913, allocations: 106.2 MB / 0.8949 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.838/2.03, allocations: 399.4 MB / 1.285 GB, free: 243.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/2.03, allocations: 86.97 kB / 1.285 GB, free: 243.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 11.46/13.49, allocations: 2.128 GB / 3.413 GB, free: 135.5 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.354e-06/13.49, allocations: 0 / 3.413 GB, free: 135.5 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0012/13.49, allocations: 185.2 kB / 3.413 GB, free: 135.5 MB / 0.9011 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.02496/13.51, allocations: 6.119 MB / 3.419 GB, free: 133.3 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/13.51, allocations: 11.19 kB / 3.419 GB, free: 133.3 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006184/13.52, allocations: 0.835 MB / 3.42 GB, free: 132.9 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02667/13.55, allocations: 7.699 MB / 3.428 GB, free: 132.1 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006379/13.55, allocations: 460.5 kB / 3.428 GB, free: 132.1 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00284/13.55, allocations: 0.6028 MB / 3.429 GB, free: 132.1 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02745/13.58, allocations: 8.209 MB / 3.437 GB, free: 131.2 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003439/13.58, allocations: 20.28 kB / 3.437 GB, free: 131.2 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002035/13.58, allocations: 257.8 kB / 3.437 GB, free: 131.2 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002238/13.58, allocations: 186.2 kB / 3.437 GB, free: 131.2 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02153/13.6, allocations: 6.755 MB / 3.444 GB, free: 131.1 MB / 0.9011 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.0723/13.67, allocations: 33.37 MB / 3.476 GB, free: 112.8 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01014/13.68, allocations: 4.299 MB / 3.48 GB, free: 111.3 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007564/13.69, allocations: 3.479 MB / 3.484 GB, free: 110.1 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001783/13.69, allocations: 0.9632 MB / 3.485 GB, free: 109.2 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006179/13.7, allocations: 2.266 MB / 3.487 GB, free: 108.4 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004198/13.7, allocations: 486 kB / 3.488 GB, free: 108.1 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=329): time 1.29e-05/13.7, allocations: 0 / 3.488 GB, free: 108.1 MB / 0.9011 GB Notification: Performance of matching and sorting (n=329): time 0.01366/13.72, allocations: 4.58 MB / 3.492 GB, free: 106.4 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.273e-05/13.72, allocations: 93.59 kB / 3.492 GB, free: 106.3 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01376/13.73, allocations: 5.12 MB / 3.497 GB, free: 104.6 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.001029/13.73, allocations: 92.45 kB / 3.497 GB, free: 104.5 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.004503/13.74, allocations: 3.116 MB / 3.5 GB, free: 102.1 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.002142/13.74, allocations: 1.158 MB / 3.501 GB, free: 101.2 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005362/13.74, allocations: 92.34 kB / 3.501 GB, free: 101.2 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0003536/13.74, allocations: 492.2 kB / 3.502 GB, free: 100.8 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005322/13.75, allocations: 2.068 MB / 3.504 GB, free: 100 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007232/13.75, allocations: 3.557 MB / 3.507 GB, free: 97.45 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007484/13.76, allocations: 2.847 MB / 3.51 GB, free: 96.48 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.658e-05/13.76, allocations: 10.62 kB / 3.51 GB, free: 96.48 MB / 0.9011 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.02084/13.78, allocations: 6.562 MB / 3.517 GB, free: 94.13 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 9.963e-05/13.78, allocations: 52.48 kB / 3.517 GB, free: 94.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.424e-05/13.78, allocations: 53.98 kB / 3.517 GB, free: 94.09 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001661/13.78, allocations: 443.1 kB / 3.517 GB, free: 94 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008229/13.79, allocations: 1.042 MB / 3.518 GB, free: 93.89 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007903/13.8, allocations: 5.291 MB / 3.523 GB, free: 90.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009534/13.81, allocations: 474.6 kB / 3.524 GB, free: 89.98 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001336/13.81, allocations: 221 kB / 3.524 GB, free: 89.77 MB / 0.9011 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.001772/13.81, allocations: 392.4 kB / 3.524 GB, free: 89.38 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001925/13.81, allocations: 0.5241 MB / 3.525 GB, free: 88.86 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01848/13.83, allocations: 5.156 MB / 3.53 GB, free: 84.54 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-05/13.83, allocations: 32 kB / 3.53 GB, free: 84.5 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.959e-05/13.83, allocations: 4 kB / 3.53 GB, free: 84.5 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01626/13.85, allocations: 4.419 MB / 3.534 GB, free: 80.61 MB / 0.9011 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.05001/13.9, allocations: 11.9 MB / 3.546 GB, free: 71.12 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.302e-05/13.9, allocations: 1.75 kB / 3.546 GB, free: 71.12 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006578/13.91, allocations: 0.6457 MB / 3.546 GB, free: 70.6 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001452/13.91, allocations: 363 kB / 3.547 GB, free: 70.32 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008618/13.91, allocations: 90.47 kB / 3.547 GB, free: 70.25 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007287/13.92, allocations: 5.205 MB / 3.552 GB, free: 65.14 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/13.92, allocations: 3.938 kB / 3.552 GB, free: 65.14 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01868/13.93, allocations: 7.65 MB / 3.559 GB, free: 57.39 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005746/13.94, allocations: 1.248 MB / 3.561 GB, free: 56.12 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002361/13.94, allocations: 78.75 kB / 3.561 GB, free: 56.05 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008354/13.95, allocations: 408.7 kB / 3.561 GB, free: 55.68 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001189/13.95, allocations: 214.4 kB / 3.561 GB, free: 55.47 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00056/13.95, allocations: 127.9 kB / 3.561 GB, free: 55.34 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.01073/13.96, allocations: 3.982 MB / 3.565 GB, free: 51.38 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.262e-06/13.96, allocations: 0 / 3.565 GB, free: 51.38 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0109/13.98, allocations: 2.054 MB / 3.567 GB, free: 49.32 MB / 0.9011 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.00286/13.98, allocations: 0.8231 MB / 3.568 GB, free: 48.62 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01312/13.99, allocations: 5.26 MB / 3.573 GB, free: 43.31 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 8.966e-06/13.99, allocations: 0 / 3.573 GB, free: 43.31 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.006257/14, allocations: 2.467 MB / 3.576 GB, free: 40.82 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02622/14.02, allocations: 3.168 MB / 3.579 GB, free: 37.81 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0333/14.06, allocations: 11.89 MB / 3.59 GB, free: 25.97 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008774/14.07, allocations: 4.735 MB / 3.595 GB, free: 21.2 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.01209/14.08, allocations: 2.036 MB / 3.597 GB, free: 19.26 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003216/14.08, allocations: 471.2 kB / 3.597 GB, free: 18.8 MB / 0.9011 GB Notification: Performance of SimCode: time 1.563e-06/14.08, allocations: 0 / 3.597 GB, free: 18.8 MB / 0.9011 GB Notification: Performance of Templates: time 1.036/15.12, allocations: 118.9 MB / 3.714 GB, free: 117.9 MB / 0.9011 GB