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 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.Stratified,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Storage_Examples_Stratified",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.01597/0.01597, allocations: 106.1 kB / 15.05 MB, free: 5.98 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.001822/0.001822, allocations: 184 kB / 15.94 MB, free: 5.938 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.267/2.267, allocations: 194.5 MB / 211.2 MB, free: 11.29 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.5/2.5, allocations: 236.2 MB / 492.6 MB, free: 11.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000676/0.0006761, allocations: 12 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7019/0.7027, allocations: 98.71 MB / 0.6834 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.277/1.98, allocations: 395.1 MB / 1.069 GB, free: 53.92 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004281/1.98, allocations: 90.52 kB / 1.069 GB, free: 53.88 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 15.85/17.83, allocations: 2.828 GB / 3.897 GB, free: 116.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.585e-06/17.83, allocations: 0 / 3.897 GB, free: 116.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.001665/17.84, allocations: 254.3 kB / 3.898 GB, free: 116.1 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.043/17.88, allocations: 9.745 MB / 3.907 GB, free: 112.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/17.88, allocations: 14.75 kB / 3.907 GB, free: 112.6 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005865/17.89, allocations: 1.139 MB / 3.908 GB, free: 112.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008249/17.89, allocations: 1.156 MB / 3.909 GB, free: 112 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03654/17.93, allocations: 10.67 MB / 3.92 GB, free: 110.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008739/17.93, allocations: 0.6145 MB / 3.921 GB, free: 110.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004028/17.94, allocations: 0.8138 MB / 3.921 GB, free: 110.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04112/17.98, allocations: 11.45 MB / 3.932 GB, free: 109.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000672/17.98, allocations: 30.88 kB / 3.933 GB, free: 109.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003491/17.98, allocations: 351.7 kB / 3.933 GB, free: 109.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003449/17.98, allocations: 246.7 kB / 3.933 GB, free: 109.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03238/18.01, allocations: 9.627 MB / 3.942 GB, free: 109.6 MB / 0.8542 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.1025/18.12, allocations: 45.74 MB / 3.987 GB, free: 82.71 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0172/18.13, allocations: 6.365 MB / 3.993 GB, free: 80.23 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001981/18.14, allocations: 0.823 MB / 3.994 GB, free: 79.46 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01008/18.15, allocations: 3.245 MB / 3.997 GB, free: 78.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006733/18.15, allocations: 0.5554 MB / 3.998 GB, free: 77.92 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=453): time 2.031e-05/18.15, allocations: 0 / 3.998 GB, free: 77.92 MB / 0.8542 GB Notification: Performance of matching and sorting (n=453): time 0.02843/18.18, allocations: 8.936 MB / 4.007 GB, free: 74.48 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/18.18, allocations: 157.7 kB / 4.007 GB, free: 74.34 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02051/18.2, allocations: 6.993 MB / 4.014 GB, free: 71.99 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001369/18.2, allocations: 111.8 kB / 4.014 GB, free: 71.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.007773/18.21, allocations: 4.24 MB / 4.018 GB, free: 68.68 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.003402/18.21, allocations: 1.573 MB / 4.019 GB, free: 67.48 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00143/18.22, allocations: 116.9 kB / 4.019 GB, free: 67.39 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0006608/18.22, allocations: 0.5443 MB / 4.02 GB, free: 66.98 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008809/18.22, allocations: 2.99 MB / 4.023 GB, free: 65.41 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01037/18.24, allocations: 4.82 MB / 4.028 GB, free: 60.39 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01065/18.25, allocations: 4.037 MB / 4.032 GB, free: 56.87 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.583e-05/18.25, allocations: 16 kB / 4.032 GB, free: 56.85 MB / 0.8542 GB Notification: Performance of matching and sorting (n=756) (initialization): time 0.02652/18.27, allocations: 8.736 MB / 4.04 GB, free: 49.19 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.00586/18.28, allocations: 28.32 MB / 4.068 GB, free: 18.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000165/18.28, allocations: 60 kB / 4.068 GB, free: 18.83 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001373/18.28, allocations: 98.67 kB / 4.068 GB, free: 18.74 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0117/18.29, allocations: 1.436 MB / 4.069 GB, free: 17.51 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001835/18.29, allocations: 122.9 kB / 4.069 GB, free: 17.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01232/18.3, allocations: 0.6354 MB / 4.07 GB, free: 16.91 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001753/18.31, allocations: 283.3 kB / 4.07 GB, free: 16.64 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/18.31, allocations: 3.281 kB / 4.07 GB, free: 16.64 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02455/18.33, allocations: 8.166 MB / 4.078 GB, free: 9.559 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001774/18.33, allocations: 64.03 kB / 4.078 GB, free: 9.496 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001068/18.33, allocations: 96 kB / 4.078 GB, free: 9.402 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01162/18.34, allocations: 1.429 MB / 4.08 GB, free: 8.184 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001841/18.34, allocations: 126.7 kB / 4.08 GB, free: 8.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01169/18.35, allocations: 0.6012 MB / 4.081 GB, free: 7.609 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001747/18.36, allocations: 283.5 kB / 4.081 GB, free: 7.344 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 () * Number of clocked 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.009487/18.36, allocations: 3.54 MB / 4.084 GB, free: 4.426 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002495/18.37, allocations: 0.6986 MB / 4.085 GB, free: 3.719 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02403/18.39, allocations: 7.047 MB / 4.092 GB, free: 13.49 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.797e-05/18.39, allocations: 43.98 kB / 4.092 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.544e-05/18.39, allocations: 0 / 4.092 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02073/18.41, allocations: 5.754 MB / 4.098 GB, free: 7.648 MB / 0.8698 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.7454/19.16, allocations: 16.08 MB / 4.113 GB, free: 123.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-05/19.16, allocations: 0.5312 kB / 4.113 GB, free: 123.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009408/19.17, allocations: 0.907 MB / 4.114 GB, free: 123.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.281e-05/19.17, allocations: 16.22 kB / 4.114 GB, free: 123.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001371/19.17, allocations: 122.6 kB / 4.114 GB, free: 123.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.048e-05/19.17, allocations: 18.78 kB / 4.114 GB, free: 123.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/19.17, allocations: 3.391 kB / 4.114 GB, free: 123.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03298/19.2, allocations: 10.58 MB / 4.125 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009203/19.21, allocations: 1.663 MB / 4.126 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004311/19.22, allocations: 95.86 kB / 4.126 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01093/19.23, allocations: 0.5701 MB / 4.127 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001521/19.23, allocations: 258.2 kB / 4.127 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009585/19.23, allocations: 146.7 kB / 4.127 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.01786/19.25, allocations: 5.467 MB / 4.133 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.01e-07/19.25, allocations: 2.156 kB / 4.133 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.02516/19.27, allocations: 4.877 MB / 4.137 GB, free: 122.9 MB / 0.8698 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) * Number of clocked states: 0 () * 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.03268/19.3, allocations: 11.96 MB / 4.149 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.02998/19.34, allocations: 11.48 MB / 4.16 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.439e-05/19.34, allocations: 7.469 kB / 4.16 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.008578/19.34, allocations: 3.213 MB / 4.163 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03612/19.38, allocations: 4.34 MB / 4.168 GB, free: 121 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3133/19.69, allocations: 112.9 MB / 4.278 GB, free: 51.06 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0116/19.7, allocations: 6.235 MB / 4.284 GB, free: 50.18 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.02142/19.73, allocations: 4.257 MB / 4.288 GB, free: 50.01 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01106/19.74, allocations: 3.715 MB / 4.292 GB, free: 50 MB / 0.8698 GB Notification: Performance of SimCode: time 3.035e-06/19.74, allocations: 1.312 kB / 4.292 GB, free: 50 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.2/20.94, allocations: 230.3 MB / 4.517 GB, free: 152.2 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002761/20.94, allocations: 212.8 kB / 4.517 GB, free: 152 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/33.17, allocations: 4 kB / 4.517 GB, free: 152 MB / 0.9011 GB