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.008903/0.008903, allocations: 108.5 kB / 15.06 MB, free: 5.562 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.001128/0.001128, allocations: 181 kB / 15.95 MB, free: 5.527 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.006/2.006, allocations: 194.6 MB / 211.3 MB, free: 10.93 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.223/2.223, allocations: 236.1 MB / 492.6 MB, free: 11.22 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008072/0.0008075, allocations: 16 kB / 0.5869 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5386/0.5395, allocations: 98.72 MB / 0.6833 GB, free: 16.52 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.Stratified): time 0.06564/0.6051, allocations: 46.42 MB / 0.7287 GB, free: 14.2 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.02863/0.6338, allocations: 14.92 MB / 0.7432 GB, free: 0.7188 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003157/0.637, allocations: 63.62 kB / 0.7433 GB, free: 0.6562 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.003611/0.6407, allocations: 0.8514 MB / 0.7441 GB, free: 15.8 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.009275/0.65, allocations: 2.243 MB / 0.7463 GB, free: 13.55 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.006899/0.6569, allocations: 1.544 MB / 0.7478 GB, free: 12 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.02412/0.6811, allocations: 15.54 MB / 0.763 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.019/0.7001, allocations: 9.941 MB / 0.7727 GB, free: 2.41 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01267/0.7128, allocations: 5.992 MB / 0.7786 GB, free: 12.4 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01034/0.7232, allocations: 5.29 MB / 0.7837 GB, free: 7.086 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.002269/0.7255, allocations: 464 kB / 0.7842 GB, free: 6.633 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006735/0.7323, allocations: 1.222 MB / 0.7854 GB, free: 5.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.003832/0.7361, allocations: 1.938 MB / 0.7873 GB, free: 3.465 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.004717/0.7409, allocations: 2.188 MB / 0.7894 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.02064/0.7616, allocations: 14 MB / 0.8031 GB, free: 3.234 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.7616, allocations: 0 / 0.8031 GB, free: 3.234 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.999e-06/0.7616, allocations: 4 kB / 0.8031 GB, free: 3.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0003871/0.762, allocations: 0 / 0.8031 GB, free: 3.23 MB / 0.6198 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.02466/0.7867, allocations: 9.412 MB / 0.8123 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.7868, allocations: 12.03 kB / 0.8123 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005514/0.7923, allocations: 1.159 MB / 0.8134 GB, free: 8.527 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02265/0.815, allocations: 8.193 MB / 0.8214 GB, free: 264 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008272/0.8158, allocations: 0.6101 MB / 0.822 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002522/0.8184, allocations: 0.8161 MB / 0.8228 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03329/0.8517, allocations: 12.18 MB / 0.8347 GB, free: 2.281 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003037/0.852, allocations: 23.86 kB / 0.8347 GB, free: 2.258 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001875/0.8539, allocations: 352 kB / 0.8351 GB, free: 1.914 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003545/0.8543, allocations: 247.9 kB / 0.8353 GB, free: 1.672 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02902/0.8833, allocations: 10.36 MB / 0.8454 GB, free: 7.301 MB / 0.6667 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.09293/0.9763, allocations: 48.39 MB / 0.8927 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0144/0.9908, allocations: 6.407 MB / 0.8989 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001786/0.9926, allocations: 0.8477 MB / 0.8998 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008527/1.001, allocations: 3.283 MB / 0.903 GB, free: 9.488 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004436/1.006, allocations: 0.5369 MB / 0.9035 GB, free: 8.945 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=453): time 1.702e-05/1.006, allocations: 0 / 0.9035 GB, free: 8.945 MB / 0.7292 GB Notification: Performance of matching and sorting (n=453): time 0.9786/1.984, allocations: 8.971 MB / 0.9122 GB, free: 190.1 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/1.984, allocations: 158.5 kB / 0.9124 GB, free: 190 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01977/2.004, allocations: 7.744 MB / 0.92 GB, free: 187.7 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 0.0008905/2.005, allocations: 107.5 kB / 0.9201 GB, free: 187.7 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 0.005489/2.011, allocations: 4.246 MB / 0.9242 GB, free: 185.3 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 0.002424/2.013, allocations: 1.568 MB / 0.9257 GB, free: 184.1 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005336/2.014, allocations: 125.2 kB / 0.9259 GB, free: 184.1 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 0.0005221/2.014, allocations: 0.5421 MB / 0.9264 GB, free: 183.6 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007635/2.022, allocations: 3.008 MB / 0.9293 GB, free: 182.6 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008505/2.03, allocations: 4.835 MB / 0.934 GB, free: 179.3 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008899/2.039, allocations: 4.053 MB / 0.938 GB, free: 177.7 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.336e-05/2.04, allocations: 17.34 kB / 0.938 GB, free: 177.7 MB / 0.7293 GB Notification: Performance of matching and sorting (n=756) (initialization): time 0.02247/2.062, allocations: 8.775 MB / 0.9466 GB, free: 174.4 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 0.005382/2.067, allocations: 28.32 MB / 0.9742 GB, free: 144.3 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002265/2.068, allocations: 56.38 kB / 0.9743 GB, free: 144.3 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001795/2.068, allocations: 95.59 kB / 0.9744 GB, free: 144.3 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007711/2.076, allocations: 1.427 MB / 0.9758 GB, free: 144.2 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001964/2.076, allocations: 128.4 kB / 0.9759 GB, free: 144.2 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009186/2.085, allocations: 0.6382 MB / 0.9765 GB, free: 144 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001236/2.086, allocations: 276.3 kB / 0.9768 GB, free: 143.9 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/2.086, allocations: 4.375 kB / 0.9768 GB, free: 143.9 MB / 0.7293 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01817/2.105, allocations: 8.204 MB / 0.9848 GB, free: 140.2 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001395/2.105, allocations: 55 kB / 0.9849 GB, free: 140.2 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.885e-05/2.105, allocations: 101.2 kB / 0.985 GB, free: 140.2 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007398/2.112, allocations: 1.425 MB / 0.9863 GB, free: 139.8 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001462/2.112, allocations: 124.7 kB / 0.9865 GB, free: 139.8 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008233/2.121, allocations: 0.616 MB / 0.9871 GB, free: 139.4 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001238/2.122, allocations: 269.7 kB / 0.9873 GB, free: 139.4 MB / 0.7293 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.007305/2.129, allocations: 3.55 MB / 0.9908 GB, free: 137.2 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001932/2.131, allocations: 0.6957 MB / 0.9915 GB, free: 136.8 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01612/2.147, allocations: 7.064 MB / 0.9984 GB, free: 131.6 MB / 0.7293 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.391e-05/2.147, allocations: 47.92 kB / 0.9984 GB, free: 131.5 MB / 0.7293 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.545e-05/2.148, allocations: 4 kB / 0.9984 GB, free: 131.5 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01171/2.159, allocations: 5.772 MB / 1.004 GB, free: 125.7 MB / 0.7293 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.03575/2.195, allocations: 16.36 MB / 1.02 GB, free: 109.3 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-05/2.195, allocations: 0 / 1.02 GB, free: 109.3 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005557/2.201, allocations: 0.9011 MB / 1.021 GB, free: 108.4 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.72e-05/2.201, allocations: 18.73 kB / 1.021 GB, free: 108.4 MB / 0.7293 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007413/2.202, allocations: 119.9 kB / 1.021 GB, free: 108.3 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.329e-05/2.202, allocations: 16 kB / 1.021 GB, free: 108.3 MB / 0.7293 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.536e-06/2.202, allocations: 0 / 1.021 GB, free: 108.3 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01972/2.221, allocations: 10.6 MB / 1.031 GB, free: 97.6 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005146/2.226, allocations: 1.73 MB / 1.033 GB, free: 95.84 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001964/2.228, allocations: 91.98 kB / 1.033 GB, free: 95.75 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007164/2.236, allocations: 0.6106 MB / 1.034 GB, free: 95.15 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009458/2.237, allocations: 259.1 kB / 1.034 GB, free: 94.89 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005396/2.237, allocations: 167.9 kB / 1.034 GB, free: 94.73 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 0.0103/2.248, allocations: 5.461 MB / 1.04 GB, free: 89.29 MB / 0.7293 GB Notification: Performance of sort global known variables: time 1.027e-06/2.248, allocations: 0 / 1.04 GB, free: 89.29 MB / 0.7293 GB Notification: Performance of remove unused functions: time 0.01592/2.263, allocations: 4.813 MB / 1.044 GB, free: 84.49 MB / 0.7293 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.001772/2.265, allocations: 0.5868 MB / 1.045 GB, free: 83.97 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.02179/2.287, allocations: 11.52 MB / 1.056 GB, free: 72.43 MB / 0.7293 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/2.287, allocations: 7.938 kB / 1.056 GB, free: 72.43 MB / 0.7293 GB Notification: Performance of simCode: created simulation system equations: time 0.006321/2.293, allocations: 3.236 MB / 1.059 GB, free: 69.17 MB / 0.7293 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02067/2.314, allocations: 4.336 MB / 1.063 GB, free: 64.9 MB / 0.7293 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03918/2.353, allocations: 22.51 MB / 1.085 GB, free: 42.35 MB / 0.7293 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009881/2.363, allocations: 6.227 MB / 1.092 GB, free: 36.09 MB / 0.7293 GB Notification: Performance of simCode: alias equations: time 0.01763/2.381, allocations: 4.272 MB / 1.096 GB, free: 31.81 MB / 0.7293 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004494/2.386, allocations: 0.6008 MB / 1.096 GB, free: 31.21 MB / 0.7293 GB Notification: Performance of SimCode: time 3.079e-06/2.386, allocations: 0 / 1.096 GB, free: 31.21 MB / 0.7293 GB Notification: Performance of Templates: time 0.8874/3.273, allocations: 150.7 MB / 1.243 GB, free: 265.6 MB / 0.823 GB