Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.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.NumberOfBeams,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeams",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.613/1.613, allocations: 249.3 MB / 261.8 MB, free: 5.824 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.001205/0.001205, allocations: 180.9 kB / 321.3 MB, free: 14.63 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.657/1.657, allocations: 205.2 MB / 0.572 GB, free: 10.65 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.0008205/0.0008203, allocations: 82.53 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.864e-05/3.866e-05, allocations: 4 kB / 0.788 GB, free: 96.98 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.229, allocations: 106.3 MB / 0.8919 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.336/7.565, allocations: 2.492 GB / 3.384 GB, free: 233.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003607/7.566, allocations: 99.94 kB / 3.384 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 14.15/21.72, allocations: 3.602 GB / 6.986 GB, free: 57.97 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.334e-06/21.72, allocations: 0 / 6.986 GB, free: 57.97 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.001397/21.72, allocations: 190.7 kB / 6.986 GB, free: 57.95 MB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1018 * Number of variables: 1018 Notification: Performance of Generate backend data structure: time 0.02156/21.74, allocations: 7.633 MB / 6.994 GB, free: 54.05 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 7.497e-05/21.74, allocations: 8.875 kB / 6.994 GB, free: 54.05 MB / 1.057 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002096/21.74, allocations: 0.5264 MB / 6.994 GB, free: 54 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01074/21.75, allocations: 1.86 MB / 6.996 GB, free: 53.52 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02696/21.78, allocations: 9.197 MB / 7.005 GB, free: 52.29 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001786/21.78, allocations: 0.5906 MB / 7.006 GB, free: 52.28 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002027/21.78, allocations: 442.5 kB / 7.006 GB, free: 52.28 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01162/21.8, allocations: 5.189 MB / 7.011 GB, free: 51.75 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.987e-05/21.8, allocations: 8.781 kB / 7.011 GB, free: 51.75 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005489/21.8, allocations: 170.5 kB / 7.011 GB, free: 51.75 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.041e-05/21.8, allocations: 94.91 kB / 7.011 GB, free: 51.75 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007427/21.8, allocations: 3.988 MB / 7.015 GB, free: 51.71 MB / 1.057 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.04767/21.85, allocations: 24.59 MB / 7.039 GB, free: 42.29 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004486/21.86, allocations: 2.638 MB / 7.042 GB, free: 42.24 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002375/21.86, allocations: 1.747 MB / 7.044 GB, free: 42.22 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01535/21.87, allocations: 8.006 MB / 7.051 GB, free: 38.86 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/21.87, allocations: 56.69 kB / 7.051 GB, free: 38.82 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005872/21.88, allocations: 400.4 kB / 7.052 GB, free: 38.67 MB / 1.057 GB Notification: Performance of pre-optimization done (n=190): time 2.716e-05/21.88, allocations: 1.969 kB / 7.052 GB, free: 38.67 MB / 1.057 GB Notification: Performance of matching and sorting (n=190): time 0.01498/21.89, allocations: 4.92 MB / 7.057 GB, free: 37.79 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001847/21.89, allocations: 412.4 kB / 7.057 GB, free: 37.35 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01493/21.91, allocations: 7.048 MB / 7.064 GB, free: 36.86 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.001069/21.91, allocations: 83.88 kB / 7.064 GB, free: 36.82 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.003917/21.91, allocations: 3.584 MB / 7.068 GB, free: 36.05 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.001183/21.92, allocations: 0.6321 MB / 7.068 GB, free: 35.66 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002495/21.92, allocations: 55.78 kB / 7.068 GB, free: 35.66 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001861/21.92, allocations: 417.6 kB / 7.069 GB, free: 35.35 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002693/21.92, allocations: 2.025 MB / 7.071 GB, free: 35.34 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003439/21.92, allocations: 3.245 MB / 7.074 GB, free: 33.98 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003056/21.93, allocations: 2.931 MB / 7.077 GB, free: 33.19 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.73e-05/21.93, allocations: 8.719 kB / 7.077 GB, free: 33.19 MB / 1.057 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.01124/21.94, allocations: 6.734 MB / 7.083 GB, free: 31.95 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.0027/21.94, allocations: 14.44 MB / 7.097 GB, free: 17.18 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.577e-05/21.94, allocations: 26.22 kB / 7.097 GB, free: 17.18 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001236/21.94, allocations: 497.5 kB / 7.098 GB, free: 17.15 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00262/21.94, allocations: 0.5933 MB / 7.098 GB, free: 17.15 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001533/21.95, allocations: 2.585 MB / 7.101 GB, free: 15.07 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007278/21.95, allocations: 0.5042 MB / 7.101 GB, free: 15.05 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00107/21.95, allocations: 200.4 kB / 7.102 GB, free: 15.05 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/21.95, allocations: 6.156 kB / 7.102 GB, free: 15.05 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01031/21.96, allocations: 6.828 MB / 7.108 GB, free: 14.22 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.964e-05/21.96, allocations: 24.84 kB / 7.108 GB, free: 14.22 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/21.97, allocations: 492.6 kB / 7.109 GB, free: 14.19 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00242/21.97, allocations: 0.594 MB / 7.109 GB, free: 14.19 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002174/21.97, allocations: 2.584 MB / 7.112 GB, free: 28.11 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007314/21.98, allocations: 0.4932 MB / 7.112 GB, free: 28.09 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001155/21.98, allocations: 194.3 kB / 7.113 GB, free: 28.09 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * 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 (299): * Single equations (assignments): 267 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.00141/21.98, allocations: 0.6558 MB / 7.113 GB, free: 27.59 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002357/21.98, allocations: 0.7082 MB / 7.114 GB, free: 27.21 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01311/22, allocations: 5.602 MB / 7.119 GB, free: 26.61 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.608e-05/22, allocations: 23.55 kB / 7.119 GB, free: 26.61 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.831e-05/22, allocations: 1.438 kB / 7.119 GB, free: 26.61 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.575e-05/22, allocations: 12.97 kB / 7.119 GB, free: 26.61 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.02923/22.02, allocations: 11.43 MB / 7.131 GB, free: 25.5 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-05/22.02, allocations: 4.812 kB / 7.131 GB, free: 25.5 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00193/22.03, allocations: 400.7 kB / 7.131 GB, free: 25.5 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001051/22.03, allocations: 468.9 kB / 7.131 GB, free: 25.47 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005611/22.03, allocations: 77.5 kB / 7.131 GB, free: 25.47 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002248/22.03, allocations: 2.578 MB / 7.134 GB, free: 23.39 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.949e-06/22.03, allocations: 8.078 kB / 7.134 GB, free: 23.39 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01163/22.04, allocations: 6.324 MB / 7.14 GB, free: 21.18 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005398/22.05, allocations: 1.404 MB / 7.141 GB, free: 20.7 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002845/22.05, allocations: 62 kB / 7.142 GB, free: 20.7 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006458/22.06, allocations: 447.5 kB / 7.142 GB, free: 20.68 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006964/22.06, allocations: 284.3 kB / 7.142 GB, free: 20.68 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003612/22.06, allocations: 105.3 kB / 7.142 GB, free: 20.68 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.0152/22.07, allocations: 5.409 MB / 7.148 GB, free: 20.39 MB / 1.073 GB Notification: Performance of sort global known variables: time 2.184e-06/22.07, allocations: 0 / 7.148 GB, free: 20.39 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.02034/22.09, allocations: 3.539 MB / 7.151 GB, free: 20 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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: 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 (186): * Single equations (assignments): 158 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.02425/22.12, allocations: 14.53 MB / 7.165 GB, free: 13.25 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.0146/22.13, allocations: 11.16 MB / 7.176 GB, free: 10.13 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.146e-05/22.13, allocations: 4.062 kB / 7.176 GB, free: 10.13 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.00435/22.14, allocations: 3.46 MB / 7.18 GB, free: 9.363 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01802/22.16, allocations: 3.535 MB / 7.183 GB, free: 9.129 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0334/22.19, allocations: 12.08 MB / 7.195 GB, free: 6.465 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00584/22.19, allocations: 4.001 MB / 7.199 GB, free: 5.555 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.0134/22.21, allocations: 2.485 MB / 7.201 GB, free: 5.25 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004558/22.21, allocations: 3.117 MB / 7.204 GB, free: 5.242 MB / 1.073 GB Notification: Performance of SimCode: time 1.383e-06/22.21, allocations: 1.531 kB / 7.204 GB, free: 5.242 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.329/23.54, allocations: 283.1 MB / 7.481 GB, free: 90.56 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001634/23.54, allocations: 254.2 kB / 7.481 GB, free: 90.23 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.7/38.24, allocations: 0 / 7.481 GB, free: 90.23 MB / 1.104 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeams_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeams.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe 2>&1)