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.315/2.315, allocations: 248.5 MB / 261.1 MB, free: 5.961 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.001458/0.001458, allocations: 171.6 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.966/1.966, allocations: 205.2 MB / 0.571 GB, free: 11.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001156/0.001155, allocations: 97.52 kB / 0.6754 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.949e-05/3.977e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2087, allocations: 106.2 MB / 0.8907 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.274/8.483, allocations: 2.492 GB / 3.383 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003162/8.483, allocations: 102.3 kB / 3.383 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 24.36/32.84, allocations: 4.366 GB / 7.749 GB, free: 64.88 MB / 1.089 GB Notification: Performance of FrontEnd: time 2.414e-06/32.84, allocations: 0.9688 kB / 7.749 GB, free: 64.88 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.001735/32.84, allocations: 203.2 kB / 7.749 GB, free: 64.85 MB / 1.089 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.02915/32.87, allocations: 8.02 MB / 7.757 GB, free: 60.91 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/32.87, allocations: 10.72 kB / 7.757 GB, free: 60.91 MB / 1.089 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002565/32.88, allocations: 0.5761 MB / 7.757 GB, free: 60.84 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01148/32.89, allocations: 1.497 MB / 7.759 GB, free: 60.35 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03758/32.92, allocations: 9.755 MB / 7.768 GB, free: 59.09 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006488/32.93, allocations: 360.8 kB / 7.769 GB, free: 59.08 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002271/32.93, allocations: 487.4 kB / 7.769 GB, free: 59.08 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0194/32.95, allocations: 5.531 MB / 7.774 GB, free: 58.5 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001687/32.95, allocations: 6.656 kB / 7.774 GB, free: 58.5 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001071/32.95, allocations: 183.5 kB / 7.775 GB, free: 58.5 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001989/32.95, allocations: 166.5 kB / 7.775 GB, free: 58.49 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01482/32.96, allocations: 4.317 MB / 7.779 GB, free: 58.45 MB / 1.089 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.0624/33.03, allocations: 25.1 MB / 7.804 GB, free: 49.14 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007126/33.03, allocations: 2.804 MB / 7.806 GB, free: 49.1 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004127/33.04, allocations: 1.829 MB / 7.808 GB, free: 49.07 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0213/33.06, allocations: 8.289 MB / 7.816 GB, free: 45.69 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.563e-05/33.06, allocations: 65.89 kB / 7.816 GB, free: 45.64 MB / 1.089 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004875/33.06, allocations: 422.9 kB / 7.817 GB, free: 45.48 MB / 1.089 GB Notification: Performance of pre-optimization done (n=214): time 1.316e-05/33.06, allocations: 0 / 7.817 GB, free: 45.48 MB / 1.089 GB Notification: Performance of matching and sorting (n=214): time 0.01205/33.08, allocations: 4.295 MB / 7.821 GB, free: 44.63 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002112/33.08, allocations: 421.3 kB / 7.821 GB, free: 44.19 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0219/33.1, allocations: 7.256 MB / 7.828 GB, free: 43.68 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.001025/33.1, allocations: 89.58 kB / 7.828 GB, free: 43.64 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.006047/33.1, allocations: 3.747 MB / 7.832 GB, free: 42.78 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.001388/33.11, allocations: 0.7151 MB / 7.833 GB, free: 42.32 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003858/33.11, allocations: 69.61 kB / 7.833 GB, free: 42.32 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0002622/33.11, allocations: 437.2 kB / 7.833 GB, free: 42.02 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00462/33.11, allocations: 2.075 MB / 7.835 GB, free: 42.01 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006334/33.12, allocations: 3.392 MB / 7.839 GB, free: 40.56 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006047/33.12, allocations: 3.072 MB / 7.842 GB, free: 39.75 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.972e-05/33.12, allocations: 7.281 kB / 7.842 GB, free: 39.75 MB / 1.089 GB Notification: Performance of matching and sorting (n=427) (initialization): time 0.01735/33.14, allocations: 6.709 MB / 7.848 GB, free: 38.5 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.003676/33.15, allocations: 15.82 MB / 7.864 GB, free: 22.37 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001218/33.15, allocations: 29.92 kB / 7.864 GB, free: 22.37 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001004/33.15, allocations: 50.09 kB / 7.864 GB, free: 22.37 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005519/33.15, allocations: 0.6738 MB / 7.864 GB, free: 22.36 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.007e-05/33.15, allocations: 59.12 kB / 7.864 GB, free: 22.36 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01019/33.16, allocations: 450.2 kB / 7.865 GB, free: 22.34 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00136/33.16, allocations: 212.9 kB / 7.865 GB, free: 22.34 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/33.16, allocations: 2.188 kB / 7.865 GB, free: 22.34 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01612/33.18, allocations: 6.78 MB / 7.872 GB, free: 21.51 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001073/33.18, allocations: 28.66 kB / 7.872 GB, free: 21.51 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.292e-05/33.18, allocations: 50.31 kB / 7.872 GB, free: 21.51 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005274/33.18, allocations: 0.6662 MB / 7.872 GB, free: 21.51 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-05/33.18, allocations: 59.88 kB / 7.872 GB, free: 21.51 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009919/33.19, allocations: 436.7 kB / 7.873 GB, free: 21.49 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001343/33.2, allocations: 211 kB / 7.873 GB, free: 21.49 MB / 1.089 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 () * 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.001674/33.2, allocations: 0.6767 MB / 7.874 GB, free: 20.98 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002612/33.2, allocations: 0.7293 MB / 7.874 GB, free: 20.59 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0144/33.21, allocations: 5.006 MB / 7.879 GB, free: 20.02 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.71e-05/33.21, allocations: 21.53 kB / 7.879 GB, free: 20.02 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/33.21, allocations: 0 / 7.879 GB, free: 20.02 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009233/33.22, allocations: 4.025 MB / 7.883 GB, free: 19.35 MB / 1.089 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.03363/33.26, allocations: 11.37 MB / 7.894 GB, free: 18.26 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.026e-05/33.26, allocations: 3.281 kB / 7.894 GB, free: 18.26 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003901/33.26, allocations: 428.9 kB / 7.895 GB, free: 18.26 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.822e-05/33.26, allocations: 19.05 kB / 7.895 GB, free: 18.26 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005649/33.26, allocations: 79.03 kB / 7.895 GB, free: 18.26 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.197e-05/33.26, allocations: 15.84 kB / 7.895 GB, free: 18.26 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.228e-06/33.26, allocations: 14.53 kB / 7.895 GB, free: 18.26 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01732/33.28, allocations: 8.591 MB / 7.903 GB, free: 15.81 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006021/33.29, allocations: 1.431 MB / 7.905 GB, free: 15.31 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002974/33.29, allocations: 67.56 kB / 7.905 GB, free: 15.31 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008714/33.3, allocations: 349.7 kB / 7.905 GB, free: 15.3 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001264/33.3, allocations: 300 kB / 7.905 GB, free: 15.29 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000506/33.3, allocations: 115.3 kB / 7.905 GB, free: 15.29 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.01719/33.32, allocations: 5.556 MB / 7.911 GB, free: 15 MB / 1.089 GB Notification: Performance of sort global known variables: time 1.002e-06/33.32, allocations: 2.812 kB / 7.911 GB, free: 15 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.02274/33.34, allocations: 3.859 MB / 7.915 GB, free: 14.55 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (226): * Single equations (assignments): 202 * 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.03375/33.37, allocations: 16.98 MB / 7.931 GB, free: 23.79 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.02192/33.4, allocations: 11.37 MB / 7.942 GB, free: 20.69 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-05/33.4, allocations: 4.875 kB / 7.942 GB, free: 20.69 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.007484/33.4, allocations: 3.634 MB / 7.946 GB, free: 19.94 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02981/33.43, allocations: 3.815 MB / 7.95 GB, free: 19.86 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04549/33.48, allocations: 12.8 MB / 7.962 GB, free: 17.02 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009536/33.49, allocations: 4.16 MB / 7.966 GB, free: 16.14 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.02227/33.51, allocations: 2.675 MB / 7.969 GB, free: 15.8 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007691/33.52, allocations: 3.322 MB / 7.972 GB, free: 15.79 MB / 1.104 GB Notification: Performance of SimCode: time 1.533e-06/33.52, allocations: 0 / 7.972 GB, free: 15.79 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.679/35.2, allocations: 288.1 MB / 8.253 GB, free: 88.46 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000272/35.2, allocations: 227.8 kB / 8.254 GB, free: 88.23 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.4/55.6, allocations: 4 kB / 8.254 GB, free: 88.23 MB / 1.12 GB