Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01168/0.01168, allocations: 106.2 kB / 15.05 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001258/0.001257, allocations: 183.8 kB / 15.94 MB, free: 5.941 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.129/2.129, allocations: 194.6 MB / 211.3 MB, free: 11.08 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.224/2.224, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006446/0.0006448, allocations: 12 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7022/0.7029, allocations: 98.72 MB / 0.6834 GB, free: 16.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.189/1.892, allocations: 411.3 MB / 1.085 GB, free: 37.76 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/1.892, allocations: 104.8 kB / 1.085 GB, free: 37.7 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.183/7.076, allocations: 0.94 GB / 2.025 GB, free: 155.6 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.086e-06/7.076, allocations: 0 / 2.025 GB, free: 155.6 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.00052/7.076, allocations: 81.92 kB / 2.025 GB, free: 155.6 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.01377/7.09, allocations: 3.131 MB / 2.028 GB, free: 153.5 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/7.09, allocations: 10.53 kB / 2.028 GB, free: 153.5 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001645/7.092, allocations: 336.4 kB / 2.029 GB, free: 153.3 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002511/7.094, allocations: 352.9 kB / 2.029 GB, free: 153.1 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01103/7.105, allocations: 3.017 MB / 2.032 GB, free: 151.2 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002938/7.106, allocations: 178.9 kB / 2.032 GB, free: 151.1 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001107/7.107, allocations: 238.2 kB / 2.032 GB, free: 151 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01055/7.117, allocations: 2.966 MB / 2.035 GB, free: 149.2 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001205/7.118, allocations: 3.25 kB / 2.035 GB, free: 149.2 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005895/7.118, allocations: 96.91 kB / 2.035 GB, free: 149.1 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001075/7.118, allocations: 76.42 kB / 2.035 GB, free: 149.1 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008238/7.127, allocations: 2.375 MB / 2.038 GB, free: 147.9 MB / 0.8386 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.02918/7.156, allocations: 12.87 MB / 2.05 GB, free: 137.2 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00497/7.161, allocations: 1.677 MB / 2.052 GB, free: 136.3 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001083/7.162, allocations: 0.7053 MB / 2.053 GB, free: 135.5 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.627e-05/7.162, allocations: 51.55 kB / 2.053 GB, free: 135.4 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002903/7.165, allocations: 230.8 kB / 2.053 GB, free: 135.2 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=124): time 1.053e-05/7.165, allocations: 0 / 2.053 GB, free: 135.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=124): time 0.01207/7.177, allocations: 2.93 MB / 2.056 GB, free: 132.2 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.312e-05/7.177, allocations: 141.5 kB / 2.056 GB, free: 132.1 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004906/7.182, allocations: 1.858 MB / 2.058 GB, free: 130.2 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0004733/7.183, allocations: 53.7 kB / 2.058 GB, free: 130.1 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001734/7.184, allocations: 1.246 MB / 2.059 GB, free: 128.9 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008563/7.185, allocations: 444.5 kB / 2.059 GB, free: 128.4 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002285/7.186, allocations: 28 kB / 2.059 GB, free: 128.4 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001773/7.186, allocations: 373.9 kB / 2.06 GB, free: 128 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001994/7.188, allocations: 0.7026 MB / 2.06 GB, free: 127.3 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002601/7.191, allocations: 1.232 MB / 2.062 GB, free: 125.9 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002601/7.193, allocations: 0.936 MB / 2.063 GB, free: 125 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-05/7.193, allocations: 4 kB / 2.063 GB, free: 125 MB / 0.8386 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.007289/7.201, allocations: 2.343 MB / 2.065 GB, free: 122.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001317/7.202, allocations: 5.705 MB / 2.07 GB, free: 116.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.335e-05/7.202, allocations: 15.98 kB / 2.07 GB, free: 116.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001858/7.204, allocations: 355.1 kB / 2.071 GB, free: 116.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002771/7.207, allocations: 351.4 kB / 2.071 GB, free: 115.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004807/7.212, allocations: 3.139 MB / 2.074 GB, free: 112.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004098/7.216, allocations: 227.5 kB / 2.074 GB, free: 112.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005572/7.216, allocations: 83.97 kB / 2.074 GB, free: 112.1 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/7.216, allocations: 4 kB / 2.074 GB, free: 112.1 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006354/7.223, allocations: 2.129 MB / 2.077 GB, free: 110 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.731e-05/7.223, allocations: 16.31 kB / 2.077 GB, free: 110 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/7.224, allocations: 237.7 kB / 2.077 GB, free: 109.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002929/7.227, allocations: 367.4 kB / 2.077 GB, free: 109.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006091/7.233, allocations: 4.211 MB / 2.081 GB, free: 104.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003971/7.237, allocations: 223.5 kB / 2.081 GB, free: 104.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005724/7.238, allocations: 83.97 kB / 2.082 GB, free: 104.6 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.onOffBot.y,onOffBot.y,$PRE.onOffMid.y,onOffMid.y,and2.y,nor.y,$PRE.onOffHea.y,onOffHea.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 177 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 22} Notification: Performance of prepare postOptimizeDAE: time 0.002848/7.241, allocations: 1 MB / 2.083 GB, free: 103.6 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008018/7.241, allocations: 204.9 kB / 2.083 GB, free: 103.4 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006118/7.247, allocations: 1.996 MB / 2.085 GB, free: 101.4 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.324e-05/7.248, allocations: 12 kB / 2.085 GB, free: 101.4 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/7.248, allocations: 4 kB / 2.085 GB, free: 101.4 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004413/7.252, allocations: 1.605 MB / 2.086 GB, free: 99.73 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01397/7.266, allocations: 4.444 MB / 2.091 GB, free: 95.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/7.266, allocations: 4.031 kB / 2.091 GB, free: 95.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001987/7.268, allocations: 207.7 kB / 2.091 GB, free: 95.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001547/7.27, allocations: 309.3 kB / 2.091 GB, free: 94.72 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003386/7.27, allocations: 35.98 kB / 2.091 GB, free: 94.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004175/7.274, allocations: 3.037 MB / 2.094 GB, free: 91.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/7.274, allocations: 0 / 2.094 GB, free: 91.49 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00758/7.282, allocations: 2.896 MB / 2.097 GB, free: 88.56 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002178/7.284, allocations: 0.4944 MB / 2.097 GB, free: 88.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008753/7.285, allocations: 35.48 kB / 2.097 GB, free: 88.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003368/7.289, allocations: 187.7 kB / 2.098 GB, free: 87.83 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005299/7.289, allocations: 95.97 kB / 2.098 GB, free: 87.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001788/7.289, allocations: 51.98 kB / 2.098 GB, free: 87.68 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.003815/7.293, allocations: 1.434 MB / 2.099 GB, free: 86.23 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8.62e-07/7.293, allocations: 0 / 2.099 GB, free: 86.23 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.008044/7.301, allocations: 1.507 MB / 2.101 GB, free: 84.71 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (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) * Number of discrete variables: 5 (onOffBot.y,onOffMid.y,and2.y,nor.y,onOffHea.y) * Number of discrete states: 3 (onOffBot.y,onOffMid.y,onOffHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.00951/7.311, allocations: 3.978 MB / 2.105 GB, free: 80.77 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.009412/7.32, allocations: 3.299 MB / 2.108 GB, free: 77.43 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.241e-05/7.32, allocations: 4 kB / 2.108 GB, free: 77.43 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002719/7.323, allocations: 0.9698 MB / 2.109 GB, free: 76.45 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009989/7.333, allocations: 1.121 MB / 2.11 GB, free: 75.37 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02136/7.355, allocations: 17.14 MB / 2.127 GB, free: 57.91 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00355/7.358, allocations: 2.19 MB / 2.129 GB, free: 55.67 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.005428/7.364, allocations: 0.9081 MB / 2.13 GB, free: 54.8 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002881/7.367, allocations: 1.007 MB / 2.131 GB, free: 53.79 MB / 0.8386 GB Notification: Performance of SimCode: time 1.553e-06/7.367, allocations: 4 kB / 2.131 GB, free: 53.79 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8328/8.199, allocations: 67.51 MB / 2.196 GB, free: 159.8 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002714/8.2, allocations: 283.6 kB / 2.197 GB, free: 159.4 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.918/13.12, allocations: 5.125 kB / 2.197 GB, free: 159.4 MB / 0.8386 GB