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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 4.016/4.016, allocations: 433.4 MB / 440.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.669e-05/1.681e-05, allocations: 4 kB / 0.5325 GB, free: 1.891 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5012/0.5012, allocations: 98.71 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9443/1.446, allocations: 394.3 MB / 1.014 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/1.446, allocations: 90.45 kB / 1.014 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 13.03/14.48, allocations: 2.806 GB / 3.82 GB, free: 114.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.685e-06/14.48, allocations: 0 / 3.82 GB, free: 114.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.001523/14.48, allocations: 248.2 kB / 3.821 GB, free: 114.2 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.02775/14.51, allocations: 8.249 MB / 3.829 GB, free: 109.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/14.51, allocations: 7.688 kB / 3.829 GB, free: 109.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007122/14.51, allocations: 1.153 MB / 3.83 GB, free: 108.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02934/14.54, allocations: 10.62 MB / 3.84 GB, free: 98.51 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004731/14.54, allocations: 268 kB / 3.841 GB, free: 98.25 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003149/14.55, allocations: 491.9 kB / 3.841 GB, free: 97.77 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02472/14.57, allocations: 8.914 MB / 3.85 GB, free: 88.85 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03145/14.6, allocations: 10.1 MB / 3.86 GB, free: 78.38 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004461/14.6, allocations: 31.72 kB / 3.86 GB, free: 78.35 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002617/14.6, allocations: 12 kB / 3.86 GB, free: 78.34 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002506/14.6, allocations: 247.9 kB / 3.86 GB, free: 78.09 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.07662/14.68, allocations: 44.13 MB / 3.903 GB, free: 32.39 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01066/14.69, allocations: 6.033 MB / 3.909 GB, free: 26.38 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008137/14.7, allocations: 4.642 MB / 3.913 GB, free: 21.72 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001323/14.7, allocations: 0.8212 MB / 3.914 GB, free: 20.77 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006537/14.71, allocations: 3.022 MB / 3.917 GB, free: 17.71 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004636/14.71, allocations: 387.2 kB / 3.917 GB, free: 17.33 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=453): time 2.64e-05/14.71, allocations: 3.938 kB / 3.917 GB, free: 17.33 MB / 0.8542 GB Notification: Performance of matching and sorting (n=453): time 0.01508/14.73, allocations: 6.059 MB / 3.923 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.894e-05/14.73, allocations: 158.3 kB / 3.924 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01238/14.74, allocations: 5.737 MB / 3.929 GB, free: 5.332 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0009621/14.74, allocations: 33.7 kB / 3.929 GB, free: 5.293 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.004962/14.75, allocations: 4.225 MB / 3.933 GB, free: 1.023 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.5603/15.31, allocations: 1.51 MB / 3.935 GB, free: 121.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009649/15.31, allocations: 1.625 kB / 3.935 GB, free: 121.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0007619/15.31, allocations: 0.5421 MB / 3.935 GB, free: 121.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007345/15.32, allocations: 2.781 MB / 3.938 GB, free: 121.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008495/15.32, allocations: 4.587 MB / 3.943 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01081/15.34, allocations: 4.084 MB / 3.946 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001271/15.34, allocations: 19.03 kB / 3.947 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=756) (initialization): time 0.02239/15.36, allocations: 8.155 MB / 3.954 GB, free: 119.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.005333/15.36, allocations: 27.2 MB / 3.981 GB, free: 90.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002344/15.36, allocations: 58.92 kB / 3.981 GB, free: 90.75 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001425/15.36, allocations: 100.8 kB / 3.981 GB, free: 90.75 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007953/15.37, allocations: 1.445 MB / 3.983 GB, free: 90.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001363/15.37, allocations: 120.9 kB / 3.983 GB, free: 90.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009367/15.38, allocations: 0.5081 MB / 3.983 GB, free: 90.75 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001583/15.38, allocations: 279 kB / 3.983 GB, free: 90.75 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/15.38, allocations: 5.406 kB / 3.983 GB, free: 90.75 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01936/15.4, allocations: 7.522 MB / 3.991 GB, free: 90.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001666/15.4, allocations: 57.28 kB / 3.991 GB, free: 90.66 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001117/15.4, allocations: 96.03 kB / 3.991 GB, free: 90.66 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008047/15.41, allocations: 1.442 MB / 3.992 GB, free: 90.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001368/15.41, allocations: 125.3 kB / 3.993 GB, free: 90.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00915/15.42, allocations: 494 kB / 3.993 GB, free: 90.66 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001521/15.42, allocations: 278.8 kB / 3.993 GB, free: 90.66 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.001794/15.42, allocations: 363.3 kB / 3.994 GB, free: 90.49 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001968/15.43, allocations: 0.6202 MB / 3.994 GB, free: 90.17 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01735/15.44, allocations: 6.698 MB / 4.001 GB, free: 89.96 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.33e-05/15.44, allocations: 45.22 kB / 4.001 GB, free: 89.96 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-05/15.44, allocations: 3.094 kB / 4.001 GB, free: 89.96 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01371/15.46, allocations: 5.591 MB / 4.006 GB, free: 89.8 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.04032/15.5, allocations: 15.06 MB / 4.021 GB, free: 88.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.769e-05/15.5, allocations: 0 / 4.021 GB, free: 88.91 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006269/15.5, allocations: 0.9156 MB / 4.022 GB, free: 88.91 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.193e-05/15.5, allocations: 17.66 kB / 4.022 GB, free: 88.91 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008943/15.5, allocations: 66.5 kB / 4.022 GB, free: 88.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-05/15.5, allocations: 17.78 kB / 4.022 GB, free: 88.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.506e-06/15.5, allocations: 0 / 4.022 GB, free: 88.91 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02201/15.53, allocations: 10.16 MB / 4.032 GB, free: 88.22 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005677/15.53, allocations: 1.571 MB / 4.033 GB, free: 87.81 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002386/15.53, allocations: 32.61 kB / 4.033 GB, free: 87.81 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007615/15.54, allocations: 498.3 kB / 4.034 GB, free: 87.79 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001088/15.54, allocations: 255.6 kB / 4.034 GB, free: 87.79 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005406/15.54, allocations: 140.6 kB / 4.034 GB, free: 87.79 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.009998/15.55, allocations: 4.371 MB / 4.039 GB, free: 87.57 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.238e-06/15.55, allocations: 5.875 kB / 4.039 GB, free: 87.57 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.02028/15.57, allocations: 4.729 MB / 4.043 GB, free: 87.14 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.002605/15.58, allocations: 0.8632 MB / 4.044 GB, free: 87.01 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0226/15.6, allocations: 10.88 MB / 4.055 GB, free: 86.66 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.506e-06/15.6, allocations: 3.281 kB / 4.055 GB, free: 86.66 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.006049/15.61, allocations: 3.042 MB / 4.058 GB, free: 86.53 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01938/15.63, allocations: 3.432 MB / 4.061 GB, free: 86.47 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03971/15.67, allocations: 16.16 MB / 4.077 GB, free: 83.63 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01112/15.68, allocations: 6.239 MB / 4.083 GB, free: 82.65 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.02312/15.7, allocations: 5.612 MB / 4.088 GB, free: 82.27 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002756/15.7, allocations: 467.7 kB / 4.089 GB, free: 82.26 MB / 0.8542 GB Notification: Performance of SimCode: time 2.598e-06/15.7, allocations: 3.75 kB / 4.089 GB, free: 82.26 MB / 0.8542 GB Notification: Performance of Templates: time 0.2694/15.97, allocations: 124 MB / 4.21 GB, free: 21.31 MB / 0.8542 GB