Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeamsDynamics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.503/2.503, allocations: 287.3 MB / 302.3 MB, free: 8.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001909/0.001909, allocations: 180.8 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.12/2.12, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00114/0.00114, allocations: 81.98 kB / 0.7428 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006513/0.0006514, allocations: 14.94 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2422, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.85/8.092, allocations: 2.375 GB / 3.354 GB, free: 249.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004334/8.093, allocations: 110.2 kB / 3.354 GB, free: 249.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 24.62/32.72, allocations: 4.496 GB / 7.85 GB, free: 64.71 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.575e-06/32.72, allocations: 0 / 7.85 GB, free: 64.71 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.001741/32.72, allocations: 195.6 kB / 7.85 GB, free: 64.67 MB / 1.135 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.04133/32.76, allocations: 10.2 MB / 7.86 GB, free: 59.46 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/32.76, allocations: 13.53 kB / 7.86 GB, free: 59.46 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003029/32.76, allocations: 0.5745 MB / 7.861 GB, free: 59.4 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01188/32.77, allocations: 1.498 MB / 7.862 GB, free: 58.91 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03832/32.81, allocations: 9.836 MB / 7.872 GB, free: 57.5 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007529/32.81, allocations: 362.8 kB / 7.872 GB, free: 57.49 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002616/32.82, allocations: 489.5 kB / 7.872 GB, free: 57.49 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02171/32.84, allocations: 5.722 MB / 7.878 GB, free: 55.45 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002266/32.84, allocations: 3.875 kB / 7.878 GB, free: 55.45 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00154/32.84, allocations: 187.2 kB / 7.878 GB, free: 55.31 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001901/32.84, allocations: 169.9 kB / 7.878 GB, free: 55.29 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01808/32.86, allocations: 4.591 MB / 7.883 GB, free: 53.5 MB / 1.135 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.06042/32.92, allocations: 25.16 MB / 7.907 GB, free: 37.03 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009313/32.93, allocations: 3.002 MB / 7.91 GB, free: 35.85 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02319/32.95, allocations: 8.283 MB / 7.918 GB, free: 29.91 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.197e-05/32.95, allocations: 61.34 kB / 7.919 GB, free: 29.86 MB / 1.135 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005066/32.96, allocations: 439.7 kB / 7.919 GB, free: 29.62 MB / 1.135 GB Notification: Performance of pre-optimization done (n=214): time 1.155e-05/32.96, allocations: 0 / 7.919 GB, free: 29.62 MB / 1.135 GB Notification: Performance of matching and sorting (n=214): time 0.01915/32.97, allocations: 7.095 MB / 7.926 GB, free: 24.55 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001983/32.97, allocations: 409.7 kB / 7.926 GB, free: 24.07 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02044/33, allocations: 7.346 MB / 7.933 GB, free: 17.06 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.001071/33, allocations: 93.7 kB / 7.934 GB, free: 16.96 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.005524/33, allocations: 3.74 MB / 7.937 GB, free: 13.23 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.001359/33, allocations: 0.7165 MB / 7.938 GB, free: 12.51 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004293/33, allocations: 64 kB / 7.938 GB, free: 12.45 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0002603/33, allocations: 441 kB / 7.938 GB, free: 12.01 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00583/33.01, allocations: 2.193 MB / 7.941 GB, free: 9.816 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007543/33.02, allocations: 3.504 MB / 7.944 GB, free: 5.762 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007826/33.03, allocations: 3.168 MB / 7.947 GB, free: 2.422 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-05/33.03, allocations: 11.94 kB / 7.947 GB, free: 2.41 MB / 1.135 GB Notification: Performance of matching and sorting (n=427) (initialization): time 0.0219/33.05, allocations: 6.948 MB / 7.954 GB, free: 11.27 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.006599/33.05, allocations: 15.82 MB / 7.969 GB, free: 10.62 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001087/33.05, allocations: 28 kB / 7.969 GB, free: 10.59 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001012/33.05, allocations: 48 kB / 7.969 GB, free: 10.54 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005668/33.06, allocations: 0.6688 MB / 7.97 GB, free: 9.875 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.303e-05/33.06, allocations: 63.78 kB / 7.97 GB, free: 9.812 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01009/33.07, allocations: 451.6 kB / 7.97 GB, free: 9.371 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001344/33.07, allocations: 211.9 kB / 7.971 GB, free: 9.164 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/33.07, allocations: 4 kB / 7.971 GB, free: 9.16 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01887/33.09, allocations: 7.025 MB / 7.978 GB, free: 1.953 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.913e-05/33.09, allocations: 28 kB / 7.978 GB, free: 1.926 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.066e-05/33.09, allocations: 51.52 kB / 7.978 GB, free: 1.879 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00515/33.1, allocations: 0.656 MB / 7.978 GB, free: 1.223 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.817e-05/33.1, allocations: 59.8 kB / 7.978 GB, free: 1.164 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009453/33.11, allocations: 443.7 kB / 7.979 GB, free: 0.7266 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001279/33.11, allocations: 215.9 kB / 7.979 GB, free: 0.5156 MB / 1.167 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 1.077/34.18, allocations: 2.288 MB / 7.981 GB, free: 103.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002831/34.19, allocations: 0.73 MB / 7.982 GB, free: 103.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01759/34.2, allocations: 5.216 MB / 7.987 GB, free: 103.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.869e-05/34.2, allocations: 24.86 kB / 7.987 GB, free: 103.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.541e-05/34.2, allocations: 2.109 kB / 7.987 GB, free: 103.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01312/34.22, allocations: 4.248 MB / 7.991 GB, free: 102.6 MB / 1.167 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.03872/34.26, allocations: 11.62 MB / 8.003 GB, free: 101.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.018e-05/34.26, allocations: 6.75 kB / 8.003 GB, free: 101.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003731/34.26, allocations: 426.2 kB / 8.003 GB, free: 101.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.672e-05/34.26, allocations: 14.78 kB / 8.003 GB, free: 101.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000431/34.26, allocations: 81.5 kB / 8.003 GB, free: 101.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.413e-05/34.26, allocations: 17.62 kB / 8.003 GB, free: 101.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/34.26, allocations: 10.83 kB / 8.003 GB, free: 101.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02086/34.28, allocations: 8.924 MB / 8.012 GB, free: 99.47 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006066/34.29, allocations: 1.436 MB / 8.013 GB, free: 98.98 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002741/34.29, allocations: 67.53 kB / 8.013 GB, free: 98.98 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008113/34.3, allocations: 351.9 kB / 8.014 GB, free: 98.97 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00118/34.3, allocations: 304.3 kB / 8.014 GB, free: 98.96 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000486/34.3, allocations: 120.5 kB / 8.014 GB, free: 98.96 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.01756/34.32, allocations: 5.644 MB / 8.019 GB, free: 98.71 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.71e-07/34.32, allocations: 0.9375 kB / 8.019 GB, free: 98.71 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.02412/34.34, allocations: 3.903 MB / 8.023 GB, free: 98.55 MB / 1.167 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.03698/34.38, allocations: 17.33 MB / 8.04 GB, free: 91.99 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.02413/34.4, allocations: 11.42 MB / 8.051 GB, free: 88.93 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.718e-05/34.4, allocations: 2.688 kB / 8.051 GB, free: 88.93 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.008306/34.41, allocations: 3.748 MB / 8.055 GB, free: 88.18 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03024/34.44, allocations: 3.826 MB / 8.059 GB, free: 88.13 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06003/34.5, allocations: 38.73 MB / 8.097 GB, free: 60.23 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01005/34.51, allocations: 4.138 MB / 8.101 GB, free: 59.39 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.01435/34.53, allocations: 1.616 MB / 8.102 GB, free: 59.33 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009157/34.54, allocations: 3.455 MB / 8.106 GB, free: 59.33 MB / 1.167 GB Notification: Performance of SimCode: time 1.042e-06/34.54, allocations: 0 / 8.106 GB, free: 59.33 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6087/35.14, allocations: 265.6 MB / 8.365 GB, free: 8.004 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004083/35.15, allocations: 255.1 kB / 8.365 GB, free: 7.668 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.87/52.02, allocations: 0 / 8.365 GB, free: 7.668 MB / 1.182 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeamsDynamics_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeamsDynamics.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe 2>&1)