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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.235/4.235, allocations: 433.2 MB / 440.7 MB, free: 10.54 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.724e-05/3.724e-05, allocations: 4 kB / 0.5325 GB, free: 1.922 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6602/0.6603, allocations: 98.71 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.75/8.41, allocations: 2.486 GB / 3.115 GB, free: 191.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003096/8.41, allocations: 99.39 kB / 3.115 GB, free: 191.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 22.71/31.12, allocations: 4.311 GB / 7.426 GB, free: 50.83 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.335e-06/31.12, allocations: 0 / 7.426 GB, free: 50.83 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001806/31.12, allocations: 197.2 kB / 7.426 GB, free: 50.8 MB / 1.01 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.02963/31.15, allocations: 8.012 MB / 7.434 GB, free: 46.45 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/31.15, allocations: 15.62 kB / 7.434 GB, free: 46.45 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01248/31.16, allocations: 1.493 MB / 7.435 GB, free: 45.92 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04022/31.2, allocations: 9.833 MB / 7.445 GB, free: 43.41 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003958/31.2, allocations: 150.6 kB / 7.445 GB, free: 43.41 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002243/31.2, allocations: 291.3 kB / 7.446 GB, free: 43.41 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01409/31.22, allocations: 4.097 MB / 7.45 GB, free: 41.67 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01883/31.24, allocations: 4.888 MB / 7.454 GB, free: 39.5 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002348/31.24, allocations: 11.88 kB / 7.454 GB, free: 39.49 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001599/31.24, allocations: 15.03 kB / 7.454 GB, free: 39.48 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001925/31.24, allocations: 161 kB / 7.454 GB, free: 39.47 MB / 1.01 GB Warning: The model contains alias variables with conflicting start and/or 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.05892/31.3, allocations: 24.2 MB / 7.478 GB, free: 21.29 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006519/31.3, allocations: 2.936 MB / 7.481 GB, free: 18.34 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00383/31.31, allocations: 1.795 MB / 7.483 GB, free: 16.55 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02721/31.34, allocations: 8.055 MB / 7.491 GB, free: 7.934 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.286e-05/31.34, allocations: 56.56 kB / 7.491 GB, free: 7.871 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005775/31.34, allocations: 313.4 kB / 7.491 GB, free: 7.562 MB / 1.01 GB Notification: Performance of pre-optimization done (n=209): time 3.143e-05/31.34, allocations: 4 kB / 7.491 GB, free: 7.559 MB / 1.01 GB Notification: Performance of matching and sorting (n=209): time 0.0192/31.36, allocations: 4.093 MB / 7.495 GB, free: 3.449 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002374/31.36, allocations: 413.8 kB / 7.495 GB, free: 2.957 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02526/31.39, allocations: 6.347 MB / 7.502 GB, free: 12.63 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.001161/31.39, allocations: 37.7 kB / 7.502 GB, free: 12.59 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.008151/31.4, allocations: 3.777 MB / 7.505 GB, free: 8.777 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.001594/31.4, allocations: 0.6775 MB / 7.506 GB, free: 8.09 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004681/31.4, allocations: 12 kB / 7.506 GB, free: 8.078 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0004526/31.4, allocations: 437 kB / 7.506 GB, free: 7.645 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005423/31.4, allocations: 2.064 MB / 7.508 GB, free: 5.578 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007487/31.41, allocations: 3.381 MB / 7.512 GB, free: 1.625 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.006/32.42, allocations: 2.573 MB / 7.514 GB, free: 77.77 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.707e-05/32.42, allocations: 8.906 kB / 7.514 GB, free: 77.77 MB / 1.026 GB Notification: Performance of matching and sorting (n=426) (initialization): time 0.02328/32.44, allocations: 6.017 MB / 7.52 GB, free: 77.67 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.00401/32.45, allocations: 16.41 MB / 7.536 GB, free: 60.59 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001465/32.45, allocations: 29.91 kB / 7.536 GB, free: 60.59 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001296/32.45, allocations: 50.38 kB / 7.536 GB, free: 60.59 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005683/32.45, allocations: 0.679 MB / 7.537 GB, free: 60.59 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-05/32.45, allocations: 63.34 kB / 7.537 GB, free: 60.59 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009857/32.46, allocations: 378 kB / 7.537 GB, free: 60.59 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001529/32.46, allocations: 218.8 kB / 7.537 GB, free: 60.59 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/32.46, allocations: 6.938 kB / 7.537 GB, free: 60.59 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01989/32.48, allocations: 5.658 MB / 7.543 GB, free: 60.51 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001314/32.48, allocations: 30.78 kB / 7.543 GB, free: 60.51 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.467e-05/32.48, allocations: 48.25 kB / 7.543 GB, free: 60.51 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005501/32.49, allocations: 0.6661 MB / 7.544 GB, free: 60.51 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.755e-05/32.49, allocations: 65.92 kB / 7.544 GB, free: 60.51 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009729/32.5, allocations: 372.3 kB / 7.544 GB, free: 60.51 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001497/32.5, allocations: 210.7 kB / 7.544 GB, free: 60.51 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (366): * Single equations (assignments): 338 * 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.00154/32.5, allocations: 0.5885 MB / 7.545 GB, free: 60.03 MB / 1.026 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01348/32.52, allocations: 4.009 MB / 7.549 GB, free: 59.84 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002983/32.52, allocations: 0.6742 MB / 7.549 GB, free: 59.47 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01592/32.53, allocations: 4.486 MB / 7.554 GB, free: 59.29 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-05/32.53, allocations: 32.47 kB / 7.554 GB, free: 59.29 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/32.53, allocations: 0 / 7.554 GB, free: 59.29 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01054/32.55, allocations: 3.615 MB / 7.557 GB, free: 58.99 MB / 1.026 GB Warning: The model contains alias variables with conflicting start and/or 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.03499/32.58, allocations: 10.16 MB / 7.567 GB, free: 58.41 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.326e-05/32.58, allocations: 4.609 kB / 7.567 GB, free: 58.41 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004132/32.58, allocations: 424.6 kB / 7.568 GB, free: 58.41 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.51e-05/32.58, allocations: 12.66 kB / 7.568 GB, free: 58.41 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000688/32.59, allocations: 54.23 kB / 7.568 GB, free: 58.41 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.292e-05/32.59, allocations: 18.12 kB / 7.568 GB, free: 58.41 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/32.59, allocations: 3.406 kB / 7.568 GB, free: 58.41 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01836/32.6, allocations: 7.719 MB / 7.575 GB, free: 56.77 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005779/32.61, allocations: 1.336 MB / 7.577 GB, free: 56.3 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002769/32.61, allocations: 27.72 kB / 7.577 GB, free: 56.3 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008111/32.62, allocations: 311.2 kB / 7.577 GB, free: 56.29 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001256/32.62, allocations: 296.2 kB / 7.577 GB, free: 56.29 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005022/32.62, allocations: 102.2 kB / 7.577 GB, free: 56.29 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.01475/32.64, allocations: 4.771 MB / 7.582 GB, free: 56.04 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.102e-06/32.64, allocations: 0.625 kB / 7.582 GB, free: 56.04 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.02244/32.66, allocations: 3.744 MB / 7.586 GB, free: 55.82 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (221): * Single equations (assignments): 197 * 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.0347/32.69, allocations: 15.8 MB / 7.601 GB, free: 50.18 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.02127/32.72, allocations: 11.09 MB / 7.612 GB, free: 47.09 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.425e-05/32.72, allocations: 5.781 kB / 7.612 GB, free: 47.09 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.007051/32.72, allocations: 3.327 MB / 7.615 GB, free: 46.34 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02667/32.75, allocations: 3.332 MB / 7.618 GB, free: 46.27 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04538/32.8, allocations: 12.45 MB / 7.631 GB, free: 43.66 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01043/32.81, allocations: 4.149 MB / 7.635 GB, free: 42.81 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.02266/32.83, allocations: 2.483 MB / 7.637 GB, free: 42.73 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008019/32.84, allocations: 3.331 MB / 7.64 GB, free: 42.73 MB / 1.026 GB Notification: Performance of SimCode: time 1.573e-06/32.84, allocations: 4.844 kB / 7.64 GB, free: 42.73 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5795/33.42, allocations: 223.6 MB / 7.859 GB, free: 11.68 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000385/33.42, allocations: 204.7 kB / 7.859 GB, free: 11.39 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.53/49.95, allocations: 4 kB / 7.859 GB, free: 11.39 MB / 1.057 GB