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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 199.3 kB / 16.14 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.161/1.161, allocations: 205.1 MB / 222 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.538/1.538, allocations: 292.3 MB / 0.5484 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 67.36 kB / 0.6709 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1706, allocations: 114.5 MB / 0.7828 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.0446/0.2152, allocations: 55.66 MB / 0.8371 GB, free: 6.098 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01914/0.2344, allocations: 17.85 MB / 0.8546 GB, free: 4.203 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002466/0.2369, allocations: 67.56 kB / 0.8546 GB, free: 4.137 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001929/0.2388, allocations: 0.7264 MB / 0.8553 GB, free: 3.406 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005208/0.2441, allocations: 2.298 MB / 0.8576 GB, free: 1.098 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002849/0.2469, allocations: 1.379 MB / 0.8589 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.02513/0.2721, allocations: 27.68 MB / 0.886 GB, free: 3.98 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01/0.2821, allocations: 8.697 MB / 0.8945 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008811/0.291, allocations: 5.521 MB / 0.8998 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008896/0.2999, allocations: 6.185 MB / 0.9059 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001898/0.3018, allocations: 472 kB / 0.9063 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004262/0.3061, allocations: 1.151 MB / 0.9075 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.00171/0.3078, allocations: 1.798 MB / 0.9092 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.005465/0.3133, allocations: 4.098 MB / 0.9132 GB, free: 7.875 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.354/0.6673, allocations: 12.59 MB / 0.9255 GB, free: 45.16 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.6674, allocations: 0 / 0.9255 GB, free: 45.16 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6674, allocations: 0 / 0.9255 GB, free: 45.16 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.000377/0.6678, allocations: 0.8438 kB / 0.9255 GB, free: 45.16 MB / 0.7325 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.01798/0.6857, allocations: 8.443 MB / 0.9338 GB, free: 42.39 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.6858, allocations: 8.656 kB / 0.9338 GB, free: 42.39 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001267/0.6871, allocations: 0.8459 MB / 0.9346 GB, free: 42.31 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002467/0.6895, allocations: 0.8463 MB / 0.9354 GB, free: 41.91 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01026/0.6998, allocations: 6.499 MB / 0.9418 GB, free: 40.96 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004335/0.7003, allocations: 456.9 kB / 0.9422 GB, free: 40.95 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00195/0.7022, allocations: 0.5986 MB / 0.9428 GB, free: 40.94 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0145/0.7167, allocations: 9.022 MB / 0.9516 GB, free: 39.97 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001255/0.7169, allocations: 23.38 kB / 0.9516 GB, free: 39.97 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007158/0.7176, allocations: 264 kB / 0.9519 GB, free: 39.97 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001594/0.7178, allocations: 176.1 kB / 0.952 GB, free: 39.97 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01296/0.7307, allocations: 7.448 MB / 0.9593 GB, free: 39.92 MB / 0.7325 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.04204/0.7728, allocations: 35.89 MB / 0.9944 GB, free: 18 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005718/0.7786, allocations: 4.28 MB / 0.9985 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004022/0.7826, allocations: 3.307 MB / 1.002 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00105/0.7837, allocations: 0.9541 MB / 1.003 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003512/0.7872, allocations: 2.382 MB / 1.005 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002764/0.79, allocations: 453.2 kB / 1.005 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=317): time 1.005e-05/0.79, allocations: 0 / 1.005 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317): time 0.01117/0.8012, allocations: 7.096 MB / 1.012 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.8013, allocations: 82.94 kB / 1.012 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0071/0.8084, allocations: 5.377 MB / 1.018 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0007088/0.8091, allocations: 89.7 kB / 1.018 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001994/0.8111, allocations: 3.168 MB / 1.021 GB, free: 192 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001285/0.8124, allocations: 1.119 MB / 1.022 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001157/0.8136, allocations: 0.8619 MB / 1.023 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 8.113e-05/0.8137, allocations: 305.1 kB / 1.023 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002996/0.8167, allocations: 2.149 MB / 1.025 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003727/0.8204, allocations: 3.684 MB / 1.029 GB, free: 7.391 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007323/0.8278, allocations: 6.3 MB / 1.035 GB, free: 0.5781 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.812e-05/0.8278, allocations: 16 kB / 1.035 GB, free: 0.5625 MB / 0.7481 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.009586/0.8374, allocations: 6.746 MB / 1.042 GB, free: 10.07 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 5.488e-05/0.8375, allocations: 49.7 kB / 1.042 GB, free: 10.01 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-05/0.8375, allocations: 52 kB / 1.042 GB, free: 9.961 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008646/0.8384, allocations: 437.8 kB / 1.042 GB, free: 9.531 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003161/0.8416, allocations: 1.004 MB / 1.043 GB, free: 8.598 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004809/0.8464, allocations: 5.269 MB / 1.048 GB, free: 3.121 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004899/0.8513, allocations: 470.8 kB / 1.049 GB, free: 2.66 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006149/0.8519, allocations: 216 kB / 1.049 GB, free: 2.449 MB / 0.7637 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004221/0.8562, allocations: 2.463 MB / 1.051 GB, free: 44 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001712/0.8579, allocations: 0.5184 MB / 1.052 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008942/0.8668, allocations: 5.237 MB / 1.057 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.799e-05/0.8669, allocations: 32 kB / 1.057 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/0.8669, allocations: 4 kB / 1.057 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007538/0.8745, allocations: 4.531 MB / 1.061 GB, free: 5.59 MB / 0.7794 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.02832/0.9028, allocations: 11.94 MB / 1.073 GB, free: 9.582 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/0.9029, allocations: 4 kB / 1.073 GB, free: 9.578 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003747/0.9066, allocations: 0.6367 MB / 1.074 GB, free: 8.969 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001123/0.9078, allocations: 376.4 kB / 1.074 GB, free: 8.598 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002844/0.9081, allocations: 83.95 kB / 1.074 GB, free: 8.516 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006949/0.915, allocations: 5.182 MB / 1.079 GB, free: 3.105 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.915, allocations: 3.984 kB / 1.079 GB, free: 3.102 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01594/0.931, allocations: 7.603 MB / 1.087 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003653/0.9347, allocations: 1.127 MB / 1.088 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00089/0.9356, allocations: 67.98 kB / 1.088 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003897/0.9395, allocations: 468.9 kB / 1.088 GB, free: 9.75 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004877/0.94, allocations: 197.2 kB / 1.088 GB, free: 9.559 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000326/0.9403, allocations: 143.9 kB / 1.089 GB, free: 9.418 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.004618/0.9449, allocations: 3.742 MB / 1.092 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9449, allocations: 8 kB / 1.092 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004793/0.9497, allocations: 1.979 MB / 1.094 GB, free: 3.703 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01105/0.9608, allocations: 8.55 MB / 1.102 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.007889/0.9687, allocations: 5.37 MB / 1.108 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.9687, allocations: 4 kB / 1.108 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.00326/0.972, allocations: 2.513 MB / 1.11 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01274/0.9847, allocations: 3.233 MB / 1.113 GB, free: 224 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1302/1.115, allocations: 64.75 MB / 1.177 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003858/1.119, allocations: 4.599 MB / 1.181 GB, free: 5.531 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.005917/1.125, allocations: 1.996 MB / 1.183 GB, free: 3.543 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003516/1.128, allocations: 2.638 MB / 1.186 GB, free: 0.9062 MB / 0.9044 GB Notification: Performance of SimCode: time 6.51e-07/1.128, allocations: 0 / 1.186 GB, free: 0.9062 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.762/4.89, allocations: 158.7 MB / 1.341 GB, free: 386.6 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/4.891, allocations: 279 kB / 1.341 GB, free: 386.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.235/11.13, allocations: 3.375 kB / 1.341 GB, free: 386.2 MB / 1.014 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/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)