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.001181/0.001181, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001399/0.001399, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.947/1.947, allocations: 205.4 MB / 222.1 MB, free: 5.547 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.888/1.888, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.0005303/0.0005305, allocations: 13.75 kB / 0.6737 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2706, allocations: 116.3 MB / 0.7872 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04505/0.3157, allocations: 46.85 MB / 0.833 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02179/0.3375, allocations: 15.46 MB / 0.8481 GB, free: 13.4 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002898/0.3405, allocations: 63.62 kB / 0.8481 GB, free: 13.34 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003253/0.3438, allocations: 0.8083 MB / 0.8489 GB, free: 12.52 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009639/0.3534, allocations: 2.126 MB / 0.851 GB, free: 10.39 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005308/0.3588, allocations: 1.571 MB / 0.8525 GB, free: 8.844 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01478/0.3736, allocations: 11.36 MB / 0.8636 GB, free: 13.47 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01001/0.3836, allocations: 7.158 MB / 0.8706 GB, free: 6.242 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01046/0.3941, allocations: 4.477 MB / 0.875 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009165/0.4033, allocations: 3.855 MB / 0.8788 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.00249/0.4059, allocations: 348 kB / 0.8791 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006253/0.4121, allocations: 0.8312 MB / 0.8799 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.003483/0.4157, allocations: 1.464 MB / 0.8813 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.003909/0.4196, allocations: 1.603 MB / 0.8829 GB, free: 9.625 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01146/0.4311, allocations: 10.23 MB / 0.8929 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4311, allocations: 0 / 0.8929 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.256e-06/0.4312, allocations: 0 / 0.8929 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0004647/0.4316, allocations: 4 kB / 0.8929 GB, free: 15.37 MB / 0.7169 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.01677/0.4484, allocations: 6.905 MB / 0.8996 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.4485, allocations: 12.03 kB / 0.8996 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003085/0.4516, allocations: 0.842 MB / 0.9005 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003969/0.4556, allocations: 0.85 MB / 0.9013 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0147/0.4703, allocations: 5.917 MB / 0.9071 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005765/0.4709, allocations: 456.2 kB / 0.9075 GB, free: 232 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.4693/0.9402, allocations: 0.5931 MB / 0.9081 GB, free: 109 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03494/0.9752, allocations: 8.928 MB / 0.9168 GB, free: 106.5 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002116/0.9755, allocations: 18.28 kB / 0.9168 GB, free: 106.5 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001139/0.9767, allocations: 260.8 kB / 0.9171 GB, free: 106.3 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001936/0.9769, allocations: 182.7 kB / 0.9172 GB, free: 106.3 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02122/0.9981, allocations: 7.411 MB / 0.9245 GB, free: 103.8 MB / 0.7169 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.05451/1.053, allocations: 36.2 MB / 0.9598 GB, free: 76.14 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006081/1.059, allocations: 4.343 MB / 0.9641 GB, free: 73.88 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001223/1.06, allocations: 0.9809 MB / 0.965 GB, free: 72.87 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003491/1.064, allocations: 2.392 MB / 0.9674 GB, free: 71.47 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002919/1.066, allocations: 472.2 kB / 0.9678 GB, free: 71.15 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=317): time 6.683e-06/1.067, allocations: 3.984 kB / 0.9678 GB, free: 71.14 MB / 0.7169 GB Notification: Performance of matching and sorting (n=317): time 0.01048/1.077, allocations: 7.143 MB / 0.9748 GB, free: 64.65 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/1.077, allocations: 85.91 kB / 0.9749 GB, free: 64.55 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006577/1.084, allocations: 5.755 MB / 0.9805 GB, free: 58.81 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0005771/1.084, allocations: 85.7 kB / 0.9806 GB, free: 58.72 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002349/1.087, allocations: 3.16 MB / 0.9837 GB, free: 55.55 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.00119/1.088, allocations: 1.126 MB / 0.9848 GB, free: 54.43 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002013/1.088, allocations: 84 kB / 0.9848 GB, free: 54.35 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000182/1.088, allocations: 495.6 kB / 0.9853 GB, free: 53.86 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002646/1.091, allocations: 2.171 MB / 0.9874 GB, free: 51.68 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002954/1.094, allocations: 3.67 MB / 0.991 GB, free: 47.3 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003342/1.097, allocations: 2.923 MB / 0.9939 GB, free: 44.36 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.988e-05/1.097, allocations: 19.94 kB / 0.9939 GB, free: 44.34 MB / 0.7169 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.008897/1.106, allocations: 6.757 MB / 1 GB, free: 37.53 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.557e-05/1.106, allocations: 61.69 kB / 1.001 GB, free: 37.46 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.048e-05/1.106, allocations: 48 kB / 1.001 GB, free: 37.42 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008353/1.107, allocations: 442.4 kB / 1.001 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003819/1.111, allocations: 1.059 MB / 1.002 GB, free: 35.92 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004713/1.116, allocations: 5.312 MB / 1.007 GB, free: 30.35 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00596/1.122, allocations: 482.8 kB / 1.008 GB, free: 29.88 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000538/1.122, allocations: 219.9 kB / 1.008 GB, free: 29.66 MB / 0.7169 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.004165/1.126, allocations: 2.466 MB / 1.01 GB, free: 27.19 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001373/1.128, allocations: 0.5172 MB / 1.011 GB, free: 26.66 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007756/1.136, allocations: 5.288 MB / 1.016 GB, free: 21.33 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-05/1.136, allocations: 28 kB / 1.016 GB, free: 21.3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/1.136, allocations: 8 kB / 1.016 GB, free: 21.29 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005198/1.141, allocations: 4.548 MB / 1.02 GB, free: 16.64 MB / 0.7169 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.02142/1.162, allocations: 12.14 MB / 1.032 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/1.162, allocations: 4.125 kB / 1.032 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002592/1.165, allocations: 0.6202 MB / 1.033 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008173/1.166, allocations: 377.3 kB / 1.033 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002237/1.166, allocations: 83.95 kB / 1.033 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005182/1.171, allocations: 5.236 MB / 1.038 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.171, allocations: 4 kB / 1.038 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01331/1.185, allocations: 7.77 MB / 1.046 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005163/1.19, allocations: 1.291 MB / 1.047 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001889/1.192, allocations: 63.98 kB / 1.047 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005627/1.197, allocations: 456.6 kB / 1.048 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005539/1.198, allocations: 202.2 kB / 1.048 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005635/1.198, allocations: 139.3 kB / 1.048 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.009492/1.208, allocations: 4.036 MB / 1.052 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of sort global known variables: time 6.11e-07/1.208, allocations: 4 kB / 1.052 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00851/1.217, allocations: 2.004 MB / 1.054 GB, free: 13.75 MB / 0.7481 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.02004/1.237, allocations: 8.892 MB / 1.063 GB, free: 4.781 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01065/1.247, allocations: 5.398 MB / 1.068 GB, free: 15.34 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/1.247, allocations: 4 kB / 1.068 GB, free: 15.33 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.004825/1.252, allocations: 2.525 MB / 1.07 GB, free: 12.78 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01632/1.269, allocations: 3.172 MB / 1.074 GB, free: 9.68 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1636/1.432, allocations: 84.09 MB / 1.156 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006551/1.439, allocations: 4.711 MB / 1.16 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.00805/1.447, allocations: 2.054 MB / 1.162 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005713/1.453, allocations: 2.647 MB / 1.165 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of SimCode: time 1.794e-06/1.453, allocations: 4 kB / 1.165 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8528/2.305, allocations: 169.7 MB / 1.331 GB, free: 296.3 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002247/2.306, allocations: 254.3 kB / 1.331 GB, free: 296 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.199/9.504, allocations: 0 / 1.331 GB, free: 296 MB / 0.9512 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) Environment - environmentSimulation: