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: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.543/1.543, allocations: 285.6 MB / 293.1 MB, free: 10.15 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.001388/0.001388, allocations: 172.9 kB / 361.4 MB, free: 6.828 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.532/1.532, allocations: 205.2 MB / 0.62 GB, free: 11.67 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.0008397/0.0008396, allocations: 91.53 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.134e-05/3.111e-05, allocations: 4 kB / 0.8518 GB, free: 2.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6771/0.6771, allocations: 115.3 MB / 0.9644 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.031/1.708, allocations: 406.6 MB / 1.361 GB, free: 160.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/1.708, allocations: 90.02 kB / 1.362 GB, free: 160.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.668/10.38, allocations: 2.172 GB / 3.533 GB, free: 130.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.873e-06/10.38, allocations: 0 / 3.533 GB, free: 130.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001197/10.38, allocations: 183.8 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.02297/10.4, allocations: 6.111 MB / 3.539 GB, free: 128.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/10.4, allocations: 11.44 kB / 3.539 GB, free: 128.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006482/10.41, allocations: 0.8451 MB / 3.54 GB, free: 128.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02223/10.43, allocations: 7.71 MB / 3.548 GB, free: 127.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005175/10.43, allocations: 201.2 kB / 3.548 GB, free: 127.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002931/10.43, allocations: 354.5 kB / 3.548 GB, free: 127.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01862/10.45, allocations: 6.325 MB / 3.554 GB, free: 127.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03019/10.48, allocations: 7.433 MB / 3.562 GB, free: 126.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005893/10.48, allocations: 22.38 kB / 3.562 GB, free: 126.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003466/10.49, allocations: 10.75 kB / 3.562 GB, free: 126.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002794/10.49, allocations: 185.8 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.06977/10.56, allocations: 33.03 MB / 3.594 GB, free: 105.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008267/10.56, allocations: 4.001 MB / 3.598 GB, free: 104.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005697/10.57, allocations: 3.097 MB / 3.601 GB, free: 103.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001389/10.57, allocations: 0.9562 MB / 3.602 GB, free: 102.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004757/10.58, allocations: 2.185 MB / 3.604 GB, free: 101.5 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004477/10.58, allocations: 359.1 kB / 3.604 GB, free: 101.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=317): time 1.957e-05/10.58, allocations: 0 / 3.604 GB, free: 101.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=317): time 0.01187/10.59, allocations: 4.528 MB / 3.609 GB, free: 99.68 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/10.59, allocations: 86.83 kB / 3.609 GB, free: 99.61 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01136/10.6, allocations: 4.239 MB / 3.613 GB, free: 98.05 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001193/10.61, allocations: 33.45 kB / 3.613 GB, free: 98.02 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004583/10.61, allocations: 3.144 MB / 3.616 GB, free: 95.64 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002653/10.61, allocations: 1.075 MB / 3.617 GB, free: 94.81 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001094/10.61, allocations: 3.875 kB / 3.617 GB, free: 94.81 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0005499/10.61, allocations: 493.4 kB / 3.618 GB, free: 94.42 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004088/10.62, allocations: 1.964 MB / 3.62 GB, free: 93.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005338/10.62, allocations: 3.469 MB / 3.623 GB, free: 91.06 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00626/10.63, allocations: 2.952 MB / 3.626 GB, free: 90.05 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001065/10.63, allocations: 11.81 kB / 3.626 GB, free: 90.05 MB / 0.948 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01638/10.65, allocations: 6.22 MB / 3.632 GB, free: 87.89 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001242/10.65, allocations: 63.8 kB / 3.632 GB, free: 87.85 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001388/10.65, allocations: 51.81 kB / 3.632 GB, free: 87.85 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/10.65, allocations: 425.2 kB / 3.632 GB, free: 87.76 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004705/10.65, allocations: 1.036 MB / 3.633 GB, free: 87.65 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006317/10.66, allocations: 5.122 MB / 3.638 GB, free: 83.98 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008514/10.67, allocations: 387.1 kB / 3.639 GB, free: 83.91 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001675/10.67, allocations: 224.4 kB / 3.639 GB, free: 83.88 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.002596/10.67, allocations: 260.8 kB / 3.639 GB, free: 83.64 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01432/10.69, allocations: 4.524 MB / 3.644 GB, free: 80.35 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003854/10.69, allocations: 470.2 kB / 3.644 GB, free: 79.88 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01516/10.71, allocations: 5.009 MB / 3.649 GB, free: 75.77 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.909e-05/10.71, allocations: 35.95 kB / 3.649 GB, free: 75.73 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.243e-05/10.71, allocations: 4 kB / 3.649 GB, free: 75.73 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008121/10.71, allocations: 4.421 MB / 3.653 GB, free: 71.7 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.03427/10.75, allocations: 11.11 MB / 3.664 GB, free: 60.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.181e-05/10.75, allocations: 0 / 3.664 GB, free: 60.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003519/10.75, allocations: 0.6243 MB / 3.665 GB, free: 59.87 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001005/10.75, allocations: 364.7 kB / 3.665 GB, free: 59.51 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008831/10.75, allocations: 47.95 kB / 3.665 GB, free: 59.46 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005504/10.76, allocations: 5.044 MB / 3.67 GB, free: 54.21 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-05/10.76, allocations: 7.938 kB / 3.67 GB, free: 54.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01422/10.77, allocations: 7.439 MB / 3.677 GB, free: 46.63 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004727/10.78, allocations: 1.186 MB / 3.679 GB, free: 45.42 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00214/10.78, allocations: 19.98 kB / 3.679 GB, free: 45.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005249/10.79, allocations: 359.1 kB / 3.679 GB, free: 45.05 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004807/10.79, allocations: 202.2 kB / 3.679 GB, free: 44.85 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004791/10.79, allocations: 139.9 kB / 3.679 GB, free: 44.71 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00588/10.79, allocations: 3.218 MB / 3.682 GB, free: 41.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.21e-07/10.79, allocations: 0 / 3.682 GB, free: 41.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01149/10.8, allocations: 2.014 MB / 3.684 GB, free: 39.48 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.01411/10.82, allocations: 8.895 MB / 3.693 GB, free: 30.58 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007901/10.83, allocations: 4.944 MB / 3.698 GB, free: 25.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.441e-05/10.83, allocations: 1.625 kB / 3.698 GB, free: 25.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004042/10.83, allocations: 2.343 MB / 3.7 GB, free: 23.23 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01609/10.85, allocations: 2.493 MB / 3.703 GB, free: 20.86 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03931/10.89, allocations: 13.13 MB / 3.715 GB, free: 7.746 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005273/10.89, allocations: 4.717 MB / 3.72 GB, free: 2.996 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.008601/10.9, allocations: 1.893 MB / 3.722 GB, free: 1.199 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006268/10.91, allocations: 2.643 MB / 3.725 GB, free: 14.58 MB / 0.9636 GB Notification: Performance of SimCode: time 1.543e-06/10.91, allocations: 0 / 3.725 GB, free: 14.58 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.003/11.91, allocations: 145.5 MB / 3.867 GB, free: 135.4 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/11.91, allocations: 192.5 kB / 3.867 GB, free: 135.2 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.824/18.73, allocations: 0 / 3.867 GB, free: 135.2 MB / 0.9636 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)