Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.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.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01089/0.0109, allocations: 111.8 kB / 15.06 MB, free: 5.984 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.001253/0.001253, allocations: 175.4 kB / 15.95 MB, free: 5.918 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.131/2.131, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.406/2.406, allocations: 236.2 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004781/0.0004781, allocations: 12 kB / 0.587 GB, free: 2.098 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7125/0.713, allocations: 98.71 MB / 0.6834 GB, free: 16.72 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible): time 0.36/1.073, allocations: 205 MB / 0.8836 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02604/1.099, allocations: 11.04 MB / 0.8944 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002973/1.102, allocations: 59.56 kB / 0.8944 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.004971/1.107, allocations: 0.972 MB / 0.8954 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01389/1.121, allocations: 3.023 MB / 0.8983 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.007821/1.129, allocations: 1.619 MB / 0.8999 GB, free: 232 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.008285/1.137, allocations: 2.827 MB / 0.9027 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003043/1.14, allocations: 1.141 MB / 0.9038 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005517/1.146, allocations: 1.487 MB / 0.9053 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002601/1.149, allocations: 0.8439 MB / 0.9061 GB, free: 9.891 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0006052/1.149, allocations: 60 kB / 0.9061 GB, free: 9.832 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005574/1.155, allocations: 1.162 MB / 0.9073 GB, free: 8.668 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001164/1.156, allocations: 402.6 kB / 0.9077 GB, free: 8.273 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.00114/1.157, allocations: 392.8 kB / 0.908 GB, free: 7.883 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.005421/1.163, allocations: 2.213 MB / 0.9102 GB, free: 5.664 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/1.163, allocations: 0 / 0.9102 GB, free: 5.664 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.236e-06/1.163, allocations: 0 / 0.9102 GB, free: 5.664 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.643e-05/1.163, allocations: 0 / 0.9102 GB, free: 5.664 MB / 0.7292 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.006343/1.169, allocations: 1.901 MB / 0.912 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/1.169, allocations: 16.03 kB / 0.9121 GB, free: 3.691 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005977/1.17, allocations: 172.9 kB / 0.9122 GB, free: 3.512 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002805/1.173, allocations: 349.3 kB / 0.9126 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004091/1.177, allocations: 1.273 MB / 0.9138 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/1.177, allocations: 86.17 kB / 0.9139 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003186/1.178, allocations: 116 kB / 0.914 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003956/1.181, allocations: 1.209 MB / 0.9152 GB, free: 392 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-05/1.182, allocations: 11.98 kB / 0.9152 GB, free: 380 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001755/1.182, allocations: 43.95 kB / 0.9152 GB, free: 336 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.151e-05/1.182, allocations: 46.16 kB / 0.9153 GB, free: 288 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5644/1.746, allocations: 0.9692 MB / 0.9162 GB, free: 217.1 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 preOpt removeSimpleEquations (simulation): time 0.01292/1.759, allocations: 5.531 MB / 0.9216 GB, free: 213.4 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002478/1.762, allocations: 0.8749 MB / 0.9225 GB, free: 212.9 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000439/1.762, allocations: 433.8 kB / 0.9229 GB, free: 212.4 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/1.762, allocations: 47.52 kB / 0.9229 GB, free: 212.4 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=68): time 3.657e-06/1.762, allocations: 0.9688 kB / 0.9229 GB, free: 212.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=68): time 0.006851/1.769, allocations: 1.422 MB / 0.9243 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/1.769, allocations: 63.89 kB / 0.9244 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003182/1.773, allocations: 1.221 MB / 0.9256 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002455/1.773, allocations: 41.36 kB / 0.9256 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008183/1.774, allocations: 0.7019 MB / 0.9263 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004268/1.774, allocations: 246 kB / 0.9265 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.725e-05/1.774, allocations: 20.81 kB / 0.9266 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001059/1.774, allocations: 335.2 kB / 0.9269 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/1.775, allocations: 292.8 kB / 0.9272 GB, free: 210 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00149/1.777, allocations: 0.5291 MB / 0.9277 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/1.778, allocations: 372.4 kB / 0.928 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.601e-05/1.779, allocations: 1.859 kB / 0.928 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00465/1.783, allocations: 1.071 MB / 0.9291 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002659/1.784, allocations: 1.079 MB / 0.9301 GB, free: 208 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/1.784, allocations: 2.562 kB / 0.9301 GB, free: 208 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001401/1.785, allocations: 156.7 kB / 0.9303 GB, free: 208 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001683/1.787, allocations: 184 kB / 0.9305 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001335/1.788, allocations: 1.756 MB / 0.9322 GB, free: 206.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00266/1.791, allocations: 173.3 kB / 0.9323 GB, free: 206.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002079/1.791, allocations: 37.55 kB / 0.9324 GB, free: 206.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/1.791, allocations: 3.906 kB / 0.9324 GB, free: 206.2 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003405/1.794, allocations: 0.8556 MB / 0.9332 GB, free: 205.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.3e-05/1.795, allocations: 3.031 kB / 0.9332 GB, free: 205.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006355/1.795, allocations: 94.77 kB / 0.9333 GB, free: 205.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001878/1.797, allocations: 162.5 kB / 0.9335 GB, free: 205.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004846/1.802, allocations: 3.17 MB / 0.9366 GB, free: 202.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00334/1.805, allocations: 166.8 kB / 0.9367 GB, free: 202.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002704/1.806, allocations: 31.59 kB / 0.9367 GB, free: 202.7 MB / 0.7292 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.00162/1.807, allocations: 438.1 kB / 0.9372 GB, free: 202.4 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007285/1.808, allocations: 149.2 kB / 0.9373 GB, free: 202.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004666/1.813, allocations: 0.9401 MB / 0.9382 GB, free: 201.9 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.908e-05/1.813, allocations: 6.844 kB / 0.9382 GB, free: 201.9 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/1.813, allocations: 1 kB / 0.9382 GB, free: 201.9 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003569/1.816, allocations: 1.047 MB / 0.9393 GB, free: 201.2 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.01032/1.827, allocations: 2.452 MB / 0.9416 GB, free: 200 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.755e-05/1.827, allocations: 6.219 kB / 0.9417 GB, free: 200 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002015/1.829, allocations: 159.4 kB / 0.9418 GB, free: 200 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005798/1.83, allocations: 98.17 kB / 0.9419 GB, free: 200 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001789/1.83, allocations: 15.44 kB / 0.9419 GB, free: 200 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001381/1.831, allocations: 1.742 MB / 0.9436 GB, free: 198.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.929e-06/1.831, allocations: 7.359 kB / 0.9436 GB, free: 198.3 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005788/1.837, allocations: 1.566 MB / 0.9452 GB, free: 197.4 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001481/1.839, allocations: 327.4 kB / 0.9455 GB, free: 197.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005863/1.839, allocations: 19.97 kB / 0.9455 GB, free: 197.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003084/1.842, allocations: 119.5 kB / 0.9456 GB, free: 197.1 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003295/1.843, allocations: 45.14 kB / 0.9456 GB, free: 197.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001573/1.843, allocations: 26.91 kB / 0.9457 GB, free: 197.1 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002854/1.846, allocations: 0.8339 MB / 0.9465 GB, free: 196.6 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.61e-07/1.846, allocations: 0 / 0.9465 GB, free: 196.6 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005337/1.851, allocations: 0.8224 MB / 0.9473 GB, free: 196.4 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (62): * Single equations (assignments): 57 * 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.007063/1.858, allocations: 2.942 MB / 0.9502 GB, free: 194.2 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.006747/1.865, allocations: 1.443 MB / 0.9516 GB, free: 193.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.245e-05/1.865, allocations: 5.219 kB / 0.9516 GB, free: 193.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002034/1.867, allocations: 403.7 kB / 0.952 GB, free: 193.3 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009252/1.876, allocations: 0.7844 MB / 0.9527 GB, free: 192.9 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/1.888, allocations: 5.699 MB / 0.9583 GB, free: 188.4 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001241/1.889, allocations: 1.313 MB / 0.9596 GB, free: 187.4 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002607/1.892, allocations: 331.4 kB / 0.9599 GB, free: 187.2 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001477/1.893, allocations: 0.591 MB / 0.9605 GB, free: 186.7 MB / 0.7292 GB Notification: Performance of SimCode: time 1.052e-06/1.893, allocations: 0 / 0.9605 GB, free: 186.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.114/2.007, allocations: 40.49 MB / 1 GB, free: 152 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002251/2.007, allocations: 286.3 kB / 1 GB, free: 151.6 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.313/6.321, allocations: 0 / 1 GB, free: 151.6 MB / 0.7292 GB