Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.417/1.417, allocations: 249.5 MB / 257 MB, free: 6.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 187.4 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 205.3 MB / 0.5671 GB, free: 15.83 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007924/0.0007923, allocations: 99.42 kB / 0.6714 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.797e-05/2.796e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2012, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.4/1.601, allocations: 399.9 MB / 1.276 GB, free: 327 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/1.601, allocations: 88.77 kB / 1.276 GB, free: 327 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.812/9.414, allocations: 2.117 GB / 3.393 GB, free: 134.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.984e-06/9.414, allocations: 0 / 3.393 GB, free: 134.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001091/9.415, allocations: 189.2 kB / 3.393 GB, free: 134.9 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.01961/9.434, allocations: 6.124 MB / 3.399 GB, free: 132.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/9.434, allocations: 13.03 kB / 3.399 GB, free: 132.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004863/9.439, allocations: 0.8414 MB / 3.4 GB, free: 132.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01674/9.456, allocations: 7.686 MB / 3.407 GB, free: 131.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003176/9.456, allocations: 194.2 kB / 3.408 GB, free: 131.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002237/9.459, allocations: 365.2 kB / 3.408 GB, free: 131.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01475/9.473, allocations: 6.375 MB / 3.414 GB, free: 131.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02093/9.494, allocations: 7.336 MB / 3.421 GB, free: 130.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005101/9.495, allocations: 24.38 kB / 3.421 GB, free: 130.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002861/9.498, allocations: 7.5 kB / 3.421 GB, free: 130.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002505/9.498, allocations: 181.2 kB / 3.422 GB, free: 130.5 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.05356/9.552, allocations: 32.2 MB / 3.453 GB, free: 112.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006364/9.558, allocations: 4.123 MB / 3.457 GB, free: 111.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004383/9.563, allocations: 3.11 MB / 3.46 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001125/9.564, allocations: 0.9586 MB / 3.461 GB, free: 109.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003797/9.567, allocations: 2.174 MB / 3.463 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003527/9.571, allocations: 357 kB / 3.463 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=329): time 1.332e-05/9.571, allocations: 2.156 kB / 3.463 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=329): time 0.01037/9.581, allocations: 4.623 MB / 3.468 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/9.582, allocations: 83.22 kB / 3.468 GB, free: 106.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008547/9.59, allocations: 4.228 MB / 3.472 GB, free: 105.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0009385/9.591, allocations: 29.58 kB / 3.472 GB, free: 105.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.003173/9.594, allocations: 3.115 MB / 3.475 GB, free: 102.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001707/9.596, allocations: 1.12 MB / 3.476 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006834/9.597, allocations: 0 / 3.476 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0004056/9.597, allocations: 0.4927 MB / 3.477 GB, free: 101.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003097/9.6, allocations: 1.971 MB / 3.479 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003715/9.604, allocations: 3.444 MB / 3.482 GB, free: 98.18 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005022/9.609, allocations: 3.001 MB / 3.485 GB, free: 97.17 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.285e-05/9.609, allocations: 12.5 kB / 3.485 GB, free: 97.17 MB / 0.8855 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01227/9.621, allocations: 6.295 MB / 3.491 GB, free: 92.56 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.685e-05/9.621, allocations: 51.58 kB / 3.491 GB, free: 92.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.278e-05/9.622, allocations: 48 kB / 3.491 GB, free: 92.46 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/9.623, allocations: 431.3 kB / 3.492 GB, free: 92.11 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004675/9.627, allocations: 1.043 MB / 3.493 GB, free: 91.22 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004885/9.632, allocations: 5.147 MB / 3.498 GB, free: 86.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006043/9.638, allocations: 383 kB / 3.498 GB, free: 86.12 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001064/9.639, allocations: 219.6 kB / 3.498 GB, free: 85.92 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.001645/9.641, allocations: 248.9 kB / 3.499 GB, free: 85.67 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009198/9.65, allocations: 4.614 MB / 3.503 GB, free: 81.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001932/9.652, allocations: 474.1 kB / 3.504 GB, free: 81.23 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009816/9.662, allocations: 5.114 MB / 3.509 GB, free: 76.11 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.808e-05/9.662, allocations: 35.98 kB / 3.509 GB, free: 76.07 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.982e-05/9.662, allocations: 7.875 kB / 3.509 GB, free: 76.07 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006373/9.669, allocations: 4.506 MB / 3.513 GB, free: 71.45 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.02637/9.695, allocations: 11.24 MB / 3.524 GB, free: 60.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/9.695, allocations: 0 / 3.524 GB, free: 60.14 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003045/9.698, allocations: 0.6438 MB / 3.525 GB, free: 59.49 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008108/9.699, allocations: 360.5 kB / 3.525 GB, free: 59.14 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005427/9.699, allocations: 47.95 kB / 3.525 GB, free: 59.09 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00466/9.704, allocations: 5.055 MB / 3.53 GB, free: 53.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/9.704, allocations: 4 kB / 3.53 GB, free: 53.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01264/9.717, allocations: 7.584 MB / 3.537 GB, free: 46.09 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004181/9.721, allocations: 1.186 MB / 3.538 GB, free: 44.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001948/9.723, allocations: 19.36 kB / 3.539 GB, free: 44.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005155/9.728, allocations: 355.1 kB / 3.539 GB, free: 44.52 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005789/9.729, allocations: 202.3 kB / 3.539 GB, free: 44.32 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005079/9.729, allocations: 132.7 kB / 3.539 GB, free: 44.19 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.006361/9.736, allocations: 3.213 MB / 3.542 GB, free: 40.98 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.91e-07/9.736, allocations: 0 / 3.542 GB, free: 40.98 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01055/9.746, allocations: 2.016 MB / 3.544 GB, free: 38.96 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.0142/9.76, allocations: 9.07 MB / 3.553 GB, free: 29.89 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.007109/9.768, allocations: 5.004 MB / 3.558 GB, free: 24.86 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/9.768, allocations: 7.984 kB / 3.558 GB, free: 24.85 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00313/9.771, allocations: 2.379 MB / 3.56 GB, free: 22.45 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01371/9.785, allocations: 2.479 MB / 3.563 GB, free: 20.09 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03722/9.822, allocations: 13.43 MB / 3.576 GB, free: 6.703 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007177/9.829, allocations: 4.724 MB / 3.58 GB, free: 1.949 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.008426/9.838, allocations: 1.892 MB / 3.582 GB, free: 156 kB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0071/9.845, allocations: 2.659 MB / 3.585 GB, free: 13.51 MB / 0.9011 GB Notification: Performance of SimCode: time 1.113e-06/9.845, allocations: 0 / 3.585 GB, free: 13.51 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8294/10.67, allocations: 145.3 MB / 3.727 GB, free: 129.9 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002896/10.67, allocations: 193.9 kB / 3.727 GB, free: 129.7 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.653/17.33, allocations: 0 / 3.727 GB, free: 129.7 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)