Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01558/0.01558, allocations: 88.39 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.002079/0.002079, allocations: 173 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.266/2.266, allocations: 205.5 MB / 222.2 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.546/2.546, allocations: 252.8 MB / 0.511 GB, free: 8.332 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005055/0.0005057, allocations: 16.84 kB / 0.6243 GB, free: 28.32 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2321, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.1307/0.3628, allocations: 64.42 MB / 0.791 GB, free: 9.566 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.03632/0.3992, allocations: 16.06 MB / 0.8067 GB, free: 9.484 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003902/0.4032, allocations: 83.38 kB / 0.8067 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.005999/0.4092, allocations: 1.178 MB / 0.8079 GB, free: 8.219 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01553/0.4248, allocations: 3.447 MB / 0.8113 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.01038/0.4352, allocations: 2.164 MB / 0.8134 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01048/0.4457, allocations: 3.833 MB / 0.8171 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003593/0.4494, allocations: 1.457 MB / 0.8185 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005362/0.4548, allocations: 1.631 MB / 0.8201 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00321/0.458, allocations: 1.073 MB / 0.8212 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0005806/0.4587, allocations: 76 kB / 0.8212 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005429/0.4641, allocations: 1.01 MB / 0.8222 GB, free: 9.469 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0009707/0.4651, allocations: 374.4 kB / 0.8226 GB, free: 9.102 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001157/0.4663, allocations: 488.6 kB / 0.8231 GB, free: 8.617 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.006216/0.4725, allocations: 2.619 MB / 0.8256 GB, free: 5.992 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.4726, allocations: 0 / 0.8256 GB, free: 5.992 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.725e-06/0.4726, allocations: 0 / 0.8256 GB, free: 5.992 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.807e-05/0.4727, allocations: 3.938 kB / 0.8256 GB, free: 5.988 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.006647/0.4794, allocations: 2.31 MB / 0.8279 GB, free: 3.613 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.4794, allocations: 8.031 kB / 0.8279 GB, free: 3.605 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000627/0.4801, allocations: 206.6 kB / 0.8281 GB, free: 3.395 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.4812, allocations: 265.1 kB / 0.8283 GB, free: 3.133 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005221/0.4864, allocations: 1.747 MB / 0.83 GB, free: 1.336 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/0.4866, allocations: 106.6 kB / 0.8301 GB, free: 1.23 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003474/0.487, allocations: 152 kB / 0.8303 GB, free: 1.082 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004489/0.4915, allocations: 1.497 MB / 0.8317 GB, free: 15.51 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-05/0.4916, allocations: 7.891 kB / 0.8318 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002206/0.4918, allocations: 63.98 kB / 0.8318 GB, free: 15.44 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.547e-05/0.4919, allocations: 40 kB / 0.8319 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004147/0.4961, allocations: 1.154 MB / 0.833 GB, free: 14.24 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.01387/0.51, allocations: 7.606 MB / 0.8404 GB, free: 6.055 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/0.5117, allocations: 0.5005 MB / 0.8409 GB, free: 5.547 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001229/0.513, allocations: 1.145 MB / 0.842 GB, free: 4.145 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.998e-05/0.513, allocations: 43.11 kB / 0.8421 GB, free: 4.094 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=59): time 3.566e-06/0.5131, allocations: 0 / 0.8421 GB, free: 4.094 MB / 0.6667 GB Notification: Performance of matching and sorting (n=59): time 0.003893/0.517, allocations: 1.02 MB / 0.8431 GB, free: 3.07 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.517, allocations: 59.97 kB / 0.8431 GB, free: 3 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003684/0.5207, allocations: 1.813 MB / 0.8449 GB, free: 1.148 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.000166/0.5209, allocations: 45.7 kB / 0.8449 GB, free: 1.098 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001118/0.5221, allocations: 0.9198 MB / 0.8458 GB, free: 172 kB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.5671/1.089, allocations: 212.8 kB / 0.846 GB, free: 115.5 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.688e-05/1.089, allocations: 24.31 kB / 0.846 GB, free: 115.5 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001414/1.089, allocations: 346.3 kB / 0.8464 GB, free: 115.2 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001436/1.091, allocations: 348 kB / 0.8467 GB, free: 115.2 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001722/1.093, allocations: 0.7113 MB / 0.8474 GB, free: 114.8 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/1.094, allocations: 462.6 kB / 0.8478 GB, free: 114.8 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-05/1.094, allocations: 2.031 kB / 0.8478 GB, free: 114.8 MB / 0.6667 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.004275/1.099, allocations: 1.256 MB / 0.8491 GB, free: 114.7 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/1.099, allocations: 10.34 kB / 0.8491 GB, free: 114.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.471e-05/1.099, allocations: 9.625 kB / 0.8491 GB, free: 114.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.436e-05/1.099, allocations: 17.09 kB / 0.8491 GB, free: 114.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002202/1.101, allocations: 314.2 kB / 0.8494 GB, free: 114.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-05/1.101, allocations: 25.62 kB / 0.8494 GB, free: 114.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00289/1.104, allocations: 253.2 kB / 0.8497 GB, free: 114.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000245/1.104, allocations: 58.59 kB / 0.8497 GB, free: 114.7 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * 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.001262/1.105, allocations: 434.7 kB / 0.8501 GB, free: 114.5 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006233/1.106, allocations: 189.3 kB / 0.8503 GB, free: 114.5 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003062/1.109, allocations: 0.904 MB / 0.8512 GB, free: 114.4 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/1.109, allocations: 11.73 kB / 0.8512 GB, free: 114.4 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/1.109, allocations: 0 / 0.8512 GB, free: 114.4 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002105/1.111, allocations: 0.8401 MB / 0.852 GB, free: 114.2 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006371/1.118, allocations: 2.495 MB / 0.8545 GB, free: 113.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/1.118, allocations: 3.125 kB / 0.8545 GB, free: 113.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001563/1.119, allocations: 205.6 kB / 0.8547 GB, free: 113.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.266e-05/1.119, allocations: 5.75 kB / 0.8547 GB, free: 113.3 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.859e-05/1.12, allocations: 22.5 kB / 0.8547 GB, free: 113.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.596e-06/1.12, allocations: 7.391 kB / 0.8547 GB, free: 113.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/1.12, allocations: 3.219 kB / 0.8547 GB, free: 113.2 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004104/1.124, allocations: 1.546 MB / 0.8562 GB, free: 112.4 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001354/1.125, allocations: 416.5 kB / 0.8566 GB, free: 112.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005/1.126, allocations: 13.78 kB / 0.8566 GB, free: 112.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002445/1.128, allocations: 126.8 kB / 0.8568 GB, free: 112.1 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002329/1.128, allocations: 49.19 kB / 0.8568 GB, free: 112.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001297/1.128, allocations: 31.61 kB / 0.8568 GB, free: 112.1 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.003565/1.132, allocations: 1.261 MB / 0.8581 GB, free: 111.6 MB / 0.6667 GB Notification: Performance of sort global known variables: time 9.22e-07/1.132, allocations: 0 / 0.8581 GB, free: 111.6 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004861/1.137, allocations: 0.6577 MB / 0.8587 GB, free: 111.5 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.dynBal.U) * 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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.0104/1.147, allocations: 3.084 MB / 0.8617 GB, free: 109.6 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.005028/1.153, allocations: 0.8477 MB / 0.8625 GB, free: 109.3 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-05/1.153, allocations: 0.7812 kB / 0.8625 GB, free: 109.3 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002241/1.155, allocations: 376 kB / 0.8629 GB, free: 109.2 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01577/1.171, allocations: 1.199 MB / 0.8641 GB, free: 109 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01974/1.191, allocations: 11.51 MB / 0.8753 GB, free: 99.18 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002572/1.193, allocations: 1.44 MB / 0.8767 GB, free: 98.39 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.00433/1.198, allocations: 382.3 kB / 0.8771 GB, free: 98.29 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002828/1.2, allocations: 0.7572 MB / 0.8778 GB, free: 97.71 MB / 0.6667 GB Notification: Performance of SimCode: time 1.693e-06/1.2, allocations: 0 / 0.8778 GB, free: 97.71 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1577/1.358, allocations: 56.44 MB / 0.9329 GB, free: 51.18 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002232/1.358, allocations: 244.5 kB / 0.9332 GB, free: 50.94 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.734/6.092, allocations: 0 / 0.9332 GB, free: 50.94 MB / 0.6667 GB