Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeamsDynamics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.353/1.353, allocations: 251.9 MB / 266.9 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001174/0.001174, allocations: 187 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.738/1.738, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0007969/0.0007968, allocations: 94.08 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003065/0.0003065, allocations: 13.38 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.204, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.416/5.62, allocations: 2.492 GB / 3.393 GB, free: 59.27 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/5.62, allocations: 105.6 kB / 3.393 GB, free: 59.17 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 17.74/23.36, allocations: 4.378 GB / 7.771 GB, free: 61.45 MB / 1.073 GB Notification: Performance of FrontEnd: time 2.024e-06/23.36, allocations: 0 / 7.771 GB, free: 61.45 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.001617/23.36, allocations: 200 kB / 7.771 GB, free: 61.41 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.03176/23.39, allocations: 10.2 MB / 7.781 GB, free: 56.21 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/23.39, allocations: 14.3 kB / 7.781 GB, free: 56.2 MB / 1.073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002705/23.4, allocations: 0.5762 MB / 7.781 GB, free: 56.14 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008423/23.4, allocations: 1.495 MB / 7.783 GB, free: 55.61 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02745/23.43, allocations: 9.816 MB / 7.792 GB, free: 54.2 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004495/23.43, allocations: 372.8 kB / 7.793 GB, free: 54.18 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00183/23.43, allocations: 478.3 kB / 7.793 GB, free: 54.18 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01281/23.45, allocations: 5.707 MB / 7.799 GB, free: 53.57 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.831e-05/23.45, allocations: 7.625 kB / 7.799 GB, free: 53.56 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000485/23.45, allocations: 188.9 kB / 7.799 GB, free: 53.56 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001281/23.45, allocations: 167.8 kB / 7.799 GB, free: 53.54 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009059/23.46, allocations: 4.59 MB / 7.804 GB, free: 53.45 MB / 1.073 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.03695/23.49, allocations: 25.12 MB / 7.828 GB, free: 37.16 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004702/23.5, allocations: 2.987 MB / 7.831 GB, free: 36 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01387/23.51, allocations: 8.256 MB / 7.839 GB, free: 30.07 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/23.51, allocations: 59.59 kB / 7.839 GB, free: 30.02 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003634/23.52, allocations: 420.2 kB / 7.84 GB, free: 29.8 MB / 1.073 GB Notification: Performance of pre-optimization done (n=214): time 7.955e-06/23.52, allocations: 0 / 7.84 GB, free: 29.8 MB / 1.073 GB Notification: Performance of matching and sorting (n=214): time 0.01047/23.53, allocations: 7.091 MB / 7.847 GB, free: 25.97 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/23.53, allocations: 419.4 kB / 7.847 GB, free: 25.51 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01278/23.54, allocations: 7.342 MB / 7.854 GB, free: 19.88 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.0008415/23.54, allocations: 91.58 kB / 7.854 GB, free: 19.79 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.003097/23.54, allocations: 3.736 MB / 7.858 GB, free: 16.39 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009811/23.54, allocations: 0.7264 MB / 7.859 GB, free: 15.73 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002177/23.54, allocations: 64 kB / 7.859 GB, free: 15.67 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0001691/23.54, allocations: 443.9 kB / 7.859 GB, free: 15.24 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00297/23.55, allocations: 2.193 MB / 7.861 GB, free: 13.04 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003553/23.55, allocations: 3.508 MB / 7.865 GB, free: 8.98 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003462/23.55, allocations: 3.163 MB / 7.868 GB, free: 5.652 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.451e-05/23.55, allocations: 8 kB / 7.868 GB, free: 5.645 MB / 1.073 GB Notification: Performance of matching and sorting (n=427) (initialization): time 0.01154/23.57, allocations: 6.948 MB / 7.875 GB, free: 14.5 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.006473/23.57, allocations: 15.82 MB / 7.89 GB, free: 13.84 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.147e-05/23.57, allocations: 28 kB / 7.89 GB, free: 13.81 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.093e-05/23.57, allocations: 48 kB / 7.89 GB, free: 13.77 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003307/23.58, allocations: 0.6669 MB / 7.891 GB, free: 13.1 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.571e-05/23.58, allocations: 63.88 kB / 7.891 GB, free: 13.04 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007205/23.58, allocations: 451.7 kB / 7.891 GB, free: 12.59 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001078/23.58, allocations: 211.9 kB / 7.891 GB, free: 12.39 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/23.58, allocations: 4 kB / 7.891 GB, free: 12.38 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01163/23.6, allocations: 7.03 MB / 7.898 GB, free: 5.18 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.42e-05/23.6, allocations: 28 kB / 7.898 GB, free: 5.152 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.037e-05/23.6, allocations: 48 kB / 7.898 GB, free: 5.105 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002692/23.6, allocations: 0.6555 MB / 7.899 GB, free: 4.449 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.877e-05/23.6, allocations: 59.8 kB / 7.899 GB, free: 4.391 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006928/23.61, allocations: 447.2 kB / 7.899 GB, free: 3.953 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008641/23.61, allocations: 207.9 kB / 7.9 GB, free: 3.75 MB / 1.104 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.006063/23.61, allocations: 2.298 MB / 7.902 GB, free: 1.367 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00248/23.62, allocations: 0.729 MB / 7.903 GB, free: 0.6289 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.7837/24.4, allocations: 5.205 MB / 7.908 GB, free: 108.7 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-05/24.4, allocations: 27.25 kB / 7.908 GB, free: 108.7 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/24.4, allocations: 0.5625 kB / 7.908 GB, free: 108.7 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00771/24.41, allocations: 4.25 MB / 7.912 GB, free: 108 MB / 1.104 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.02921/24.44, allocations: 11.58 MB / 7.923 GB, free: 107 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/24.44, allocations: 3.75 kB / 7.923 GB, free: 107 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001916/24.44, allocations: 428.8 kB / 7.924 GB, free: 107 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.287e-05/24.44, allocations: 15.44 kB / 7.924 GB, free: 107 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000214/24.44, allocations: 82.2 kB / 7.924 GB, free: 107 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.869e-05/24.44, allocations: 16.53 kB / 7.924 GB, free: 107 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/24.44, allocations: 3.406 kB / 7.924 GB, free: 107 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01265/24.45, allocations: 8.94 MB / 7.932 GB, free: 104.9 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005193/24.46, allocations: 1.43 MB / 7.934 GB, free: 104.8 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00251/24.46, allocations: 64.59 kB / 7.934 GB, free: 104.8 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005403/24.46, allocations: 344 kB / 7.934 GB, free: 104.8 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006289/24.47, allocations: 303.3 kB / 7.935 GB, free: 104.8 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003418/24.47, allocations: 112.5 kB / 7.935 GB, free: 104.8 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.01286/24.48, allocations: 5.645 MB / 7.94 GB, free: 104.5 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.583e-06/24.48, allocations: 1.25 kB / 7.94 GB, free: 104.5 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.01938/24.5, allocations: 3.857 MB / 7.944 GB, free: 104.4 MB / 1.104 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) * Number of clocked states: 0 () * 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.02663/24.52, allocations: 17.3 MB / 7.961 GB, free: 97.79 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.01712/24.54, allocations: 11.42 MB / 7.972 GB, free: 94.74 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.837e-05/24.54, allocations: 0 / 7.972 GB, free: 94.74 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.005679/24.55, allocations: 3.747 MB / 7.976 GB, free: 93.98 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0203/24.57, allocations: 3.818 MB / 7.979 GB, free: 93.9 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05724/24.63, allocations: 38.73 MB / 8.017 GB, free: 65.98 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009426/24.63, allocations: 4.14 MB / 8.021 GB, free: 65.14 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.01163/24.65, allocations: 1.608 MB / 8.023 GB, free: 65.07 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006813/24.65, allocations: 3.457 MB / 8.026 GB, free: 65.06 MB / 1.104 GB Notification: Performance of SimCode: time 1.413e-06/24.65, allocations: 0 / 8.026 GB, free: 65.06 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3892/25.04, allocations: 264.9 MB / 8.285 GB, free: 7.723 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/25.04, allocations: 259.1 kB / 8.285 GB, free: 7.367 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.83/40.87, allocations: 0 / 8.285 GB, free: 7.367 MB / 1.135 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeamsDynamics_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeamsDynamics.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe 2>&1)