Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.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.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_6_0_0_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",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.03608/0.03609, allocations: 221.6 kB / 15.17 MB, free: 5.918 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.001942/0.001942, allocations: 177.8 kB / 16.06 MB, free: 5.828 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.872/3.872, allocations: 389.1 MB / 405.9 MB, free: 6.805 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.573/4.573, allocations: 472.3 MB / 0.9017 GB, free: 10.77 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004948/0.0004952, allocations: 8 kB / 1.008 GB, free: 6.645 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2392, allocations: 98.7 MB / 1.104 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.9749/1.214, allocations: 278.3 MB / 1.376 GB, free: 62.71 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.03612/1.25, allocations: 19.93 MB / 1.395 GB, free: 42.79 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004672/1.255, allocations: 71.56 kB / 1.395 GB, free: 42.71 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.007405/1.263, allocations: 1.658 MB / 1.397 GB, free: 41.05 MB / 0.7917 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. Notification: Performance of NFTyping.typeBindings: time 0.02161/1.284, allocations: 5.901 MB / 1.403 GB, free: 35.12 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0104/1.295, allocations: 2.516 MB / 1.405 GB, free: 32.65 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01542/1.31, allocations: 11.18 MB / 1.416 GB, free: 21.44 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005395/1.315, allocations: 2.414 MB / 1.419 GB, free: 19.11 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008473/1.324, allocations: 3.17 MB / 1.422 GB, free: 15.93 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007133/1.331, allocations: 3.19 MB / 1.425 GB, free: 12.73 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.001627/1.333, allocations: 200 kB / 1.425 GB, free: 12.54 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01087/1.344, allocations: 2.45 MB / 1.427 GB, free: 10.08 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.003063/1.347, allocations: 1.5 MB / 1.429 GB, free: 8.578 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.002553/1.35, allocations: 0.8161 MB / 1.43 GB, free: 7.754 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.009928/1.36, allocations: 5.009 MB / 1.434 GB, free: 2.734 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/1.36, allocations: 0 / 1.434 GB, free: 2.734 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.565e-06/1.36, allocations: 0 / 1.434 GB, free: 2.734 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0002197/1.36, allocations: 0 / 1.434 GB, free: 2.734 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 851 * Number of variables: 851 Notification: Performance of Generate backend data structure: time 0.01919/1.379, allocations: 4.249 MB / 1.439 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/1.379, allocations: 8.031 kB / 1.439 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001699/1.381, allocations: 463.8 kB / 1.439 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01064/1.391, allocations: 1.029 MB / 1.44 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007422/1.399, allocations: 2.082 MB / 1.442 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003852/1.399, allocations: 254.4 kB / 1.442 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001268/1.401, allocations: 328 kB / 1.443 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0146/1.415, allocations: 4.248 MB / 1.447 GB, free: 5.875 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000182/1.416, allocations: 7.938 kB / 1.447 GB, free: 5.867 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000934/1.416, allocations: 132 kB / 1.447 GB, free: 5.738 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003071/1.417, allocations: 174.4 kB / 1.447 GB, free: 5.566 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01654/1.433, allocations: 4.776 MB / 1.452 GB, free: 0.7812 MB / 0.8073 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.03682/1.47, allocations: 14.41 MB / 1.466 GB, free: 1.441 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.582/2.052, allocations: 4.528 MB / 1.47 GB, free: 278.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006192/2.059, allocations: 2.431 MB / 1.473 GB, free: 278.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00275/2.061, allocations: 1.749 MB / 1.474 GB, free: 276.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001046/2.062, allocations: 82.22 kB / 1.474 GB, free: 276.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=392): time 6.903e-06/2.062, allocations: 0 / 1.474 GB, free: 276.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=392): time 0.0169/2.078, allocations: 5.475 MB / 1.48 GB, free: 275.3 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.336e-05/2.079, allocations: 95.33 kB / 1.48 GB, free: 275.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003492/2.082, allocations: 1.675 MB / 1.482 GB, free: 274.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0008221/2.083, allocations: 97.36 kB / 1.482 GB, free: 274.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001039/2.084, allocations: 1.137 MB / 1.483 GB, free: 273.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001849/2.086, allocations: 1.316 MB / 1.484 GB, free: 272.7 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002906/2.086, allocations: 70.66 kB / 1.484 GB, free: 272.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002802/2.087, allocations: 443.8 kB / 1.484 GB, free: 272.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004571/2.091, allocations: 1.541 MB / 1.486 GB, free: 271.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005141/2.096, allocations: 1.922 MB / 1.488 GB, free: 270.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005192/2.102, allocations: 1.82 MB / 1.49 GB, free: 270.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.936e-05/2.102, allocations: 1.469 kB / 1.49 GB, free: 270.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01264/2.114, allocations: 4.129 MB / 1.494 GB, free: 268.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.443e-05/2.114, allocations: 7.781 kB / 1.494 GB, free: 268.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-05/2.114, allocations: 4.625 kB / 1.494 GB, free: 268.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.315e-05/2.114, allocations: 19.75 kB / 1.494 GB, free: 268.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006632/2.121, allocations: 0.6976 MB / 1.494 GB, free: 268.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.661e-05/2.121, allocations: 27.42 kB / 1.494 GB, free: 268.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006026/2.127, allocations: 429.9 kB / 1.495 GB, free: 268.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004984/2.128, allocations: 118.6 kB / 1.495 GB, free: 268.2 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (430): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * 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.002614/2.13, allocations: 0.8065 MB / 1.496 GB, free: 267.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001153/2.132, allocations: 295.3 kB / 1.496 GB, free: 267.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01389/2.146, allocations: 4.391 MB / 1.5 GB, free: 265.8 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.717e-05/2.146, allocations: 41.22 kB / 1.5 GB, free: 265.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.605e-05/2.146, allocations: 0.5625 kB / 1.5 GB, free: 265.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01148/2.157, allocations: 3.753 MB / 1.504 GB, free: 264.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02766/2.185, allocations: 8.591 MB / 1.512 GB, free: 260.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.04e-05/2.185, allocations: 2.031 kB / 1.512 GB, free: 260.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00732/2.192, allocations: 0.7351 MB / 1.513 GB, free: 260.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.397e-05/2.192, allocations: 16.59 kB / 1.513 GB, free: 260.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008188/2.193, allocations: 85.14 kB / 1.513 GB, free: 260.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.343e-05/2.193, allocations: 18.33 kB / 1.513 GB, free: 260.5 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/2.193, allocations: 3.5 kB / 1.513 GB, free: 260.5 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02039/2.214, allocations: 6.765 MB / 1.52 GB, free: 257.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00364/2.217, allocations: 0.8162 MB / 1.521 GB, free: 257.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001289/2.219, allocations: 72.09 kB / 1.521 GB, free: 257.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005847/2.225, allocations: 278.6 kB / 1.521 GB, free: 257.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001194/2.226, allocations: 238.8 kB / 1.521 GB, free: 257 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005198/2.226, allocations: 116.9 kB / 1.521 GB, free: 257 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.003221/2.23, allocations: 1.147 MB / 1.522 GB, free: 256.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.183e-06/2.23, allocations: 0 / 1.522 GB, free: 256.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.005778/2.236, allocations: 1.236 MB / 1.524 GB, free: 256.3 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.U,volBotEas.dynBal.m,volBotEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.U,volBotWes.dynBal.m,volBotWes.dynBal.mXi[1],oriEasTop.mExc,volTopEas.dynBal.U,volTopEas.dynBal.m,volTopEas.dynBal.mXi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,volTopWes.dynBal.mXi[1],dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (392): * Single equations (assignments): 392 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.022/2.258, allocations: 7.709 MB / 1.531 GB, free: 252.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01114/2.269, allocations: 3.888 MB / 1.535 GB, free: 251.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.298e-05/2.269, allocations: 3.625 kB / 1.535 GB, free: 251.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.005928/2.275, allocations: 2.134 MB / 1.537 GB, free: 250.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01458/2.289, allocations: 1.542 MB / 1.539 GB, free: 250.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07935/2.369, allocations: 23.1 MB / 1.561 GB, free: 228.8 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004188/2.373, allocations: 2.288 MB / 1.563 GB, free: 226.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.01097/2.384, allocations: 1.198 MB / 1.565 GB, free: 225.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003831/2.388, allocations: 1.378 MB / 1.566 GB, free: 224.2 MB / 0.823 GB Notification: Performance of SimCode: time 1.773e-06/2.388, allocations: 0 / 1.566 GB, free: 224.2 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.244/2.632, allocations: 85.55 MB / 1.649 GB, free: 141.5 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/2.632, allocations: 237.7 kB / 1.65 GB, free: 141.2 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.77/9.403, allocations: 7.938 kB / 1.65 GB, free: 141.2 MB / 0.823 GB