Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.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.ActiveBeams.Validation.NumberOfBeamsDynamics,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeamsDynamics",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.0107/0.0107, allocations: 107.7 kB / 15.05 MB, free: 5.93 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.001109/0.00111, allocations: 186.4 kB / 15.94 MB, free: 5.895 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 1.966/1.966, allocations: 194.6 MB / 211.2 MB, free: 11.07 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.202/2.202, allocations: 236.2 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000509/0.000509, allocations: 12 kB / 0.587 GB, free: 2.047 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7472/0.7477, allocations: 98.71 MB / 0.6834 GB, free: 16.69 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.872/8.62, allocations: 2.477 GB / 3.16 GB, free: 203.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003246/8.621, allocations: 104.2 kB / 3.16 GB, free: 203.7 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 24.11/32.73, allocations: 4.349 GB / 7.509 GB, free: 49.99 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.825e-06/32.73, allocations: 0 / 7.509 GB, free: 49.99 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.001973/32.73, allocations: 205.2 kB / 7.509 GB, free: 49.95 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1118 * Number of variables: 1118 Notification: Performance of Generate backend data structure: time 0.0455/32.78, allocations: 10.19 MB / 7.519 GB, free: 44.77 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/32.78, allocations: 13.38 kB / 7.519 GB, free: 44.77 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003124/32.78, allocations: 0.5811 MB / 7.52 GB, free: 44.7 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01253/32.79, allocations: 1.491 MB / 7.521 GB, free: 44.21 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04139/32.84, allocations: 9.9 MB / 7.531 GB, free: 42.79 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007287/32.84, allocations: 361.4 kB / 7.531 GB, free: 42.77 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002547/32.84, allocations: 484.6 kB / 7.532 GB, free: 42.77 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02248/32.86, allocations: 5.691 MB / 7.537 GB, free: 42.15 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002719/32.86, allocations: 3.219 kB / 7.537 GB, free: 42.15 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001847/32.86, allocations: 183.8 kB / 7.538 GB, free: 42.15 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002079/32.86, allocations: 171.5 kB / 7.538 GB, free: 42.14 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01864/32.88, allocations: 4.604 MB / 7.542 GB, free: 40.64 MB / 1.026 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.06476/32.95, allocations: 25.04 MB / 7.567 GB, free: 24.23 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009765/32.96, allocations: 3.018 MB / 7.57 GB, free: 23.07 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0227/32.98, allocations: 8.195 MB / 7.578 GB, free: 17.16 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.117e-05/32.98, allocations: 61.53 kB / 7.578 GB, free: 17.11 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005547/32.99, allocations: 423.7 kB / 7.578 GB, free: 16.89 MB / 1.026 GB Notification: Performance of pre-optimization done (n=210): time 1.646e-05/32.99, allocations: 0 / 7.578 GB, free: 16.89 MB / 1.026 GB Notification: Performance of matching and sorting (n=210): time 0.02138/33.01, allocations: 7.063 MB / 7.585 GB, free: 13.06 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002524/33.01, allocations: 418.8 kB / 7.585 GB, free: 12.6 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02393/33.03, allocations: 7.354 MB / 7.593 GB, free: 7.344 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.00116/33.03, allocations: 85.7 kB / 7.593 GB, free: 7.254 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.006786/33.04, allocations: 3.775 MB / 7.596 GB, free: 3.805 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.001673/33.04, allocations: 0.7005 MB / 7.597 GB, free: 3.109 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007602/33.04, allocations: 64 kB / 7.597 GB, free: 3.047 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0003996/33.04, allocations: 437 kB / 7.597 GB, free: 2.613 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006915/33.05, allocations: 2.196 MB / 7.6 GB, free: 424 kB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009721/33.06, allocations: 3.504 MB / 7.603 GB, free: 12.36 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008848/33.07, allocations: 3.162 MB / 7.606 GB, free: 9.031 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.643e-05/33.07, allocations: 8 kB / 7.606 GB, free: 9.023 MB / 1.042 GB Notification: Performance of matching and sorting (n=427) (initialization): time 0.02348/33.09, allocations: 6.946 MB / 7.613 GB, free: 1.883 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.073/34.16, allocations: 15.86 MB / 7.628 GB, free: 66.56 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001223/34.16, allocations: 31.16 kB / 7.628 GB, free: 66.56 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001273/34.17, allocations: 46.03 kB / 7.628 GB, free: 66.56 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006057/34.17, allocations: 0.6738 MB / 7.629 GB, free: 66.56 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001213/34.17, allocations: 56.94 kB / 7.629 GB, free: 66.56 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01119/34.18, allocations: 450.6 kB / 7.63 GB, free: 66.56 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001931/34.18, allocations: 210.6 kB / 7.63 GB, free: 66.56 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/34.18, allocations: 6.172 kB / 7.63 GB, free: 66.56 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02333/34.21, allocations: 7.026 MB / 7.637 GB, free: 65.74 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000143/34.21, allocations: 27.62 kB / 7.637 GB, free: 65.74 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.745e-05/34.21, allocations: 50.7 kB / 7.637 GB, free: 65.73 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005538/34.21, allocations: 0.6601 MB / 7.637 GB, free: 65.73 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001006/34.21, allocations: 58.17 kB / 7.637 GB, free: 65.73 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01027/34.22, allocations: 443.2 kB / 7.638 GB, free: 65.73 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001475/34.23, allocations: 205.9 kB / 7.638 GB, free: 65.73 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 12 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea10.conCoo.mod.temDif_mod.i,beaCooHea10.conCoo.mod.watFlo_mod.i,beaCooHea10.conCoo.mod.airFlo_mod.i,beaCooHea10.conHea.mod.temDif_mod.i,beaCooHea10.conHea.mod.watFlo_mod.i,beaCooHea10.conHea.mod.airFlo_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (367): * Single equations (assignments): 339 * Array equations: 4 * Algorithm blocks: 24 * 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.008164/34.23, allocations: 2.301 MB / 7.64 GB, free: 65.17 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002959/34.24, allocations: 0.7279 MB / 7.641 GB, free: 65.17 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01735/34.25, allocations: 5.198 MB / 7.646 GB, free: 64.63 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.997e-05/34.25, allocations: 27.16 kB / 7.646 GB, free: 64.63 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/34.25, allocations: 1.688 kB / 7.646 GB, free: 64.63 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01299/34.27, allocations: 4.222 MB / 7.65 GB, free: 63.96 MB / 1.042 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.03686/34.3, allocations: 11.35 MB / 7.661 GB, free: 62.95 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.982e-05/34.3, allocations: 4 kB / 7.661 GB, free: 62.95 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003661/34.31, allocations: 419.3 kB / 7.662 GB, free: 62.95 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.463e-05/34.31, allocations: 15.84 kB / 7.662 GB, free: 62.95 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00041/34.31, allocations: 77.34 kB / 7.662 GB, free: 62.95 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.238e-05/34.31, allocations: 16.8 kB / 7.662 GB, free: 62.95 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/34.31, allocations: 6.688 kB / 7.662 GB, free: 62.95 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02088/34.33, allocations: 8.663 MB / 7.67 GB, free: 61.11 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006009/34.34, allocations: 1.395 MB / 7.672 GB, free: 60.61 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002845/34.34, allocations: 63.47 kB / 7.672 GB, free: 60.61 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00822/34.35, allocations: 345.9 kB / 7.672 GB, free: 60.61 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001133/34.35, allocations: 291.7 kB / 7.672 GB, free: 60.6 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004299/34.35, allocations: 105.1 kB / 7.672 GB, free: 60.6 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.01741/34.37, allocations: 5.652 MB / 7.678 GB, free: 60.35 MB / 1.042 GB Notification: Performance of sort global known variables: time 7.22e-07/34.37, allocations: 2.062 kB / 7.678 GB, free: 60.35 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.02323/34.39, allocations: 3.857 MB / 7.682 GB, free: 60.19 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 4 (beaCooHea.conCoo.hex.vol.dynBal.U,beaCooHea.conHea.hex.vol.dynBal.U,beaCooHea10.conCoo.hex.vol.dynBal.U,beaCooHea10.conHea.hex.vol.dynBal.U) * Number of discrete variables: 12 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea10.conCoo.mod.temDif_mod.i,beaCooHea10.conCoo.mod.watFlo_mod.i,beaCooHea10.conCoo.mod.airFlo_mod.i,beaCooHea10.conHea.mod.temDif_mod.i,beaCooHea10.conHea.mod.watFlo_mod.i,beaCooHea10.conHea.mod.airFlo_mod.i) * Number of discrete states: 12 (beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea10.conCoo.mod.airFlo_mod.i,beaCooHea10.conHea.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea10.conHea.mod.watFlo_mod.i,beaCooHea10.conCoo.mod.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea10.conHea.mod.temDif_mod.i,beaCooHea10.conCoo.mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (222): * Single equations (assignments): 198 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 12 * 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.03665/34.43, allocations: 16.9 MB / 7.698 GB, free: 53.96 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.02453/34.45, allocations: 11.4 MB / 7.709 GB, free: 50.91 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.434e-05/34.45, allocations: 0.9062 kB / 7.709 GB, free: 50.91 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.008024/34.46, allocations: 3.546 MB / 7.713 GB, free: 50.15 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02994/34.49, allocations: 3.82 MB / 7.717 GB, free: 50.08 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05837/34.55, allocations: 38.68 MB / 7.754 GB, free: 22.18 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009161/34.56, allocations: 4.141 MB / 7.758 GB, free: 21.34 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.01379/34.57, allocations: 1.579 MB / 7.76 GB, free: 21.27 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009335/34.58, allocations: 3.479 MB / 7.763 GB, free: 21.27 MB / 1.042 GB Notification: Performance of SimCode: time 2.755e-06/34.58, allocations: 0 / 7.763 GB, free: 21.27 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.675/36.25, allocations: 264.9 MB / 8.022 GB, free: 120.5 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002787/36.26, allocations: 259 kB / 8.022 GB, free: 120.1 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.8/54.06, allocations: 0.625 kB / 8.022 GB, free: 120.1 MB / 1.104 GB