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: 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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0103/0.01031, allocations: 222.3 kB / 15.17 MB, free: 5.926 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.001075/0.001075, allocations: 176 kB / 16.06 MB, free: 5.832 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 3.53/3.53, allocations: 389.1 MB / 405.9 MB, free: 14.21 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.646/3.646, allocations: 472.3 MB / 0.9018 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.0004732, allocations: 12.22 kB / 1.008 GB, free: 54.45 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.179, allocations: 98.72 MB / 1.104 GB, free: 5.953 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.Stratified): time 0.08041/0.2595, allocations: 51.11 MB / 1.154 GB, free: 2.812 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.03391/0.2935, allocations: 15.99 MB / 1.17 GB, free: 2.785 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002842/0.2963, allocations: 63.56 kB / 1.17 GB, free: 2.723 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.002398/0.2988, allocations: 0.7842 MB / 1.17 GB, free: 1.934 MB / 0.573 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.008172/0.307, allocations: 2.35 MB / 1.173 GB, free: 15.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.006065/0.313, allocations: 1.555 MB / 1.174 GB, free: 14.02 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.03809/0.3512, allocations: 32.06 MB / 1.205 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01646/0.3677, allocations: 9.929 MB / 1.215 GB, free: 3.852 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01386/0.3816, allocations: 6.926 MB / 1.222 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01412/0.3957, allocations: 7.5 MB / 1.229 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001815/0.3976, allocations: 468 kB / 1.23 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006571/0.4042, allocations: 1.162 MB / 1.231 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.003994/0.4082, allocations: 2.012 MB / 1.233 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.004766/0.413, allocations: 2.184 MB / 1.235 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.02051/0.4335, allocations: 14.07 MB / 1.249 GB, free: 1.43 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.19e-06/0.4336, allocations: 0 / 1.249 GB, free: 1.43 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.702e-06/0.4336, allocations: 0 / 1.249 GB, free: 1.43 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0004022/0.434, allocations: 0 / 1.249 GB, free: 1.43 MB / 0.6511 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.4621/0.8961, allocations: 9.419 MB / 1.258 GB, free: 128.7 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.8962, allocations: 8.938 kB / 1.258 GB, free: 128.7 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005664/0.9018, allocations: 1.158 MB / 1.259 GB, free: 128.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02303/0.9249, allocations: 8.802 MB / 1.268 GB, free: 123.9 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009555/0.9259, allocations: 0.6136 MB / 1.268 GB, free: 123.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002411/0.9283, allocations: 0.8138 MB / 1.269 GB, free: 123.4 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02866/0.957, allocations: 12.24 MB / 1.281 GB, free: 114.1 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002472/0.9573, allocations: 23.72 kB / 1.281 GB, free: 114 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001426/0.9588, allocations: 357.2 kB / 1.281 GB, free: 113.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002227/0.959, allocations: 250 kB / 1.282 GB, free: 113.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02306/0.9821, allocations: 10.35 MB / 1.292 GB, free: 103.1 MB / 0.6511 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.06557/1.048, allocations: 48.04 MB / 1.339 GB, free: 52.93 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01018/1.058, allocations: 6.271 MB / 1.345 GB, free: 46.64 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007963/1.066, allocations: 5.051 MB / 1.35 GB, free: 41.58 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001261/1.067, allocations: 0.8544 MB / 1.35 GB, free: 40.6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005614/1.073, allocations: 3.278 MB / 1.354 GB, free: 37.29 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003825/1.077, allocations: 0.4984 MB / 1.354 GB, free: 36.78 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=453): time 9.786e-06/1.077, allocations: 0 / 1.354 GB, free: 36.78 MB / 0.6511 GB Notification: Performance of matching and sorting (n=453): time 0.01571/1.092, allocations: 8.764 MB / 1.363 GB, free: 27.99 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.753e-05/1.093, allocations: 154.3 kB / 1.363 GB, free: 27.81 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01139/1.104, allocations: 7.147 MB / 1.37 GB, free: 20.68 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0007413/1.105, allocations: 105.7 kB / 1.37 GB, free: 20.57 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.003697/1.108, allocations: 4.254 MB / 1.374 GB, free: 16.3 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.001747/1.11, allocations: 1.567 MB / 1.376 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004049/1.111, allocations: 116 kB / 1.376 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0003446/1.111, allocations: 0.5421 MB / 1.376 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005357/1.116, allocations: 2.994 MB / 1.379 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006368/1.123, allocations: 4.841 MB / 1.384 GB, free: 5.422 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006861/1.13, allocations: 4.031 MB / 1.388 GB, free: 1.375 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.744e-05/1.13, allocations: 20 kB / 1.388 GB, free: 1.355 MB / 0.6511 GB Notification: Performance of matching and sorting (n=756) (initialization): time 0.01998/1.15, allocations: 8.746 MB / 1.396 GB, free: 8.582 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001707/1.151, allocations: 1.856 MB / 1.398 GB, free: 5.918 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.597e-05/1.152, allocations: 59.94 kB / 1.398 GB, free: 5.859 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001432/1.152, allocations: 99.98 kB / 1.398 GB, free: 5.762 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007044/1.159, allocations: 1.365 MB / 1.4 GB, free: 4.395 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001605/1.159, allocations: 131.6 kB / 1.4 GB, free: 4.266 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008302/1.167, allocations: 0.6155 MB / 1.4 GB, free: 3.648 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001159/1.168, allocations: 276 kB / 1.401 GB, free: 3.379 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/1.168, allocations: 7.938 kB / 1.401 GB, free: 3.371 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01822/1.187, allocations: 8.163 MB / 1.409 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001193/1.187, allocations: 56.22 kB / 1.409 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001262/1.187, allocations: 100 kB / 1.409 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007043/1.194, allocations: 1.365 MB / 1.41 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001623/1.194, allocations: 123.6 kB / 1.41 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008045/1.202, allocations: 0.5962 MB / 1.411 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001184/1.204, allocations: 272 kB / 1.411 GB, free: 8.691 MB / 0.6823 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.008328/1.212, allocations: 3.551 MB / 1.415 GB, free: 5.113 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002158/1.214, allocations: 0.6947 MB / 1.415 GB, free: 4.41 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01676/1.231, allocations: 7.03 MB / 1.422 GB, free: 13.34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.355e-05/1.231, allocations: 40 kB / 1.422 GB, free: 13.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.748e-05/1.231, allocations: 8 kB / 1.422 GB, free: 13.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01279/1.244, allocations: 5.738 MB / 1.428 GB, free: 7.52 MB / 0.698 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.04038/1.284, allocations: 16.2 MB / 1.444 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-05/1.284, allocations: 7.984 kB / 1.444 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005948/1.29, allocations: 0.9363 MB / 1.445 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.84e-05/1.29, allocations: 19.94 kB / 1.445 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006128/1.291, allocations: 123.9 kB / 1.445 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.868e-05/1.291, allocations: 19.94 kB / 1.445 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.689e-06/1.291, allocations: 4 kB / 1.445 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02257/1.314, allocations: 10.44 MB / 1.455 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005589/1.319, allocations: 1.605 MB / 1.456 GB, free: 9.945 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001802/1.321, allocations: 95.98 kB / 1.457 GB, free: 9.852 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006583/1.328, allocations: 0.6337 MB / 1.457 GB, free: 9.223 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006868/1.328, allocations: 251.1 kB / 1.457 GB, free: 8.977 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00054/1.329, allocations: 171.9 kB / 1.458 GB, free: 8.809 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0107/1.34, allocations: 4.985 MB / 1.462 GB, free: 3.844 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.013e-06/1.34, allocations: 0 / 1.462 GB, free: 3.844 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.01673/1.356, allocations: 4.76 MB / 1.467 GB, free: 15.07 MB / 0.7448 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.001743/1.358, allocations: 0.5546 MB / 1.468 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.02368/1.382, allocations: 11.45 MB / 1.479 GB, free: 3.047 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.26e-05/1.382, allocations: 4 kB / 1.479 GB, free: 3.043 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00662/1.388, allocations: 3.2 MB / 1.482 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02454/1.413, allocations: 4.418 MB / 1.486 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04557/1.459, allocations: 22.56 MB / 1.508 GB, free: 4.844 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01025/1.469, allocations: 6.228 MB / 1.514 GB, free: 14.58 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.02708/1.496, allocations: 4.156 MB / 1.518 GB, free: 10.41 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006484/1.503, allocations: 0.5968 MB / 1.519 GB, free: 9.816 MB / 0.7917 GB Notification: Performance of SimCode: time 2.798e-06/1.503, allocations: 0 / 1.519 GB, free: 9.816 MB / 0.7917 GB Notification: Performance of Templates: time 1.256/2.759, allocations: 149.6 MB / 1.665 GB, free: 194.3 MB / 0.823 GB