Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MSLFlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MSLFlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.423/2.423, allocations: 390.3 MB / 402.8 MB, free: 6.668 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.00123/0.00123, allocations: 176.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 221.3 MB / 0.7915 GB, free: 5.383 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.0009676/0.0009676, allocations: 91.88 kB / 0.9317 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.491e-05/3.533e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2552, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.215/2.471, allocations: 0.8146 GB / 2.033 GB, free: 68.45 MB / 1.135 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/2.471, allocations: 90.5 kB / 2.034 GB, free: 68.4 MB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 3.257/5.728, allocations: 0.9115 GB / 2.945 GB, free: 93.16 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.214e-06/5.728, allocations: 0 / 2.945 GB, free: 93.16 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001467/5.728, allocations: 27.98 kB / 2.945 GB, free: 93.13 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.005215/5.733, allocations: 1.306 MB / 2.946 GB, free: 91.77 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/5.734, allocations: 8.031 kB / 2.946 GB, free: 91.77 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004962/5.734, allocations: 139.3 kB / 2.947 GB, free: 91.62 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002866/5.737, allocations: 434.2 kB / 2.947 GB, free: 91.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002368/5.739, allocations: 0.984 MB / 2.948 GB, free: 90.17 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.373e-05/5.739, allocations: 70 kB / 2.948 GB, free: 90.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002583/5.74, allocations: 91.91 kB / 2.948 GB, free: 90.01 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002039/5.742, allocations: 0.9913 MB / 2.949 GB, free: 89.01 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.14e-05/5.742, allocations: 3.984 kB / 2.949 GB, free: 89.01 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001291/5.742, allocations: 32 kB / 2.949 GB, free: 88.98 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.092e-05/5.742, allocations: 38 kB / 2.949 GB, free: 88.94 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001667/5.744, allocations: 0.9059 MB / 2.95 GB, free: 88.04 MB / 1.167 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.006449/5.75, allocations: 3.605 MB / 2.954 GB, free: 84.19 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/5.751, allocations: 0.7027 MB / 2.954 GB, free: 83.46 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005914/5.752, allocations: 445.1 kB / 2.955 GB, free: 83.03 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002967/5.752, allocations: 210.7 kB / 2.955 GB, free: 82.79 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/5.752, allocations: 43.12 kB / 2.955 GB, free: 82.73 MB / 1.167 GB Notification: Performance of pre-optimization done (n=62): time 5.961e-06/5.752, allocations: 0 / 2.955 GB, free: 82.73 MB / 1.167 GB Notification: Performance of matching and sorting (n=62): time 0.00216/5.754, allocations: 0.8389 MB / 2.956 GB, free: 81.89 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/5.754, allocations: 63.92 kB / 2.956 GB, free: 81.81 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009904/5.755, allocations: 0.6325 MB / 2.956 GB, free: 81.17 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001283/5.756, allocations: 37.7 kB / 2.956 GB, free: 81.13 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003401/5.756, allocations: 424 kB / 2.957 GB, free: 80.71 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002502/5.756, allocations: 216.8 kB / 2.957 GB, free: 80.49 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/5.756, allocations: 12 kB / 2.957 GB, free: 80.48 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002083/5.756, allocations: 386.8 kB / 2.957 GB, free: 80.09 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000427/5.757, allocations: 297.5 kB / 2.958 GB, free: 79.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005127/5.757, allocations: 407.9 kB / 2.958 GB, free: 79.37 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005432/5.758, allocations: 363 kB / 2.958 GB, free: 79.02 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/5.758, allocations: 4 kB / 2.958 GB, free: 79.02 MB / 1.167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001262/5.759, allocations: 0.8182 MB / 2.959 GB, free: 78.19 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001748/5.759, allocations: 451.3 kB / 2.96 GB, free: 77.71 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/5.759, allocations: 4 kB / 2.96 GB, free: 77.71 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.634e-05/5.76, allocations: 7.984 kB / 2.96 GB, free: 77.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006385/5.76, allocations: 139.8 kB / 2.96 GB, free: 77.57 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000353/5.761, allocations: 0.6015 MB / 2.96 GB, free: 76.94 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/5.762, allocations: 143.4 kB / 2.961 GB, free: 76.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.348e-05/5.762, allocations: 31.98 kB / 2.961 GB, free: 76.77 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/5.762, allocations: 4 kB / 2.961 GB, free: 76.77 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009495/5.763, allocations: 0.7237 MB / 2.961 GB, free: 76.04 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/5.763, allocations: 0 / 2.961 GB, free: 76.04 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.043e-06/5.763, allocations: 4 kB / 2.961 GB, free: 76.04 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004378/5.763, allocations: 131.9 kB / 2.961 GB, free: 75.91 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/5.763, allocations: 11.94 kB / 2.961 GB, free: 75.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009862/5.764, allocations: 139.3 kB / 2.962 GB, free: 75.76 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.114e-05/5.764, allocations: 31.98 kB / 2.962 GB, free: 75.73 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001646/5.764, allocations: 136.9 kB / 2.962 GB, free: 75.59 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/5.765, allocations: 75.06 kB / 2.962 GB, free: 75.52 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/5.766, allocations: 0.8629 MB / 2.963 GB, free: 74.64 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/5.766, allocations: 8.062 kB / 2.963 GB, free: 74.63 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/5.766, allocations: 4 kB / 2.963 GB, free: 74.63 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008619/5.767, allocations: 0.7958 MB / 2.963 GB, free: 73.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003458/5.77, allocations: 2.522 MB / 2.966 GB, free: 71.13 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/5.77, allocations: 4 kB / 2.966 GB, free: 71.13 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005432/5.771, allocations: 131.8 kB / 2.966 GB, free: 71 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001573/5.771, allocations: 49.27 kB / 2.966 GB, free: 70.95 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.139e-05/5.771, allocations: 31.98 kB / 2.966 GB, free: 70.92 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004825/5.771, allocations: 1.174 MB / 2.967 GB, free: 69.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/5.771, allocations: 7.938 kB / 2.967 GB, free: 69.69 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/5.773, allocations: 1.491 MB / 2.969 GB, free: 68.05 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005135/5.774, allocations: 263.9 kB / 2.969 GB, free: 67.77 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/5.774, allocations: 20 kB / 2.969 GB, free: 67.75 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007878/5.775, allocations: 83.7 kB / 2.969 GB, free: 67.67 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.772e-05/5.775, allocations: 56.27 kB / 2.969 GB, free: 67.62 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.436e-05/5.775, allocations: 35.98 kB / 2.969 GB, free: 67.58 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005761/5.775, allocations: 0.4991 MB / 2.97 GB, free: 67.09 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.71e-07/5.775, allocations: 0 / 2.97 GB, free: 67.09 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002733/5.778, allocations: 0.8345 MB / 2.97 GB, free: 66.25 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 8 (vol.dynBal.medium.Xi[1],vol.dynBal.medium.Xi[2],vol.dynBal.medium.Xi[3],vol.dynBal.medium.Xi[4],vol.dynBal.medium.Xi[5],vol.dynBal.medium.Xi[6],vol.dynBal.U,vol.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005411/5.783, allocations: 4.189 MB / 2.975 GB, free: 61.95 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001813/5.785, allocations: 1.17 MB / 2.976 GB, free: 60.78 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/5.785, allocations: 4.5 kB / 2.976 GB, free: 60.77 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005449/5.786, allocations: 402.2 kB / 2.976 GB, free: 60.38 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002392/5.788, allocations: 0.5129 MB / 2.977 GB, free: 59.87 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004493/5.793, allocations: 2.363 MB / 2.979 GB, free: 57.41 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006285/5.793, allocations: 1.121 MB / 2.98 GB, free: 56.27 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001454/5.795, allocations: 0.5375 MB / 2.98 GB, free: 55.72 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004277/5.795, allocations: 351.1 kB / 2.981 GB, free: 55.38 MB / 1.167 GB Notification: Performance of SimCode: time 1.513e-06/5.795, allocations: 0 / 2.981 GB, free: 55.38 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08315/5.878, allocations: 48.78 MB / 3.028 GB, free: 6.93 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/5.879, allocations: 239 kB / 3.029 GB, free: 6.617 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.547/9.426, allocations: 0 / 3.029 GB, free: 6.617 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MSLFlueGasSixComponents_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MSLFlueGasSixComponents.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLFlueGasSixComponents_res.mat does not exist to compare? outputFormat=mat