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.Stratified.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.Stratified,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Storage_Examples_Stratified",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.346/4.346, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.365e-05/4.376e-05, allocations: 5.656 kB / 0.5383 GB, free: 10.34 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2473, allocations: 98.74 MB / 0.6347 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.267/1.514, allocations: 395 MB / 1.02 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000367/1.515, allocations: 93.25 kB / 1.021 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 15.91/17.42, allocations: 2.821 GB / 3.842 GB, free: 115.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.415e-06/17.42, allocations: 0 / 3.842 GB, free: 115.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.001774/17.42, allocations: 252.6 kB / 3.842 GB, free: 115.8 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2143 * Number of variables: 2143 Notification: Performance of Generate backend data structure: time 0.03443/17.46, allocations: 8.241 MB / 3.85 GB, free: 112.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/17.46, allocations: 11.25 kB / 3.85 GB, free: 112.1 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005694/17.46, allocations: 1.133 MB / 3.851 GB, free: 111.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008438/17.47, allocations: 1.153 MB / 3.852 GB, free: 110.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03777/17.51, allocations: 10.62 MB / 3.863 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009035/17.51, allocations: 0.6122 MB / 3.863 GB, free: 105.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004163/17.51, allocations: 0.8227 MB / 3.864 GB, free: 105 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04172/17.56, allocations: 11.3 MB / 3.875 GB, free: 95.23 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000684/17.56, allocations: 23.78 kB / 3.875 GB, free: 95.21 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003838/17.56, allocations: 355 kB / 3.875 GB, free: 94.87 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003189/17.56, allocations: 254.6 kB / 3.876 GB, free: 94.62 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03208/17.59, allocations: 9.432 MB / 3.885 GB, free: 85.19 MB / 0.8542 GB Warning: The model contains alias variables with conflicting start and/or 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.1069/17.7, allocations: 45.74 MB / 3.929 GB, free: 37.86 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02375/17.72, allocations: 6.285 MB / 3.936 GB, free: 31.59 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01883/17.74, allocations: 5.391 MB / 3.941 GB, free: 26.19 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002994/17.75, allocations: 0.827 MB / 3.942 GB, free: 25.23 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01436/17.76, allocations: 3.171 MB / 3.945 GB, free: 22.03 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00909/17.77, allocations: 0.5525 MB / 3.945 GB, free: 21.47 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=453): time 2.664e-05/17.77, allocations: 4 kB / 3.945 GB, free: 21.47 MB / 0.8542 GB Notification: Performance of matching and sorting (n=453): time 0.02894/17.8, allocations: 6.11 MB / 3.951 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/17.8, allocations: 154.2 kB / 3.951 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02869/17.83, allocations: 6.924 MB / 3.958 GB, free: 8.242 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001672/17.83, allocations: 109.7 kB / 3.958 GB, free: 8.129 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.009648/17.84, allocations: 4.238 MB / 3.962 GB, free: 3.875 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.004425/17.84, allocations: 1.579 MB / 3.964 GB, free: 2.309 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001787/17.84, allocations: 120 kB / 3.964 GB, free: 2.191 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0007695/17.85, allocations: 0.5498 MB / 3.965 GB, free: 1.633 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.738/18.58, allocations: 2.891 MB / 3.967 GB, free: 122.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01282/18.6, allocations: 4.73 MB / 3.972 GB, free: 120.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0126/18.61, allocations: 3.963 MB / 3.976 GB, free: 120.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00011/18.61, allocations: 17.53 kB / 3.976 GB, free: 120.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=756) (initialization): time 0.03153/18.64, allocations: 8.559 MB / 3.984 GB, free: 120.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.006805/18.65, allocations: 28.32 MB / 4.012 GB, free: 90.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003512/18.65, allocations: 56.47 kB / 4.012 GB, free: 90.58 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002619/18.65, allocations: 98.06 kB / 4.012 GB, free: 90.58 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01271/18.66, allocations: 1.444 MB / 4.014 GB, free: 90.58 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002518/18.66, allocations: 123.6 kB / 4.014 GB, free: 90.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01362/18.68, allocations: 0.6275 MB / 4.014 GB, free: 90.58 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002274/18.68, allocations: 282.5 kB / 4.015 GB, free: 90.58 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/18.68, allocations: 4.719 kB / 4.015 GB, free: 90.58 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02478/18.7, allocations: 7.979 MB / 4.022 GB, free: 90.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002006/18.7, allocations: 57.84 kB / 4.022 GB, free: 90.43 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001368/18.7, allocations: 97.78 kB / 4.022 GB, free: 90.43 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01184/18.71, allocations: 1.44 MB / 4.024 GB, free: 90.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001824/18.71, allocations: 128.4 kB / 4.024 GB, free: 90.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01221/18.73, allocations: 0.5995 MB / 4.025 GB, free: 90.43 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001889/18.73, allocations: 275.1 kB / 4.025 GB, free: 90.43 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 258 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,$PRE.TWat.nextEvent,TWat.nextEvent,TWat.nextEventScaled,P.a,P.b,P.last,$PRE.P.nextEvent,P.nextEvent,P.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (744): * Single equations (assignments): 742 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002393/18.73, allocations: 0.5338 MB / 4.025 GB, free: 90.26 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002562/18.73, allocations: 0.7006 MB / 4.026 GB, free: 90.13 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02223/18.76, allocations: 6.88 MB / 4.033 GB, free: 89.85 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.326e-05/18.76, allocations: 46.38 kB / 4.033 GB, free: 89.85 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.86e-05/18.76, allocations: 3.141 kB / 4.033 GB, free: 89.85 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01709/18.77, allocations: 5.601 MB / 4.038 GB, free: 89.62 MB / 0.8542 GB Warning: The model contains alias variables with conflicting start and/or 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.05225/18.83, allocations: 16.11 MB / 4.054 GB, free: 88.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.12e-05/18.83, allocations: 2.219 kB / 4.054 GB, free: 88.59 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009213/18.84, allocations: 0.9152 MB / 4.055 GB, free: 88.59 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.983e-05/18.84, allocations: 13.44 kB / 4.055 GB, free: 88.59 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001486/18.84, allocations: 128 kB / 4.055 GB, free: 88.58 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.457e-05/18.84, allocations: 20.62 kB / 4.055 GB, free: 88.58 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/18.84, allocations: 0 / 4.055 GB, free: 88.58 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02706/18.86, allocations: 10.34 MB / 4.065 GB, free: 87.79 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007813/18.87, allocations: 1.665 MB / 4.067 GB, free: 87.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003444/18.88, allocations: 100.4 kB / 4.067 GB, free: 87.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01098/18.89, allocations: 0.5518 MB / 4.067 GB, free: 87.32 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001475/18.89, allocations: 255.8 kB / 4.068 GB, free: 87.31 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008019/18.89, allocations: 148.2 kB / 4.068 GB, free: 87.31 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.01474/18.9, allocations: 5.399 MB / 4.073 GB, free: 87.07 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.82e-07/18.9, allocations: 3.531 kB / 4.073 GB, free: 87.07 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.02457/18.93, allocations: 4.876 MB / 4.078 GB, free: 86.71 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 23 (tanSim.vol[1].dynBal.U,tanSim.vol[2].dynBal.U,tanSim.vol[3].dynBal.U,tanSim.vol[4].dynBal.U,tanSim.vol[5].dynBal.U,tanSim.vol[6].dynBal.U,tanSim.vol[7].dynBal.U,tanSim.vol[8].dynBal.U,tanSim.vol[9].dynBal.U,tanSim.vol[10].dynBal.U,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,tanEnh.vol[8].dynBal.U,tanEnh.vol[9].dynBal.U,tanEnh.vol[10].dynBal.U,HOut_flow.h_out,HOut_flow1.h_out,dH.y) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,TWat.nextEvent,TWat.nextEventScaled,P.a,P.b,P.last,P.nextEvent,P.nextEventScaled) * Number of discrete states: 12 (P.nextEvent,P.last,P.nextEventScaled,P.b,P.a,$whenCondition2,TWat.nextEvent,TWat.last,TWat.nextEventScaled,TWat.b,TWat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (447): * Single equations (assignments): 443 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02941/18.96, allocations: 11.72 MB / 4.089 GB, free: 85.34 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.03074/18.99, allocations: 11.44 MB / 4.1 GB, free: 84.82 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/18.99, allocations: 6.25 kB / 4.1 GB, free: 84.82 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.008166/19, allocations: 3.132 MB / 4.104 GB, free: 84.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03695/19.03, allocations: 4.343 MB / 4.108 GB, free: 84.52 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06531/19.1, allocations: 19.44 MB / 4.127 GB, free: 81.53 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01492/19.11, allocations: 6.236 MB / 4.133 GB, free: 96.54 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.04207/19.16, allocations: 6.511 MB / 4.139 GB, free: 96.11 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01069/19.17, allocations: 3.594 MB / 4.143 GB, free: 96.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.443e-06/19.17, allocations: 1.531 kB / 4.143 GB, free: 96.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.301/20.47, allocations: 232.7 MB / 4.37 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002539/20.47, allocations: 198 kB / 4.37 GB, free: 144.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.98/35.45, allocations: 0 / 4.37 GB, free: 144.5 MB / 0.8855 GB