Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.351/2.351, allocations: 387.1 MB / 399.7 MB, free: 9.492 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 192.1 kB / 492.3 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.6/1.6, allocations: 221.3 MB / 0.7872 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009165/0.0009165, allocations: 84 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.806e-05/3.835e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2939, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.212/6.506, allocations: 2.203 GB / 3.415 GB, free: 99.18 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003146/6.506, allocations: 104.5 kB / 3.415 GB, free: 99.08 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 16.38/22.88, allocations: 3.711 GB / 7.126 GB, free: 90.45 MB / 1.307 GB Notification: Performance of FrontEnd: time 4.488e-06/22.88, allocations: 0 / 7.126 GB, free: 90.45 MB / 1.307 GB Notification: Performance of Transformations before backend: time 0.001936/22.88, allocations: 197.3 kB / 7.126 GB, free: 90.41 MB / 1.307 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.0264/22.91, allocations: 7.62 MB / 7.134 GB, free: 85.62 MB / 1.307 GB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/22.91, allocations: 7.469 kB / 7.134 GB, free: 85.62 MB / 1.307 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002814/22.91, allocations: 0.524 MB / 7.134 GB, free: 85.31 MB / 1.307 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01383/22.93, allocations: 2.212 MB / 7.136 GB, free: 84.82 MB / 1.307 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0383/22.97, allocations: 9.345 MB / 7.145 GB, free: 80.47 MB / 1.307 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002512/22.97, allocations: 0.5889 MB / 7.146 GB, free: 80.3 MB / 1.307 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002811/22.97, allocations: 438.4 kB / 7.146 GB, free: 80.17 MB / 1.307 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02215/22.99, allocations: 5.218 MB / 7.151 GB, free: 77.72 MB / 1.307 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000305/22.99, allocations: 7.469 kB / 7.151 GB, free: 77.71 MB / 1.307 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002327/23, allocations: 172.6 kB / 7.152 GB, free: 77.59 MB / 1.307 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00015/23, allocations: 100.9 kB / 7.152 GB, free: 77.59 MB / 1.307 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01632/23.01, allocations: 4.04 MB / 7.156 GB, free: 75.89 MB / 1.307 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.07248/23.08, allocations: 24.81 MB / 7.18 GB, free: 57.13 MB / 1.307 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007436/23.09, allocations: 2.687 MB / 7.182 GB, free: 55.72 MB / 1.307 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00447/23.1, allocations: 1.766 MB / 7.184 GB, free: 53.96 MB / 1.307 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02636/23.12, allocations: 8.144 MB / 7.192 GB, free: 45.26 MB / 1.307 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.471e-05/23.12, allocations: 56.56 kB / 7.192 GB, free: 45.2 MB / 1.307 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006388/23.13, allocations: 395.4 kB / 7.193 GB, free: 44.81 MB / 1.307 GB Notification: Performance of pre-optimization done (n=190): time 1.611e-05/23.13, allocations: 0 / 7.193 GB, free: 44.81 MB / 1.307 GB Notification: Performance of matching and sorting (n=190): time 0.0184/23.15, allocations: 4.97 MB / 7.197 GB, free: 39.74 MB / 1.307 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002518/23.15, allocations: 413.8 kB / 7.198 GB, free: 39.25 MB / 1.307 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02604/23.17, allocations: 7.051 MB / 7.205 GB, free: 32.23 MB / 1.307 GB Notification: Performance of collectPreVariables (initialization): time 0.001338/23.18, allocations: 85.61 kB / 7.205 GB, free: 32.14 MB / 1.307 GB Notification: Performance of collectInitialEqns (initialization): time 0.006996/23.18, allocations: 3.586 MB / 7.208 GB, free: 28.55 MB / 1.307 GB Notification: Performance of collectInitialBindings (initialization): time 0.001682/23.18, allocations: 0.6366 MB / 7.209 GB, free: 27.92 MB / 1.307 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009392/23.19, allocations: 55.75 kB / 7.209 GB, free: 27.87 MB / 1.307 GB Notification: Performance of setup shared object (initialization): time 0.0003587/23.19, allocations: 420.1 kB / 7.209 GB, free: 27.45 MB / 1.307 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004615/23.19, allocations: 2.052 MB / 7.211 GB, free: 25.4 MB / 1.307 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00597/23.2, allocations: 3.261 MB / 7.215 GB, free: 21.62 MB / 1.307 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005457/23.2, allocations: 2.942 MB / 7.217 GB, free: 18.53 MB / 1.307 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.631e-05/23.2, allocations: 8 kB / 7.217 GB, free: 18.52 MB / 1.307 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.01803/23.22, allocations: 6.772 MB / 7.224 GB, free: 11.58 MB / 1.307 GB Notification: Performance of prepare postOptimizeDAE: time 0.004197/23.22, allocations: 14.45 MB / 7.238 GB, free: 12.31 MB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.963e-05/23.22, allocations: 24 kB / 7.238 GB, free: 12.29 MB / 1.323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001969/23.23, allocations: 489.2 kB / 7.239 GB, free: 11.83 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004817/23.23, allocations: 0.6396 MB / 7.239 GB, free: 11.19 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003286/23.23, allocations: 2.587 MB / 7.242 GB, free: 8.504 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01232/23.25, allocations: 0.5349 MB / 7.242 GB, free: 7.969 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001705/23.25, allocations: 199.9 kB / 7.243 GB, free: 7.773 MB / 1.323 GB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/23.25, allocations: 8.781 kB / 7.243 GB, free: 7.766 MB / 1.323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01878/23.27, allocations: 6.872 MB / 7.249 GB, free: 0.7383 MB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001302/23.27, allocations: 24 kB / 7.249 GB, free: 0.7148 MB / 1.323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001771/23.27, allocations: 491.8 kB / 7.25 GB, free: 260 kB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004758/23.27, allocations: 0.6202 MB / 7.25 GB, free: 15.63 MB / 1.339 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003327/23.28, allocations: 2.584 MB / 7.253 GB, free: 12.95 MB / 1.339 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01202/23.29, allocations: 0.535 MB / 7.253 GB, free: 12.41 MB / 1.339 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001486/23.29, allocations: 195.9 kB / 7.254 GB, free: 12.22 MB / 1.339 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.001936/23.29, allocations: 0.653 MB / 7.254 GB, free: 11.5 MB / 1.339 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003374/23.3, allocations: 0.7097 MB / 7.255 GB, free: 10.78 MB / 1.339 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02176/23.32, allocations: 5.659 MB / 7.26 GB, free: 5.043 MB / 1.339 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.557e-05/23.32, allocations: 24 kB / 7.26 GB, free: 5.02 MB / 1.339 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.456e-05/23.32, allocations: 0 / 7.26 GB, free: 5.02 MB / 1.339 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.695e-05/23.32, allocations: 11.95 kB / 7.26 GB, free: 5.008 MB / 1.339 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 1.425/24.74, allocations: 11.57 MB / 7.272 GB, free: 124.7 MB / 1.339 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.64e-05/24.74, allocations: 3.688 kB / 7.272 GB, free: 124.7 MB / 1.339 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002415/24.75, allocations: 439 kB / 7.272 GB, free: 124.7 MB / 1.339 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00121/24.75, allocations: 465.4 kB / 7.273 GB, free: 124.7 MB / 1.339 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005583/24.75, allocations: 76.7 kB / 7.273 GB, free: 124.7 MB / 1.339 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002001/24.75, allocations: 2.573 MB / 7.275 GB, free: 122.6 MB / 1.339 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/24.75, allocations: 5.594 kB / 7.275 GB, free: 122.6 MB / 1.339 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01515/24.77, allocations: 6.362 MB / 7.281 GB, free: 120.8 MB / 1.339 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006711/24.77, allocations: 1.421 MB / 7.283 GB, free: 120.6 MB / 1.339 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003367/24.78, allocations: 61.53 kB / 7.283 GB, free: 120.6 MB / 1.339 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00788/24.78, allocations: 486.5 kB / 7.283 GB, free: 120.6 MB / 1.339 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001117/24.78, allocations: 281.8 kB / 7.284 GB, free: 120.6 MB / 1.339 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004896/24.79, allocations: 108.9 kB / 7.284 GB, free: 120.6 MB / 1.339 GB Notification: Performance of sorting global known variables: time 0.01918/24.8, allocations: 5.411 MB / 7.289 GB, free: 120.3 MB / 1.339 GB Notification: Performance of sort global known variables: time 1.002e-06/24.8, allocations: 0.5625 kB / 7.289 GB, free: 120.3 MB / 1.339 GB Notification: Performance of remove unused functions: time 0.02403/24.83, allocations: 3.623 MB / 7.293 GB, free: 120.1 MB / 1.339 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.0291/24.86, allocations: 14.63 MB / 7.307 GB, free: 113.9 MB / 1.339 GB Notification: Performance of simCode: created initialization part: time 0.01789/24.88, allocations: 11.23 MB / 7.318 GB, free: 110.8 MB / 1.339 GB Notification: Performance of simCode: created event and clocks part: time 1.742e-05/24.88, allocations: 1.594 kB / 7.318 GB, free: 110.8 MB / 1.339 GB Notification: Performance of simCode: created simulation system equations: time 0.005823/24.88, allocations: 3.492 MB / 7.321 GB, free: 110 MB / 1.339 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02143/24.9, allocations: 3.481 MB / 7.325 GB, free: 110 MB / 1.339 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04241/24.95, allocations: 12.14 MB / 7.336 GB, free: 107.5 MB / 1.339 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008931/24.95, allocations: 4.004 MB / 7.34 GB, free: 106.6 MB / 1.339 GB Notification: Performance of simCode: alias equations: time 0.01793/24.97, allocations: 2.498 MB / 7.343 GB, free: 106.6 MB / 1.339 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006554/24.98, allocations: 3.125 MB / 7.346 GB, free: 106.6 MB / 1.339 GB Notification: Performance of SimCode: time 1.022e-06/24.98, allocations: 0.75 kB / 7.346 GB, free: 106.6 MB / 1.339 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4427/25.42, allocations: 283.6 MB / 7.623 GB, free: 59.51 MB / 1.339 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000213/25.42, allocations: 249.9 kB / 7.623 GB, free: 59.18 MB / 1.339 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.13/41.55, allocations: 0 / 7.623 GB, free: 59.18 MB / 1.339 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeams_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeams.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams_res.mat does not exist to compare? outputFormat=mat