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.HexElementLatent.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.HexElementLatent,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent",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.01652/0.01653, allocations: 108.4 kB / 15.06 MB, free: 5.555 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.001959/0.00196, allocations: 179.5 kB / 15.95 MB, free: 5.52 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.115/2.115, allocations: 194.6 MB / 211.3 MB, free: 10.94 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.537/2.537, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006595/0.0006596, allocations: 19.98 kB / 0.587 GB, free: 2.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7031/0.7038, allocations: 98.71 MB / 0.6834 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.3921/1.096, allocations: 209.4 MB / 0.888 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.03758/1.134, allocations: 15.79 MB / 0.9034 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003353/1.137, allocations: 63.56 kB / 0.9034 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.005135/1.142, allocations: 0.9991 MB / 0.9044 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01496/1.157, allocations: 3.221 MB / 0.9076 GB, free: 8.355 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.008948/1.166, allocations: 1.787 MB / 0.9093 GB, free: 6.566 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.009335/1.176, allocations: 3.097 MB / 0.9123 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003559/1.179, allocations: 1.337 MB / 0.9136 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005923/1.185, allocations: 1.592 MB / 0.9152 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6715/1.857, allocations: 0.978 MB / 0.9162 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0008646/1.858, allocations: 69.53 kB / 0.9162 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006351/1.864, allocations: 1.299 MB / 0.9175 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001437/1.866, allocations: 431 kB / 0.9179 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001605/1.867, allocations: 438.9 kB / 0.9183 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.007727/1.875, allocations: 2.457 MB / 0.9207 GB, free: 27.19 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/1.875, allocations: 0 / 0.9207 GB, free: 27.19 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.609e-06/1.875, allocations: 0.9062 kB / 0.9207 GB, free: 27.19 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001474/1.875, allocations: 1.156 kB / 0.9207 GB, free: 27.19 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: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.009206/1.884, allocations: 2.074 MB / 0.9227 GB, free: 26.1 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/1.885, allocations: 8.938 kB / 0.9228 GB, free: 26.1 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009738/1.886, allocations: 205.1 kB / 0.9229 GB, free: 26.05 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00362/1.889, allocations: 373.8 kB / 0.9233 GB, free: 25.94 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005246/1.894, allocations: 1.339 MB / 0.9246 GB, free: 25.56 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001891/1.895, allocations: 108.4 kB / 0.9247 GB, free: 25.55 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005244/1.895, allocations: 138.6 kB / 0.9248 GB, free: 25.55 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006126/1.901, allocations: 1.495 MB / 0.9263 GB, free: 25.35 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.786e-05/1.901, allocations: 4.156 kB / 0.9263 GB, free: 25.35 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002483/1.902, allocations: 59.88 kB / 0.9264 GB, free: 25.35 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001154/1.902, allocations: 54.06 kB / 0.9264 GB, free: 25.35 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005172/1.907, allocations: 1.159 MB / 0.9276 GB, free: 25.32 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.01652/1.924, allocations: 7.292 MB / 0.9347 GB, free: 21.24 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002806/1.926, allocations: 0.8613 MB / 0.9355 GB, free: 21.11 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009953/1.928, allocations: 0.5568 MB / 0.9361 GB, free: 20.54 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.559e-05/1.928, allocations: 43.58 kB / 0.9361 GB, free: 20.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=72): time 3.196e-06/1.928, allocations: 0 / 0.9361 GB, free: 20.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=72): time 0.01376/1.941, allocations: 2.169 MB / 0.9382 GB, free: 20.02 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/1.941, allocations: 63.27 kB / 0.9383 GB, free: 19.95 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003666/1.945, allocations: 1.322 MB / 0.9396 GB, free: 19.79 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002983/1.946, allocations: 43.67 kB / 0.9396 GB, free: 19.75 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009364/1.946, allocations: 0.8113 MB / 0.9404 GB, free: 19.45 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005075/1.947, allocations: 252.5 kB / 0.9406 GB, free: 19.29 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.541e-05/1.947, allocations: 15.94 kB / 0.9407 GB, free: 19.29 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001042/1.947, allocations: 338.4 kB / 0.941 GB, free: 18.98 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00119/1.948, allocations: 328.9 kB / 0.9413 GB, free: 18.98 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001554/1.95, allocations: 0.5668 MB / 0.9418 GB, free: 18.72 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/1.952, allocations: 413.2 kB / 0.9422 GB, free: 18.71 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.568e-05/1.952, allocations: 3.688 kB / 0.9422 GB, free: 18.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005285/1.957, allocations: 1.265 MB / 0.9435 GB, free: 18.55 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004436/1.957, allocations: 1.974 MB / 0.9454 GB, free: 16.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-05/1.957, allocations: 4.938 kB / 0.9454 GB, free: 16.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003609/1.961, allocations: 422.7 kB / 0.9458 GB, free: 16.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/1.963, allocations: 156.5 kB / 0.946 GB, free: 16.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002436/1.965, allocations: 2.055 MB / 0.948 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002923/1.968, allocations: 192.9 kB / 0.9482 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003087/1.968, allocations: 38.28 kB / 0.9482 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/1.968, allocations: 3.562 kB / 0.9482 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003888/1.972, allocations: 1.063 MB / 0.9492 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.528e-05/1.972, allocations: 5.688 kB / 0.9492 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002759/1.975, allocations: 366.8 kB / 0.9496 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/1.977, allocations: 155.6 kB / 0.9497 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004843/1.981, allocations: 3.882 MB / 0.9535 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002796/1.984, allocations: 182.6 kB / 0.9537 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002858/1.985, allocations: 35.72 kB / 0.9537 GB, free: 11.44 MB / 0.7292 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 (79): * Single equations (assignments): 75 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 21,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001588/1.986, allocations: 474.5 kB / 0.9542 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000666/1.987, allocations: 156.1 kB / 0.9543 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004833/1.992, allocations: 1.224 MB / 0.9555 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.119e-05/1.992, allocations: 9.594 kB / 0.9555 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/1.992, allocations: 0 / 0.9555 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00428/1.996, allocations: 1.315 MB / 0.9568 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008506/2.005, allocations: 2.655 MB / 0.9594 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-05/2.005, allocations: 2.781 kB / 0.9594 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009145/2.006, allocations: 103.3 kB / 0.9595 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002676/2.008, allocations: 382.7 kB / 0.9599 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001801/2.009, allocations: 15.72 kB / 0.9599 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002085/2.011, allocations: 2.043 MB / 0.9619 GB, free: 8.449 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/2.011, allocations: 2.906 kB / 0.9619 GB, free: 8.449 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003693/2.014, allocations: 1.347 MB / 0.9632 GB, free: 7.91 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001554/2.016, allocations: 340.2 kB / 0.9635 GB, free: 7.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006987/2.017, allocations: 14.28 kB / 0.9636 GB, free: 7.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002665/2.02, allocations: 126.5 kB / 0.9637 GB, free: 7.711 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002823/2.02, allocations: 48.12 kB / 0.9637 GB, free: 7.707 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001214/2.02, allocations: 37.61 kB / 0.9638 GB, free: 7.707 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002167/2.022, allocations: 0.89 MB / 0.9646 GB, free: 7.598 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.42e-07/2.022, allocations: 2.812 kB / 0.9646 GB, free: 7.598 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005638/2.028, allocations: 0.909 MB / 0.9655 GB, free: 7.461 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (46): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 21,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005006/2.033, allocations: 2.72 MB / 0.9682 GB, free: 5.793 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0059/2.039, allocations: 1.654 MB / 0.9698 GB, free: 5.543 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/2.039, allocations: 0 / 0.9698 GB, free: 5.543 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001913/2.041, allocations: 469 kB / 0.9702 GB, free: 5.527 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00722/2.048, allocations: 0.7814 MB / 0.971 GB, free: 5.453 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/2.059, allocations: 7.337 MB / 0.9782 GB, free: 88 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001403/2.061, allocations: 1.383 MB / 0.9795 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002651/2.063, allocations: 309.3 kB / 0.9798 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001531/2.065, allocations: 0.644 MB / 0.9804 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of SimCode: time 1.222e-06/2.065, allocations: 0 / 0.9804 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1306/2.196, allocations: 44.14 MB / 1.024 GB, free: 4.473 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003921/2.196, allocations: 284 kB / 1.024 GB, free: 4.105 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.633/6.829, allocations: 0 / 1.024 GB, free: 4.105 MB / 0.7605 GB