Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Storage.Examples.Stratified") Notification: Performance of loadModel(Buildings): time 3.81/3.81, allocations: 432.7 MB / 445.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.214e-05/3.228e-05, allocations: 4.422 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1739, allocations: 98.72 MB / 0.6347 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9592/1.133, allocations: 395 MB / 1.02 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/1.133, allocations: 88.14 kB / 1.021 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 13.46/14.6, allocations: 2.821 GB / 3.842 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.4e-06/14.6, allocations: 0 / 3.842 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.001434/14.6, allocations: 251.3 kB / 3.842 GB, free: 123.4 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.02636/14.63, allocations: 8.245 MB / 3.85 GB, free: 119.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/14.63, allocations: 7.406 kB / 3.85 GB, free: 119.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00699/14.63, allocations: 1.145 MB / 3.851 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03017/14.66, allocations: 10.63 MB / 3.861 GB, free: 112.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007703/14.66, allocations: 0.6134 MB / 3.862 GB, free: 112.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003373/14.67, allocations: 0.8206 MB / 3.863 GB, free: 112 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03229/14.7, allocations: 11.31 MB / 3.874 GB, free: 100.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004018/14.7, allocations: 23.81 kB / 3.874 GB, free: 100.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002718/14.7, allocations: 354.6 kB / 3.874 GB, free: 100 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002471/14.7, allocations: 247.9 kB / 3.874 GB, free: 99.75 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02542/14.73, allocations: 9.432 MB / 3.884 GB, free: 90.32 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.0807/14.81, allocations: 45.74 MB / 3.928 GB, free: 43 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01174/14.82, allocations: 6.281 MB / 3.934 GB, free: 36.71 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009595/14.83, allocations: 5.392 MB / 3.94 GB, free: 31.32 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001396/14.83, allocations: 0.8238 MB / 3.941 GB, free: 30.37 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007031/14.84, allocations: 3.171 MB / 3.944 GB, free: 27.17 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005174/14.84, allocations: 0.5526 MB / 3.944 GB, free: 26.61 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=453): time 1.71e-05/14.84, allocations: 0 / 3.944 GB, free: 26.61 MB / 0.8542 GB Notification: Performance of matching and sorting (n=453): time 0.01441/14.86, allocations: 6.113 MB / 3.95 GB, free: 20.46 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.707e-05/14.86, allocations: 154.2 kB / 3.95 GB, free: 20.28 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01601/14.87, allocations: 6.928 MB / 3.957 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001038/14.88, allocations: 109.7 kB / 3.957 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.005651/14.88, allocations: 4.239 MB / 3.961 GB, free: 9.004 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.002462/14.88, allocations: 1.579 MB / 3.963 GB, free: 7.438 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008994/14.88, allocations: 120 kB / 3.963 GB, free: 7.32 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0005341/14.89, allocations: 0.5459 MB / 3.964 GB, free: 6.766 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006346/14.89, allocations: 2.897 MB / 3.966 GB, free: 3.863 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5675/15.46, allocations: 4.734 MB / 3.971 GB, free: 122.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009395/15.47, allocations: 3.957 MB / 3.975 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001071/15.47, allocations: 16.34 kB / 3.975 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=756) (initialization): time 0.0247/15.49, allocations: 8.556 MB / 3.983 GB, free: 122.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.005693/15.5, allocations: 28.33 MB / 4.011 GB, free: 92.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002509/15.5, allocations: 56.22 kB / 4.011 GB, free: 92.64 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002475/15.5, allocations: 96.19 kB / 4.011 GB, free: 92.64 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009038/15.51, allocations: 1.445 MB / 4.012 GB, free: 92.64 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002623/15.51, allocations: 124.8 kB / 4.013 GB, free: 92.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0104/15.52, allocations: 0.6217 MB / 4.013 GB, free: 92.64 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001654/15.52, allocations: 281.6 kB / 4.013 GB, free: 92.64 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/15.52, allocations: 4.719 kB / 4.013 GB, free: 92.64 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02064/15.54, allocations: 7.982 MB / 4.021 GB, free: 92.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002112/15.54, allocations: 59.59 kB / 4.021 GB, free: 92.48 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001314/15.54, allocations: 96.72 kB / 4.021 GB, free: 92.48 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008584/15.55, allocations: 1.445 MB / 4.023 GB, free: 92.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001906/15.55, allocations: 124.9 kB / 4.023 GB, free: 92.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009963/15.56, allocations: 0.5941 MB / 4.023 GB, free: 92.48 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001563/15.56, allocations: 280.8 kB / 4.024 GB, free: 92.48 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.002579/15.57, allocations: 0.5385 MB / 4.024 GB, free: 92.31 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002385/15.57, allocations: 0.6971 MB / 4.025 GB, free: 92.22 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.018/15.59, allocations: 6.883 MB / 4.032 GB, free: 91.93 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-05/15.59, allocations: 49.94 kB / 4.032 GB, free: 91.93 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-05/15.59, allocations: 0 / 4.032 GB, free: 91.93 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0132/15.6, allocations: 5.588 MB / 4.037 GB, free: 91.71 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.04383/15.64, allocations: 16.12 MB / 4.053 GB, free: 90.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.947e-05/15.64, allocations: 0 / 4.053 GB, free: 90.67 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006946/15.65, allocations: 0.9218 MB / 4.054 GB, free: 90.67 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.176e-05/15.65, allocations: 14.72 kB / 4.054 GB, free: 90.67 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009753/15.65, allocations: 123.6 kB / 4.054 GB, free: 90.67 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.389e-05/15.65, allocations: 14.97 kB / 4.054 GB, free: 90.67 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.512e-06/15.65, allocations: 0 / 4.054 GB, free: 90.67 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02167/15.67, allocations: 10.35 MB / 4.064 GB, free: 89.88 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006179/15.68, allocations: 1.657 MB / 4.066 GB, free: 89.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002956/15.68, allocations: 101.6 kB / 4.066 GB, free: 89.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008462/15.69, allocations: 0.5543 MB / 4.066 GB, free: 89.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00113/15.69, allocations: 259.4 kB / 4.067 GB, free: 89.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000746/15.69, allocations: 141 kB / 4.067 GB, free: 89.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.01272/15.71, allocations: 5.398 MB / 4.072 GB, free: 89.15 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.392e-06/15.71, allocations: 0 / 4.072 GB, free: 89.15 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.02045/15.73, allocations: 4.873 MB / 4.077 GB, free: 88.8 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.002707/15.73, allocations: 0.9262 MB / 4.078 GB, free: 88.67 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.02373/15.75, allocations: 11.44 MB / 4.089 GB, free: 88.13 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/15.75, allocations: 2.844 kB / 4.089 GB, free: 88.13 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.006431/15.76, allocations: 3.134 MB / 4.092 GB, free: 87.91 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02494/15.78, allocations: 4.348 MB / 4.096 GB, free: 87.82 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04095/15.82, allocations: 16.63 MB / 4.112 GB, free: 84.95 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01228/15.84, allocations: 6.24 MB / 4.118 GB, free: 83.96 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.02752/15.86, allocations: 6.51 MB / 4.125 GB, free: 83.53 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002989/15.87, allocations: 499.4 kB / 4.125 GB, free: 83.52 MB / 0.8542 GB Notification: Performance of SimCode: time 1.749e-06/15.87, allocations: 0 / 4.125 GB, free: 83.52 MB / 0.8542 GB Notification: Performance of Templates: time 0.3369/16.2, allocations: 158 MB / 4.28 GB, free: 452 kB / 0.8698 GB