Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.769/1.769, allocations: 292.6 MB / 307.5 MB, free: 5.18 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.001363/0.001363, allocations: 191.9 kB / 377.1 MB, free: 1.508 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.914/1.914, allocations: 205.4 MB / 0.6366 GB, free: 8.621 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.00086/0.00086, allocations: 94.48 kB / 0.7509 GB, free: 62.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003954/0.0003952, allocations: 8 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.2999, allocations: 116.3 MB / 0.9884 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.668/1.968, allocations: 408.3 MB / 1.387 GB, free: 252 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/1.969, allocations: 92.14 kB / 1.387 GB, free: 252 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 8.085/10.05, allocations: 2.188 GB / 3.575 GB, free: 105.4 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.667e-06/10.05, allocations: 0 / 3.575 GB, free: 105.4 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001861/10.06, allocations: 187.3 kB / 3.575 GB, free: 105.4 MB / 0.9636 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.03338/10.09, allocations: 7.217 MB / 3.582 GB, free: 103.1 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/10.09, allocations: 9.094 kB / 3.582 GB, free: 103.1 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005031/10.09, allocations: 0.8431 MB / 3.583 GB, free: 103.1 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006314/10.1, allocations: 0.8436 MB / 3.584 GB, free: 102.7 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02211/10.12, allocations: 7.74 MB / 3.592 GB, free: 101.8 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006184/10.12, allocations: 460.2 kB / 3.592 GB, free: 101.8 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002823/10.13, allocations: 0.5982 MB / 3.593 GB, free: 101.8 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02435/10.15, allocations: 8.446 MB / 3.601 GB, free: 100.8 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000417/10.15, allocations: 18.28 kB / 3.601 GB, free: 100.8 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002393/10.15, allocations: 260.9 kB / 3.601 GB, free: 100.8 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000218/10.15, allocations: 184.3 kB / 3.601 GB, free: 100.8 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01675/10.17, allocations: 6.896 MB / 3.608 GB, free: 100.8 MB / 0.9636 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.06253/10.23, allocations: 34.21 MB / 3.642 GB, free: 86.02 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00817/10.24, allocations: 4.262 MB / 3.646 GB, free: 85.95 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001406/10.24, allocations: 0.9572 MB / 3.647 GB, free: 85.01 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005987/10.25, allocations: 2.356 MB / 3.649 GB, free: 84.91 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004638/10.25, allocations: 497.9 kB / 3.649 GB, free: 84.68 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=317): time 2.174e-05/10.25, allocations: 0 / 3.649 GB, free: 84.68 MB / 0.9636 GB Notification: Performance of matching and sorting (n=317): time 0.01638/10.27, allocations: 7.063 MB / 3.656 GB, free: 84.04 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/10.27, allocations: 84.47 kB / 3.656 GB, free: 83.98 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0139/10.28, allocations: 5.196 MB / 3.661 GB, free: 83.64 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.00112/10.29, allocations: 89.14 kB / 3.662 GB, free: 83.61 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.004008/10.29, allocations: 3.141 MB / 3.665 GB, free: 82.36 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.002418/10.29, allocations: 1.123 MB / 3.666 GB, free: 81.66 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003709/10.29, allocations: 90.66 kB / 3.666 GB, free: 81.66 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003302/10.29, allocations: 490.9 kB / 3.666 GB, free: 81.35 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004445/10.3, allocations: 2.124 MB / 3.668 GB, free: 81.34 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005204/10.3, allocations: 3.664 MB / 3.672 GB, free: 79.5 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004972/10.31, allocations: 2.895 MB / 3.675 GB, free: 79.42 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.803e-05/10.31, allocations: 14.8 kB / 3.675 GB, free: 79.42 MB / 0.9636 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01265/10.32, allocations: 6.693 MB / 3.681 GB, free: 78.98 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 8.211e-05/10.32, allocations: 57.53 kB / 3.681 GB, free: 78.95 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.638e-05/10.32, allocations: 48.84 kB / 3.681 GB, free: 78.95 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/10.32, allocations: 438 kB / 3.682 GB, free: 78.93 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004337/10.33, allocations: 1.036 MB / 3.683 GB, free: 78.92 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005409/10.33, allocations: 5.401 MB / 3.688 GB, free: 76.21 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007998/10.34, allocations: 475.6 kB / 3.689 GB, free: 76.16 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001563/10.34, allocations: 219 kB / 3.689 GB, free: 76.16 MB / 0.9636 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 () * Number of clocked 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.006973/10.35, allocations: 2.456 MB / 3.691 GB, free: 76.02 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002085/10.35, allocations: 0.5245 MB / 3.692 GB, free: 75.75 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009379/10.36, allocations: 5.224 MB / 3.697 GB, free: 75.51 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.993e-05/10.36, allocations: 28.03 kB / 3.697 GB, free: 75.51 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/10.36, allocations: 3.969 kB / 3.697 GB, free: 75.51 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006117/10.36, allocations: 4.49 MB / 3.701 GB, free: 75.05 MB / 0.9636 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.02696/10.39, allocations: 11.82 MB / 3.713 GB, free: 74.26 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/10.39, allocations: 2.812 kB / 3.713 GB, free: 74.26 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002706/10.39, allocations: 0.6261 MB / 3.713 GB, free: 74.26 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009352/10.4, allocations: 368.2 kB / 3.714 GB, free: 74.24 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003574/10.4, allocations: 81.42 kB / 3.714 GB, free: 74.24 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004652/10.4, allocations: 5.313 MB / 3.719 GB, free: 71.52 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.748e-06/10.4, allocations: 4.156 kB / 3.719 GB, free: 71.52 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01204/10.41, allocations: 7.733 MB / 3.727 GB, free: 69.48 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005667/10.42, allocations: 1.258 MB / 3.728 GB, free: 68.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002599/10.42, allocations: 68.45 kB / 3.728 GB, free: 68.76 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006444/10.43, allocations: 424.8 kB / 3.728 GB, free: 68.69 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005827/10.43, allocations: 192.8 kB / 3.728 GB, free: 68.67 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005923/10.43, allocations: 141.3 kB / 3.729 GB, free: 68.64 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.008877/10.44, allocations: 4.04 MB / 3.732 GB, free: 67.25 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.973e-06/10.44, allocations: 0 / 3.732 GB, free: 67.25 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01242/10.45, allocations: 2.062 MB / 3.735 GB, free: 66.82 MB / 0.9636 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) * Number of clocked states: 0 () * 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.01773/10.47, allocations: 9.228 MB / 3.744 GB, free: 62.73 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.009661/10.48, allocations: 5.35 MB / 3.749 GB, free: 60.87 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/10.48, allocations: 0 / 3.749 GB, free: 60.87 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.004271/10.48, allocations: 2.504 MB / 3.751 GB, free: 59.88 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01822/10.5, allocations: 3.163 MB / 3.754 GB, free: 59.38 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1515/10.65, allocations: 84.16 MB / 3.836 GB, free: 28.65 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007637/10.66, allocations: 4.717 MB / 3.841 GB, free: 27.02 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.009854/10.67, allocations: 2.056 MB / 3.843 GB, free: 26.84 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006335/10.68, allocations: 2.652 MB / 3.846 GB, free: 24.79 MB / 0.9948 GB Notification: Performance of SimCode: time 1.933e-06/10.68, allocations: 0 / 3.846 GB, free: 24.79 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8657/11.54, allocations: 175.2 MB / 4.017 GB, free: 117.1 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002042/11.54, allocations: 248.4 kB / 4.017 GB, free: 116.8 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.285/19.83, allocations: 3.938 kB / 4.017 GB, free: 116.8 MB / 0.9948 GB (rm -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)