Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.407/2.407, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001442/0.001442, allocations: 176.8 kB / 360.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.00115/0.00115, allocations: 86.33 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.843e-05/2.854e-05, allocations: 4 kB / 0.8508 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8652/0.8653, allocations: 115.3 MB / 0.9634 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.253/2.118, allocations: 406.4 MB / 1.36 GB, free: 161.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/2.118, allocations: 86.58 kB / 1.36 GB, free: 161.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 11.7/13.81, allocations: 2.172 GB / 3.532 GB, free: 132.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.446e-06/13.81, allocations: 0 / 3.532 GB, free: 132.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001147/13.81, allocations: 189 kB / 3.532 GB, free: 132.9 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.02598/13.84, allocations: 6.111 MB / 3.538 GB, free: 130.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.907e-05/13.84, allocations: 7.594 kB / 3.538 GB, free: 130.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006384/13.85, allocations: 0.8481 MB / 3.539 GB, free: 130.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02898/13.88, allocations: 7.7 MB / 3.546 GB, free: 129.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004772/13.88, allocations: 196.7 kB / 3.547 GB, free: 129.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002812/13.88, allocations: 359 kB / 3.547 GB, free: 129.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02066/13.9, allocations: 6.319 MB / 3.553 GB, free: 129.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02728/13.93, allocations: 7.43 MB / 3.56 GB, free: 128.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002965/13.93, allocations: 29.61 kB / 3.56 GB, free: 128.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002166/13.93, allocations: 13.48 kB / 3.56 GB, free: 128.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002294/13.93, allocations: 179.4 kB / 3.561 GB, free: 128.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.07097/14, allocations: 33.03 MB / 3.593 GB, free: 108.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009112/14.01, allocations: 4.013 MB / 3.597 GB, free: 106.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006841/14.02, allocations: 3.1 MB / 3.6 GB, free: 105.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001741/14.02, allocations: 0.9534 MB / 3.601 GB, free: 104.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005891/14.02, allocations: 2.193 MB / 3.603 GB, free: 103.9 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004358/14.03, allocations: 357.1 kB / 3.603 GB, free: 103.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=317): time 2.734e-05/14.03, allocations: 0 / 3.603 GB, free: 103.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=317): time 0.0142/14.04, allocations: 4.527 MB / 3.608 GB, free: 102.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.998e-05/14.04, allocations: 85.84 kB / 3.608 GB, free: 102 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01075/14.05, allocations: 4.252 MB / 3.612 GB, free: 100.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001085/14.06, allocations: 28.42 kB / 3.612 GB, free: 100.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004309/14.06, allocations: 3.145 MB / 3.615 GB, free: 98.02 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002141/14.06, allocations: 1.076 MB / 3.616 GB, free: 97.19 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004702/14.06, allocations: 3.188 kB / 3.616 GB, free: 97.19 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003651/14.06, allocations: 497 kB / 3.616 GB, free: 96.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004682/14.07, allocations: 1.961 MB / 3.618 GB, free: 96.08 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006203/14.07, allocations: 3.465 MB / 3.622 GB, free: 93.45 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008035/14.08, allocations: 2.952 MB / 3.625 GB, free: 92.49 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.299e-05/14.08, allocations: 14.09 kB / 3.625 GB, free: 92.49 MB / 0.948 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01873/14.1, allocations: 6.216 MB / 3.631 GB, free: 90.34 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.336e-05/14.1, allocations: 54.28 kB / 3.631 GB, free: 90.31 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.213e-05/14.1, allocations: 54.06 kB / 3.631 GB, free: 90.31 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00146/14.1, allocations: 430.1 kB / 3.631 GB, free: 90.21 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00784/14.11, allocations: 1.034 MB / 3.632 GB, free: 90.11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007672/14.12, allocations: 5.135 MB / 3.637 GB, free: 86.46 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009069/14.13, allocations: 386.4 kB / 3.638 GB, free: 86.39 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001426/14.13, allocations: 223.1 kB / 3.638 GB, free: 86.36 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.001304/14.13, allocations: 259.6 kB / 3.638 GB, free: 86.13 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01358/14.14, allocations: 4.523 MB / 3.643 GB, free: 83.96 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00265/14.15, allocations: 470.2 kB / 3.643 GB, free: 83.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01535/14.16, allocations: 5.008 MB / 3.648 GB, free: 79.38 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.974e-05/14.16, allocations: 32 kB / 3.648 GB, free: 79.35 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.301e-05/14.16, allocations: 4 kB / 3.648 GB, free: 79.35 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01177/14.17, allocations: 4.417 MB / 3.652 GB, free: 75.53 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.03583/14.21, allocations: 11.12 MB / 3.663 GB, free: 65.01 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.735e-05/14.21, allocations: 0 / 3.663 GB, free: 65.01 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005761/14.22, allocations: 0.6243 MB / 3.664 GB, free: 64.39 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001398/14.22, allocations: 361.3 kB / 3.664 GB, free: 64.03 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007508/14.22, allocations: 47.95 kB / 3.664 GB, free: 63.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007251/14.22, allocations: 5.044 MB / 3.669 GB, free: 58.72 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/14.22, allocations: 0 / 3.669 GB, free: 58.72 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01828/14.24, allocations: 7.432 MB / 3.676 GB, free: 51.16 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00548/14.25, allocations: 1.191 MB / 3.677 GB, free: 49.94 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001956/14.25, allocations: 15.98 kB / 3.677 GB, free: 49.93 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007864/14.26, allocations: 367 kB / 3.678 GB, free: 49.57 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001066/14.26, allocations: 198.2 kB / 3.678 GB, free: 49.37 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006015/14.26, allocations: 131.9 kB / 3.678 GB, free: 49.24 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.007982/14.27, allocations: 3.222 MB / 3.681 GB, free: 46.02 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.01e-07/14.27, allocations: 2.062 kB / 3.681 GB, free: 46.02 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01202/14.28, allocations: 2.021 MB / 3.683 GB, free: 44 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.02235/14.3, allocations: 8.888 MB / 3.692 GB, free: 35.11 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01201/14.31, allocations: 4.953 MB / 3.697 GB, free: 30.11 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.445e-05/14.32, allocations: 4 kB / 3.697 GB, free: 30.11 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005687/14.32, allocations: 2.335 MB / 3.699 GB, free: 27.75 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02127/14.34, allocations: 2.508 MB / 3.701 GB, free: 25.38 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04272/14.38, allocations: 13.13 MB / 3.714 GB, free: 12.27 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009095/14.39, allocations: 4.716 MB / 3.719 GB, free: 7.52 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01194/14.41, allocations: 1.893 MB / 3.721 GB, free: 5.719 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007818/14.41, allocations: 2.628 MB / 3.723 GB, free: 3.09 MB / 0.948 GB Notification: Performance of SimCode: time 1.182e-06/14.41, allocations: 4 kB / 3.723 GB, free: 3.086 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.133/15.55, allocations: 145.5 MB / 3.865 GB, free: 135.1 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002913/15.55, allocations: 180.5 kB / 3.866 GB, free: 134.9 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.964/23.51, allocations: 4 kB / 3.866 GB, free: 134.9 MB / 0.9636 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)