Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.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.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible",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.01795/0.01796, allocations: 92.88 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.001745/0.001745, allocations: 173.3 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.268/2.268, allocations: 205.5 MB / 222.2 MB, free: 13.59 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.403/2.403, allocations: 252.8 MB / 0.511 GB, free: 8.266 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004872/0.0004874, allocations: 12.22 kB / 0.6243 GB, free: 21.08 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2503, allocations: 106.2 MB / 0.7281 GB, free: 8.059 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible): time 0.9717/1.222, allocations: 205.7 MB / 0.9289 GB, free: 15.97 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02532/1.247, allocations: 11.06 MB / 0.9397 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003149/1.251, allocations: 59.31 kB / 0.9398 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005156/1.256, allocations: 0.9717 MB / 0.9407 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01373/1.27, allocations: 3.021 MB / 0.9437 GB, free: 3.715 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007627/1.277, allocations: 1.686 MB / 0.9453 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.007761/1.285, allocations: 2.767 MB / 0.948 GB, free: 0.7344 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002737/1.288, allocations: 1.141 MB / 0.9491 GB, free: 32 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005386/1.293, allocations: 1.464 MB / 0.9506 GB, free: 15.12 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002627/1.296, allocations: 0.8332 MB / 0.9514 GB, free: 14.64 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004448/1.296, allocations: 59.69 kB / 0.9514 GB, free: 14.64 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005442/1.302, allocations: 1.169 MB / 0.9526 GB, free: 14.14 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0009413/1.303, allocations: 401.5 kB / 0.953 GB, free: 13.89 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001011/1.304, allocations: 394.4 kB / 0.9533 GB, free: 13.68 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.005252/1.309, allocations: 2.213 MB / 0.9555 GB, free: 12.17 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/1.309, allocations: 0 / 0.9555 GB, free: 12.17 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.906e-06/1.309, allocations: 0 / 0.9555 GB, free: 12.17 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.75e-05/1.309, allocations: 0 / 0.9555 GB, free: 12.17 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 0.005891/1.315, allocations: 1.914 MB / 0.9574 GB, free: 10.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/1.315, allocations: 10.41 kB / 0.9574 GB, free: 10.75 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005661/1.316, allocations: 163 kB / 0.9575 GB, free: 10.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002591/1.318, allocations: 356.3 kB / 0.9579 GB, free: 10.45 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003839/1.322, allocations: 1.255 MB / 0.9591 GB, free: 9.484 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.791e-05/1.323, allocations: 87.77 kB / 0.9592 GB, free: 9.445 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002659/1.323, allocations: 122.8 kB / 0.9593 GB, free: 9.406 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003441/1.326, allocations: 1.207 MB / 0.9605 GB, free: 8.664 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.13e-05/1.326, allocations: 7.844 kB / 0.9605 GB, free: 8.656 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001644/1.327, allocations: 49.12 kB / 0.9605 GB, free: 8.621 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.68e-05/1.327, allocations: 49.61 kB / 0.9606 GB, free: 8.609 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003002/1.33, allocations: 0.9718 MB / 0.9615 GB, free: 8.125 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 preOpt removeSimpleEquations (simulation): time 0.01098/1.341, allocations: 5.557 MB / 0.9669 GB, free: 2.996 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002147/1.343, allocations: 0.881 MB / 0.9678 GB, free: 2.07 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005265/1.343, allocations: 434.1 kB / 0.9682 GB, free: 1.555 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/1.343, allocations: 47.06 kB / 0.9683 GB, free: 1.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 4.438e-06/1.343, allocations: 0 / 0.9683 GB, free: 1.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.006157/1.35, allocations: 1.451 MB / 0.9697 GB, free: 4 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.425e-05/1.35, allocations: 59.97 kB / 0.9697 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002559/1.352, allocations: 1.214 MB / 0.9709 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002197/1.353, allocations: 41.7 kB / 0.971 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008027/1.353, allocations: 0.6849 MB / 0.9716 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003701/1.354, allocations: 248.4 kB / 0.9719 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.378e-05/1.354, allocations: 13.53 kB / 0.9719 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001485/1.354, allocations: 337.9 kB / 0.9722 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/1.355, allocations: 301.8 kB / 0.9725 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001259/1.356, allocations: 0.5231 MB / 0.973 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/1.357, allocations: 370.8 kB / 0.9734 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/1.357, allocations: 4 kB / 0.9734 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.003951/1.361, allocations: 1.075 MB / 0.9744 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004406/1.362, allocations: 1.083 MB / 0.9755 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/1.362, allocations: 4 kB / 0.9755 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001252/1.363, allocations: 153.5 kB / 0.9756 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/1.365, allocations: 175.7 kB / 0.9758 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001512/1.366, allocations: 1.765 MB / 0.9775 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002498/1.369, allocations: 172.1 kB / 0.9777 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/1.369, allocations: 32 kB / 0.9777 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/1.369, allocations: 7.938 kB / 0.9777 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002859/1.372, allocations: 0.8604 MB / 0.9786 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/1.372, allocations: 7.984 kB / 0.9786 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004737/1.372, allocations: 97.8 kB / 0.9787 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/1.374, allocations: 159.8 kB / 0.9788 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003942/1.378, allocations: 3.161 MB / 0.9819 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002483/1.38, allocations: 171.2 kB / 0.9821 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/1.38, allocations: 31.98 kB / 0.9821 GB, free: 2.711 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (87): * Single equations (assignments): 83 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.001066/1.381, allocations: 444.9 kB / 0.9825 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004134/1.382, allocations: 138.3 kB / 0.9826 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002993/1.385, allocations: 0.9499 MB / 0.9836 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/1.385, allocations: 8 kB / 0.9836 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/1.385, allocations: 0 / 0.9836 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002434/1.387, allocations: 1.067 MB / 0.9846 GB, free: 15.98 MB / 0.7292 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.006765/1.394, allocations: 2.522 MB / 0.9871 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/1.394, allocations: 4 kB / 0.9871 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001412/1.395, allocations: 160.1 kB / 0.9872 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003873/1.396, allocations: 93.58 kB / 0.9873 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-05/1.396, allocations: 31.89 kB / 0.9874 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/1.397, allocations: 1.734 MB / 0.9891 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.397, allocations: 4.031 kB / 0.9891 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004197/1.402, allocations: 1.628 MB / 0.9906 GB, free: 9.473 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/1.403, allocations: 335.2 kB / 0.991 GB, free: 9.125 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002534/1.403, allocations: 16 kB / 0.991 GB, free: 9.109 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001867/1.405, allocations: 128.7 kB / 0.9911 GB, free: 8.984 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001966/1.405, allocations: 52.45 kB / 0.9912 GB, free: 8.934 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/1.405, allocations: 31.98 kB / 0.9912 GB, free: 8.902 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001766/1.407, allocations: 0.828 MB / 0.992 GB, free: 8.074 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.21e-07/1.407, allocations: 0 / 0.992 GB, free: 8.074 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003344/1.41, allocations: 0.8184 MB / 0.9928 GB, free: 7.254 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 5 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.vol2.dynBal.m,hex.vol2.dynBal.mXi[1],hex.mas.T) * 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: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.005527/1.416, allocations: 3.163 MB / 0.9959 GB, free: 3.988 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004607/1.42, allocations: 1.452 MB / 0.9973 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.809e-06/1.421, allocations: 4 kB / 0.9973 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001445/1.422, allocations: 404 kB / 0.9977 GB, free: 2.117 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007004/1.429, allocations: 0.7715 MB / 0.9984 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/1.44, allocations: 5.717 MB / 1.004 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001323/1.441, allocations: 1.324 MB / 1.005 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002489/1.444, allocations: 351.2 kB / 1.006 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00127/1.445, allocations: 0.5773 MB / 1.006 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of SimCode: time 1.182e-06/1.445, allocations: 0 / 1.006 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1163/1.561, allocations: 40.34 MB / 1.046 GB, free: 1.414 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004255/1.562, allocations: 289.7 kB / 1.046 GB, free: 1.051 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.296/5.858, allocations: 0 / 1.046 GB, free: 1.051 MB / 0.7761 GB