Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.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.NumberOfBeamsDynamics,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeamsDynamics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.055/2.055, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001008/0.001008, allocations: 186.3 kB / 498.1 MB, free: 5.746 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.354/1.354, allocations: 223.2 MB / 0.7948 GB, free: 17.94 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.0008656/0.0008656, allocations: 95.78 kB / 0.9346 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003376/0.0003376, allocations: 10.47 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2312, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.841/4.072, allocations: 2.203 GB / 3.426 GB, free: 281 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002205/4.072, allocations: 104.8 kB / 3.426 GB, free: 280.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 14.21/18.28, allocations: 4.527 GB / 7.953 GB, free: 11.86 MB / 1.37 GB Notification: Performance of FrontEnd: time 6.052e-06/18.28, allocations: 4 kB / 7.953 GB, free: 11.85 MB / 1.37 GB Notification: Performance of Transformations before backend: time 0.001985/18.28, allocations: 199.8 kB / 7.953 GB, free: 11.66 MB / 1.37 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.03974/18.32, allocations: 10.2 MB / 7.963 GB, free: 1.18 MB / 1.37 GB Notification: Performance of prepare preOptimizeDAE: time 6.743e-05/18.32, allocations: 8.031 kB / 7.963 GB, free: 1.172 MB / 1.37 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003661/18.33, allocations: 0.5807 MB / 7.963 GB, free: 0.5781 MB / 1.37 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.539/19.87, allocations: 1.842 MB / 7.965 GB, free: 113.5 MB / 1.37 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02958/19.9, allocations: 9.993 MB / 7.975 GB, free: 113 MB / 1.37 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004865/19.9, allocations: 367.8 kB / 7.975 GB, free: 113 MB / 1.37 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001657/19.9, allocations: 478.7 kB / 7.976 GB, free: 113 MB / 1.37 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01295/19.91, allocations: 5.822 MB / 7.981 GB, free: 112.4 MB / 1.37 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.183e-05/19.91, allocations: 7.188 kB / 7.981 GB, free: 112.4 MB / 1.37 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005299/19.91, allocations: 185.5 kB / 7.982 GB, free: 112.4 MB / 1.37 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001827/19.91, allocations: 163.5 kB / 7.982 GB, free: 112.4 MB / 1.37 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01019/19.92, allocations: 4.773 MB / 7.986 GB, free: 112.3 MB / 1.37 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.04281/19.97, allocations: 25.33 MB / 8.011 GB, free: 103.2 MB / 1.37 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005581/19.97, allocations: 3.171 MB / 8.014 GB, free: 103.2 MB / 1.37 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01597/19.99, allocations: 8.361 MB / 8.022 GB, free: 99.9 MB / 1.37 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.963e-05/19.99, allocations: 59.06 kB / 8.022 GB, free: 99.86 MB / 1.37 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004357/19.99, allocations: 428.4 kB / 8.023 GB, free: 99.77 MB / 1.37 GB Notification: Performance of pre-optimization done (n=214): time 1.496e-05/19.99, allocations: 3.797 kB / 8.023 GB, free: 99.77 MB / 1.37 GB Notification: Performance of matching and sorting (n=214): time 0.0125/20, allocations: 7.342 MB / 8.03 GB, free: 97.76 MB / 1.37 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/20, allocations: 417.5 kB / 8.03 GB, free: 97.32 MB / 1.37 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01669/20.02, allocations: 7.356 MB / 8.038 GB, free: 96.88 MB / 1.37 GB Notification: Performance of collectPreVariables (initialization): time 0.0007952/20.02, allocations: 89.33 kB / 8.038 GB, free: 96.85 MB / 1.37 GB Notification: Performance of collectInitialEqns (initialization): time 0.004096/20.03, allocations: 3.749 MB / 8.041 GB, free: 96.21 MB / 1.37 GB Notification: Performance of collectInitialBindings (initialization): time 0.001/20.03, allocations: 0.718 MB / 8.042 GB, free: 95.86 MB / 1.37 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005001/20.03, allocations: 70.56 kB / 8.042 GB, free: 95.86 MB / 1.37 GB Notification: Performance of setup shared object (initialization): time 0.0002519/20.03, allocations: 435.9 kB / 8.043 GB, free: 95.55 MB / 1.37 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003842/20.03, allocations: 2.275 MB / 8.045 GB, free: 95.54 MB / 1.37 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004528/20.04, allocations: 3.585 MB / 8.048 GB, free: 94.09 MB / 1.37 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004988/20.04, allocations: 3.25 MB / 8.051 GB, free: 93.29 MB / 1.37 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.088e-05/20.04, allocations: 6.531 kB / 8.051 GB, free: 93.29 MB / 1.37 GB Notification: Performance of matching and sorting (n=427) (initialization): time 0.01357/20.05, allocations: 7.108 MB / 8.058 GB, free: 92.04 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 0.002845/20.06, allocations: 15.84 MB / 8.074 GB, free: 75.92 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.025e-05/20.06, allocations: 29.12 kB / 8.074 GB, free: 75.92 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.327e-05/20.06, allocations: 49.16 kB / 8.074 GB, free: 75.92 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00281/20.06, allocations: 0.7111 MB / 8.075 GB, free: 75.92 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.8e-05/20.06, allocations: 55.48 kB / 8.075 GB, free: 75.92 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006606/20.07, allocations: 486.2 kB / 8.075 GB, free: 75.91 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005536/20.07, allocations: 219.3 kB / 8.075 GB, free: 75.91 MB / 1.37 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/20.07, allocations: 3.406 kB / 8.075 GB, free: 75.91 MB / 1.37 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01044/20.08, allocations: 7.191 MB / 8.082 GB, free: 75.07 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.074e-05/20.08, allocations: 28.97 kB / 8.082 GB, free: 75.07 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.537e-05/20.08, allocations: 49.33 kB / 8.082 GB, free: 75.07 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00265/20.08, allocations: 0.6944 MB / 8.083 GB, free: 75.07 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.358e-05/20.08, allocations: 63.69 kB / 8.083 GB, free: 75.07 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006213/20.09, allocations: 475.7 kB / 8.084 GB, free: 75.06 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004863/20.09, allocations: 210.2 kB / 8.084 GB, free: 75.06 MB / 1.37 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.004727/20.09, allocations: 2.299 MB / 8.086 GB, free: 74.5 MB / 1.37 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002134/20.09, allocations: 0.7412 MB / 8.087 GB, free: 74.1 MB / 1.37 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009602/20.1, allocations: 5.395 MB / 8.092 GB, free: 73.54 MB / 1.37 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.69e-05/20.1, allocations: 29.61 kB / 8.092 GB, free: 73.54 MB / 1.37 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/20.1, allocations: 2.719 kB / 8.092 GB, free: 73.54 MB / 1.37 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00608/20.11, allocations: 4.407 MB / 8.096 GB, free: 72.87 MB / 1.37 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.02256/20.13, allocations: 11.85 MB / 8.108 GB, free: 71.79 MB / 1.37 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.587e-05/20.13, allocations: 5.406 kB / 8.108 GB, free: 71.79 MB / 1.37 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002127/20.14, allocations: 461.2 kB / 8.108 GB, free: 71.79 MB / 1.37 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.108e-05/20.14, allocations: 12.81 kB / 8.108 GB, free: 71.79 MB / 1.37 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000231/20.14, allocations: 86 kB / 8.109 GB, free: 71.79 MB / 1.37 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.925e-05/20.14, allocations: 18.89 kB / 8.109 GB, free: 71.79 MB / 1.37 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/20.14, allocations: 8.969 kB / 8.109 GB, free: 71.79 MB / 1.37 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01334/20.15, allocations: 9.184 MB / 8.118 GB, free: 69.34 MB / 1.37 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006734/20.16, allocations: 1.446 MB / 8.119 GB, free: 68.85 MB / 1.37 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003481/20.16, allocations: 68.11 kB / 8.119 GB, free: 68.85 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005787/20.16, allocations: 385 kB / 8.119 GB, free: 68.84 MB / 1.37 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000564/20.17, allocations: 296.2 kB / 8.12 GB, free: 68.84 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003683/20.17, allocations: 119.1 kB / 8.12 GB, free: 68.84 MB / 1.37 GB Notification: Performance of sorting global known variables: time 0.01262/20.18, allocations: 5.659 MB / 8.125 GB, free: 68.59 MB / 1.37 GB Notification: Performance of sort global known variables: time 2.41e-07/20.18, allocations: 1.781 kB / 8.125 GB, free: 68.59 MB / 1.37 GB Notification: Performance of remove unused functions: time 0.01742/20.2, allocations: 3.91 MB / 8.129 GB, free: 68.43 MB / 1.37 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.0253/20.22, allocations: 17.58 MB / 8.146 GB, free: 61.82 MB / 1.37 GB Notification: Performance of simCode: created initialization part: time 0.01659/20.24, allocations: 11.68 MB / 8.158 GB, free: 58.77 MB / 1.37 GB Notification: Performance of simCode: created event and clocks part: time 1.379e-05/20.24, allocations: 3.469 kB / 8.158 GB, free: 58.77 MB / 1.37 GB Notification: Performance of simCode: created simulation system equations: time 0.005201/20.24, allocations: 3.827 MB / 8.161 GB, free: 58.02 MB / 1.37 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01903/20.26, allocations: 3.772 MB / 8.165 GB, free: 57.98 MB / 1.37 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04858/20.31, allocations: 38.84 MB / 8.203 GB, free: 45.96 MB / 1.386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00786/20.32, allocations: 4.147 MB / 8.207 GB, free: 45.12 MB / 1.386 GB Notification: Performance of simCode: alias equations: time 0.01135/20.33, allocations: 1.636 MB / 8.209 GB, free: 45.06 MB / 1.386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006536/20.34, allocations: 3.465 MB / 8.212 GB, free: 45.05 MB / 1.386 GB Notification: Performance of SimCode: time 9.81e-07/20.34, allocations: 2.406 kB / 8.212 GB, free: 45.05 MB / 1.386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3528/20.69, allocations: 265.3 MB / 8.471 GB, free: 3.938 MB / 1.417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002638/20.69, allocations: 254.1 kB / 8.471 GB, free: 3.602 MB / 1.417 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/32, allocations: 3.375 kB / 8.471 GB, free: 3.602 MB / 1.417 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeamsDynamics_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeamsDynamics.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeamsDynamics_res.mat does not exist to compare? outputFormat=mat