Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeamsDynamics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.192/2.192, allocations: 248.7 MB / 256.2 MB, free: 7.035 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001506/0.001506, allocations: 175.8 kB / 315.4 MB, free: 4.004 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.087/2.087, allocations: 205.3 MB / 0.5662 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001104/0.001103, allocations: 86.06 kB / 0.6704 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.77e-05/2.782e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2093, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.246/8.456, allocations: 2.492 GB / 3.377 GB, free: 218.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003667/8.456, allocations: 105.1 kB / 3.377 GB, free: 218.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 24.53/32.99, allocations: 4.34 GB / 7.717 GB, free: 61.12 MB / 1.073 GB Notification: Performance of FrontEnd: time 2.565e-06/32.99, allocations: 0 / 7.717 GB, free: 61.12 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.00178/32.99, allocations: 203 kB / 7.717 GB, free: 61.09 MB / 1.073 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.02989/33.02, allocations: 8.017 MB / 7.725 GB, free: 57.14 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/33.02, allocations: 12.67 kB / 7.725 GB, free: 57.14 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01333/33.03, allocations: 1.497 MB / 7.726 GB, free: 56.65 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03975/33.07, allocations: 9.751 MB / 7.736 GB, free: 55.39 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000401/33.07, allocations: 147.6 kB / 7.736 GB, free: 55.39 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002196/33.08, allocations: 294.3 kB / 7.736 GB, free: 55.39 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01409/33.09, allocations: 4.095 MB / 7.74 GB, free: 55.37 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01888/33.11, allocations: 4.906 MB / 7.745 GB, free: 54.82 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002155/33.11, allocations: 13.5 kB / 7.745 GB, free: 54.81 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001362/33.11, allocations: 10.59 kB / 7.745 GB, free: 54.81 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002129/33.11, allocations: 162.9 kB / 7.745 GB, free: 54.8 MB / 1.073 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.06054/33.17, allocations: 24.26 MB / 7.769 GB, free: 45.68 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00676/33.18, allocations: 2.926 MB / 7.772 GB, free: 45.55 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004053/33.18, allocations: 1.806 MB / 7.773 GB, free: 45.53 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02252/33.2, allocations: 8.116 MB / 7.781 GB, free: 42.1 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.058e-05/33.2, allocations: 60.11 kB / 7.781 GB, free: 42.06 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004939/33.21, allocations: 318.5 kB / 7.782 GB, free: 41.94 MB / 1.073 GB Notification: Performance of pre-optimization done (n=213): time 2.378e-05/33.21, allocations: 0 / 7.782 GB, free: 41.94 MB / 1.073 GB Notification: Performance of matching and sorting (n=213): time 0.01516/33.22, allocations: 4.11 MB / 7.786 GB, free: 41.49 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002334/33.23, allocations: 415.2 kB / 7.786 GB, free: 41.05 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02053/33.25, allocations: 6.336 MB / 7.792 GB, free: 40.59 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.001079/33.25, allocations: 38.95 kB / 7.792 GB, free: 40.56 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.005836/33.25, allocations: 3.728 MB / 7.796 GB, free: 39.57 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001518/33.25, allocations: 0.6849 MB / 7.797 GB, free: 39.12 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005151/33.25, allocations: 9.094 kB / 7.797 GB, free: 39.12 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0003424/33.26, allocations: 438.7 kB / 7.797 GB, free: 38.81 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00499/33.26, allocations: 2.069 MB / 7.799 GB, free: 38.8 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006459/33.27, allocations: 3.387 MB / 7.802 GB, free: 37.3 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009212/33.28, allocations: 2.583 MB / 7.805 GB, free: 37.25 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-05/33.28, allocations: 7.094 kB / 7.805 GB, free: 37.25 MB / 1.073 GB Notification: Performance of matching and sorting (n=426) (initialization): time 0.02064/33.3, allocations: 6.021 MB / 7.811 GB, free: 36.77 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.003899/33.3, allocations: 16.36 MB / 7.827 GB, free: 19.66 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001527/33.3, allocations: 32.31 kB / 7.827 GB, free: 19.66 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001114/33.3, allocations: 48.66 kB / 7.827 GB, free: 19.66 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005531/33.31, allocations: 0.6822 MB / 7.827 GB, free: 19.66 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.057e-05/33.31, allocations: 60.45 kB / 7.827 GB, free: 19.66 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01015/33.32, allocations: 386.3 kB / 7.828 GB, free: 19.63 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001585/33.32, allocations: 217.7 kB / 7.828 GB, free: 19.63 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/33.32, allocations: 2.938 kB / 7.828 GB, free: 19.63 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01854/33.34, allocations: 5.67 MB / 7.834 GB, free: 19.55 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001198/33.34, allocations: 31.47 kB / 7.834 GB, free: 19.55 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.811e-05/33.34, allocations: 48.34 kB / 7.834 GB, free: 19.55 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00529/33.34, allocations: 0.6664 MB / 7.834 GB, free: 19.55 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.436e-05/33.34, allocations: 70.59 kB / 7.834 GB, free: 19.55 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009493/33.35, allocations: 364.6 kB / 7.835 GB, free: 19.53 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001415/33.35, allocations: 209.9 kB / 7.835 GB, free: 19.53 MB / 1.073 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.001551/33.36, allocations: 0.5833 MB / 7.835 GB, free: 19.03 MB / 1.073 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01342/33.37, allocations: 4.023 MB / 7.839 GB, free: 18.58 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002777/33.37, allocations: 0.6817 MB / 7.84 GB, free: 18.21 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01474/33.39, allocations: 4.52 MB / 7.844 GB, free: 18.02 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-05/33.39, allocations: 31.92 kB / 7.845 GB, free: 18.02 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/33.39, allocations: 0 / 7.845 GB, free: 18.02 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01005/33.4, allocations: 3.634 MB / 7.848 GB, free: 17.72 MB / 1.073 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.03273/33.43, allocations: 10.38 MB / 7.858 GB, free: 17.1 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-05/33.43, allocations: 4.875 kB / 7.858 GB, free: 17.1 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003855/33.43, allocations: 431.9 kB / 7.859 GB, free: 17.1 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-05/33.43, allocations: 11.22 kB / 7.859 GB, free: 17.1 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005033/33.43, allocations: 57.09 kB / 7.859 GB, free: 17.1 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.941e-05/33.43, allocations: 24.97 kB / 7.859 GB, free: 17.1 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.858e-06/33.43, allocations: 6 kB / 7.859 GB, free: 17.1 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01802/33.45, allocations: 7.969 MB / 7.867 GB, free: 15.2 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005818/33.46, allocations: 1.369 MB / 7.868 GB, free: 14.73 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002711/33.46, allocations: 31.88 kB / 7.868 GB, free: 14.73 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00821/33.47, allocations: 311.4 kB / 7.868 GB, free: 14.72 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001201/33.47, allocations: 294.8 kB / 7.868 GB, free: 14.71 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005173/33.47, allocations: 113.7 kB / 7.869 GB, free: 14.71 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.01422/33.48, allocations: 4.759 MB / 7.873 GB, free: 14.46 MB / 1.073 GB Notification: Performance of sort global known variables: time 5.91e-07/33.48, allocations: 1.438 kB / 7.873 GB, free: 14.46 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.02238/33.51, allocations: 3.745 MB / 7.877 GB, free: 13.93 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (225): * Single equations (assignments): 201 * 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.03222/33.54, allocations: 16.19 MB / 7.893 GB, free: 7.75 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.02/33.56, allocations: 11.11 MB / 7.904 GB, free: 20.66 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.32e-05/33.56, allocations: 3.812 kB / 7.904 GB, free: 20.66 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.006679/33.57, allocations: 3.521 MB / 7.907 GB, free: 19.91 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02501/33.59, allocations: 3.331 MB / 7.91 GB, free: 19.85 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04221/33.63, allocations: 12.46 MB / 7.922 GB, free: 17.04 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008953/33.64, allocations: 4.157 MB / 7.926 GB, free: 16.18 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0207/33.66, allocations: 2.504 MB / 7.929 GB, free: 15.88 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007406/33.67, allocations: 3.314 MB / 7.932 GB, free: 15.86 MB / 1.089 GB Notification: Performance of SimCode: time 1.333e-06/33.67, allocations: 0 / 7.932 GB, free: 15.86 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.569/35.24, allocations: 224 MB / 8.151 GB, free: 89.28 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002283/35.24, allocations: 205.6 kB / 8.151 GB, free: 88.99 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.26/51.5, allocations: 4 kB / 8.151 GB, free: 88.99 MB / 1.104 GB