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.831/1.831, allocations: 288.4 MB / 303.3 MB, free: 8.211 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.0009946/0.0009943, allocations: 183.1 kB / 372 MB, free: 10.25 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.795/1.795, allocations: 205.4 MB / 0.6307 GB, free: 9.953 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001175/0.001174, allocations: 90.36 kB / 0.744 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004302/0.0004304, allocations: 11.28 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2552, allocations: 115.3 MB / 0.9796 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04517/0.3004, allocations: 51.54 MB / 1.03 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02503/0.3255, allocations: 16.74 MB / 1.046 GB, free: 7.098 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00421/0.3298, allocations: 67.56 kB / 1.046 GB, free: 7.031 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.00323/0.3331, allocations: 0.6248 MB / 1.047 GB, free: 6.402 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.008494/0.3416, allocations: 1.974 MB / 1.049 GB, free: 4.418 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004338/0.346, allocations: 1.087 MB / 1.05 GB, free: 3.34 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.6251/0.9711, allocations: 23.48 MB / 1.073 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0178/0.9889, allocations: 7.143 MB / 1.08 GB, free: 27.77 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01667/1.006, allocations: 5.294 MB / 1.085 GB, free: 27.77 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01631/1.022, allocations: 5.481 MB / 1.09 GB, free: 27.75 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.003883/1.026, allocations: 347.1 kB / 1.091 GB, free: 27.75 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009393/1.035, allocations: 0.7855 MB / 1.091 GB, free: 27.75 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.006028/1.041, allocations: 1.519 MB / 1.093 GB, free: 27.75 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.007541/1.049, allocations: 1.599 MB / 1.095 GB, free: 27.71 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01734/1.066, allocations: 10.28 MB / 1.105 GB, free: 27.19 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/1.066, allocations: 2.25 kB / 1.105 GB, free: 27.19 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.226e-06/1.066, allocations: 0 / 1.105 GB, free: 27.19 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0007237/1.067, allocations: 0 / 1.105 GB, free: 27.19 MB / 0.698 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.02428/1.091, allocations: 6.917 MB / 1.111 GB, free: 24.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/1.092, allocations: 9.406 kB / 1.111 GB, free: 24.38 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004817/1.096, allocations: 0.8469 MB / 1.112 GB, free: 24.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006719/1.103, allocations: 0.8486 MB / 1.113 GB, free: 23.91 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01892/1.122, allocations: 6.343 MB / 1.119 GB, free: 22.26 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001081/1.123, allocations: 462.2 kB / 1.12 GB, free: 22.24 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003668/1.127, allocations: 0.5991 MB / 1.12 GB, free: 22.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0341/1.161, allocations: 8.985 MB / 1.129 GB, free: 19.45 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005572/1.162, allocations: 13.72 kB / 1.129 GB, free: 19.45 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003029/1.165, allocations: 267 kB / 1.129 GB, free: 19.45 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002974/1.165, allocations: 177.1 kB / 1.129 GB, free: 19.44 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02369/1.189, allocations: 7.41 MB / 1.137 GB, free: 18.09 MB / 0.698 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.07169/1.26, allocations: 35.95 MB / 1.172 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008768/1.269, allocations: 4.273 MB / 1.176 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006723/1.276, allocations: 3.381 MB / 1.179 GB, free: 72 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001766/1.278, allocations: 0.9773 MB / 1.18 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006568/1.284, allocations: 2.389 MB / 1.183 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005993/1.291, allocations: 443.8 kB / 1.183 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=317): time 2.155e-05/1.291, allocations: 0 / 1.183 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of matching and sorting (n=317): time 0.01892/1.31, allocations: 7.081 MB / 1.19 GB, free: 4.895 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/1.31, allocations: 85.91 kB / 1.19 GB, free: 4.797 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.014/1.324, allocations: 5.334 MB / 1.195 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.001361/1.325, allocations: 96.03 kB / 1.195 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.005299/1.33, allocations: 3.171 MB / 1.198 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.002677/1.333, allocations: 1.11 MB / 1.199 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00102/1.334, allocations: 88 kB / 1.2 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0006278/1.335, allocations: 495.6 kB / 1.2 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005237/1.34, allocations: 2.14 MB / 1.202 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006614/1.347, allocations: 3.673 MB / 1.206 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006761/1.354, allocations: 2.9 MB / 1.209 GB, free: 1.078 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.835e-05/1.354, allocations: 12 kB / 1.209 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01768/1.371, allocations: 6.726 MB / 1.215 GB, free: 10.29 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001256/1.372, allocations: 57.69 kB / 1.215 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001005/1.372, allocations: 48 kB / 1.215 GB, free: 10.18 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001257/1.373, allocations: 443.2 kB / 1.216 GB, free: 9.742 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004706/1.378, allocations: 1.014 MB / 1.217 GB, free: 8.727 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006679/1.384, allocations: 5.244 MB / 1.222 GB, free: 3.23 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008076/1.392, allocations: 474.8 kB / 1.222 GB, free: 2.766 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001464/1.394, allocations: 220 kB / 1.222 GB, free: 2.551 MB / 0.7605 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.008489/1.402, allocations: 2.452 MB / 1.225 GB, free: 88 kB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002925/1.405, allocations: 0.5211 MB / 1.225 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0139/1.419, allocations: 5.246 MB / 1.23 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-05/1.419, allocations: 32 kB / 1.23 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.533e-05/1.419, allocations: 4 kB / 1.23 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009019/1.428, allocations: 4.511 MB / 1.235 GB, free: 5.605 MB / 0.7761 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.03768/1.466, allocations: 11.94 MB / 1.247 GB, free: 9.559 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-05/1.466, allocations: 2.734 kB / 1.247 GB, free: 9.559 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003474/1.47, allocations: 0.6594 MB / 1.247 GB, free: 8.898 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001185/1.471, allocations: 376 kB / 1.248 GB, free: 8.527 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008291/1.472, allocations: 83.95 kB / 1.248 GB, free: 8.445 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007373/1.479, allocations: 5.161 MB / 1.253 GB, free: 3.023 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.479, allocations: 4.062 kB / 1.253 GB, free: 3.02 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01797/1.497, allocations: 7.596 MB / 1.26 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005935/1.503, allocations: 1.205 MB / 1.261 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002799/1.506, allocations: 63.98 kB / 1.261 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006541/1.513, allocations: 485.7 kB / 1.262 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000964/1.514, allocations: 194.2 kB / 1.262 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008621/1.515, allocations: 143.9 kB / 1.262 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.009777/1.524, allocations: 3.695 MB / 1.266 GB, free: 5.559 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.172e-06/1.524, allocations: 4 kB / 1.266 GB, free: 5.555 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.01097/1.535, allocations: 1.987 MB / 1.268 GB, free: 3.562 MB / 0.8073 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.0203/1.556, allocations: 8.514 MB / 1.276 GB, free: 10.98 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01228/1.568, allocations: 5.359 MB / 1.281 GB, free: 5.57 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/1.568, allocations: 4 kB / 1.281 GB, free: 5.566 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.005846/1.574, allocations: 2.502 MB / 1.284 GB, free: 3.035 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02258/1.597, allocations: 3.223 MB / 1.287 GB, free: 15.87 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1747/1.771, allocations: 50.51 MB / 1.336 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008893/1.78, allocations: 4.602 MB / 1.341 GB, free: 5.496 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01084/1.791, allocations: 2 MB / 1.343 GB, free: 3.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007745/1.799, allocations: 2.639 MB / 1.345 GB, free: 0.8594 MB / 0.8855 GB Notification: Performance of SimCode: time 1.243e-06/1.799, allocations: 0 / 1.345 GB, free: 0.8594 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7914/2.59, allocations: 168.2 MB / 1.509 GB, free: 290.6 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001884/2.591, allocations: 267.4 kB / 1.51 GB, free: 290.3 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.179/9.769, allocations: 7.844 kB / 1.51 GB, free: 290.3 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)