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.6/2.6, allocations: 393.5 MB / 408.4 MB, free: 11 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.001142/0.001142, allocations: 175.9 kB / 0.4901 GB, free: 2.238 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.648/1.648, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.001282/0.001282, allocations: 106.4 kB / 0.9396 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003818/0.0003818, allocations: 6.938 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3317, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.305/2.636, allocations: 0.8147 GB / 2.044 GB, free: 254.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/2.637, allocations: 89.27 kB / 2.044 GB, free: 254.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.309/5.946, allocations: 0.9109 GB / 2.955 GB, free: 247.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.773e-06/5.946, allocations: 4 kB / 2.955 GB, free: 247.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 7.216e-05/5.946, allocations: 28 kB / 2.955 GB, free: 247.1 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.003796/5.95, allocations: 1.431 MB / 2.956 GB, free: 245.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 7.227e-05/5.95, allocations: 8.828 kB / 2.956 GB, free: 245.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002171/5.95, allocations: 135.3 kB / 2.957 GB, free: 245.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002508/5.952, allocations: 441.6 kB / 2.957 GB, free: 245.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002267/5.955, allocations: 0.9995 MB / 2.958 GB, free: 244.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.095e-05/5.955, allocations: 70 kB / 2.958 GB, free: 244 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/5.955, allocations: 88 kB / 2.958 GB, free: 243.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/5.957, allocations: 1.003 MB / 2.959 GB, free: 242.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/5.957, allocations: 4 kB / 2.959 GB, free: 242.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.532e-05/5.957, allocations: 36 kB / 2.959 GB, free: 242.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.167e-05/5.957, allocations: 33.98 kB / 2.959 GB, free: 242.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/5.958, allocations: 0.9214 MB / 2.96 GB, free: 241.9 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 preOpt removeSimpleEquations (simulation): time 0.004671/5.963, allocations: 3.609 MB / 2.964 GB, free: 238 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/5.964, allocations: 0.7151 MB / 2.964 GB, free: 237.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003695/5.964, allocations: 210.7 kB / 2.964 GB, free: 237.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.548e-05/5.964, allocations: 47.12 kB / 2.964 GB, free: 237 MB / 1.167 GB Notification: Performance of pre-optimization done (n=62): time 5.43e-06/5.964, allocations: 0 / 2.964 GB, free: 237 MB / 1.167 GB Notification: Performance of matching and sorting (n=62): time 0.002539/5.967, allocations: 1.219 MB / 2.966 GB, free: 235.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/5.967, allocations: 59.97 kB / 2.966 GB, free: 235.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000786/5.968, allocations: 0.6402 MB / 2.966 GB, free: 235.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.517e-05/5.968, allocations: 37.7 kB / 2.966 GB, free: 235 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002684/5.968, allocations: 412.2 kB / 2.967 GB, free: 234.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/5.968, allocations: 224.7 kB / 2.967 GB, free: 234.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/5.968, allocations: 12 kB / 2.967 GB, free: 234.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001302/5.968, allocations: 390.7 kB / 2.967 GB, free: 234 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000368/5.969, allocations: 305 kB / 2.968 GB, free: 233.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004349/5.969, allocations: 414.6 kB / 2.968 GB, free: 233.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004421/5.97, allocations: 362 kB / 2.968 GB, free: 232.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/5.97, allocations: 0 / 2.968 GB, free: 232.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001038/5.971, allocations: 0.8299 MB / 2.969 GB, free: 232.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001351/5.971, allocations: 455.3 kB / 2.97 GB, free: 231.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/5.971, allocations: 0 / 2.97 GB, free: 231.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/5.971, allocations: 4 kB / 2.97 GB, free: 231.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006035/5.971, allocations: 135.8 kB / 2.97 GB, free: 231.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003549/5.972, allocations: 0.5939 MB / 2.97 GB, free: 230.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009278/5.973, allocations: 143.3 kB / 2.971 GB, free: 230.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.684e-05/5.973, allocations: 35.95 kB / 2.971 GB, free: 230.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.679e-06/5.973, allocations: 4 kB / 2.971 GB, free: 230.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008945/5.974, allocations: 0.7354 MB / 2.971 GB, free: 229.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/5.974, allocations: 3.984 kB / 2.971 GB, free: 229.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.063e-06/5.974, allocations: 4 kB / 2.971 GB, free: 229.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004404/5.974, allocations: 132.5 kB / 2.971 GB, free: 229.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/5.974, allocations: 8.188 kB / 2.971 GB, free: 229.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007261/5.975, allocations: 143.3 kB / 2.972 GB, free: 229.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-05/5.975, allocations: 28 kB / 2.972 GB, free: 229.6 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 () * Number of clocked 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.0006341/5.976, allocations: 416.8 kB / 2.972 GB, free: 229.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/5.976, allocations: 83.02 kB / 2.972 GB, free: 229.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/5.977, allocations: 0.8689 MB / 2.973 GB, free: 228.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/5.977, allocations: 8 kB / 2.973 GB, free: 228.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/5.977, allocations: 0 / 2.973 GB, free: 228.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008782/5.978, allocations: 0.8036 MB / 2.974 GB, free: 227.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003271/5.981, allocations: 2.534 MB / 2.976 GB, free: 224.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/5.981, allocations: 4 kB / 2.976 GB, free: 224.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006002/5.982, allocations: 138 kB / 2.976 GB, free: 224.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001829/5.982, allocations: 45.27 kB / 2.976 GB, free: 224.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.9e-05/5.982, allocations: 31.98 kB / 2.976 GB, free: 224.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000505/5.983, allocations: 1.181 MB / 2.978 GB, free: 223.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/5.983, allocations: 7.938 kB / 2.978 GB, free: 223.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001501/5.984, allocations: 1.498 MB / 2.979 GB, free: 221.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005306/5.985, allocations: 263.9 kB / 2.979 GB, free: 221.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.916e-05/5.985, allocations: 20 kB / 2.979 GB, free: 221.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000662/5.986, allocations: 75.83 kB / 2.979 GB, free: 221.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.311e-05/5.986, allocations: 60.25 kB / 2.979 GB, free: 221.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.662e-05/5.986, allocations: 35.98 kB / 2.979 GB, free: 221.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005842/5.986, allocations: 0.5107 MB / 2.98 GB, free: 220.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.1e-07/5.986, allocations: 0 / 2.98 GB, free: 220.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002444/5.989, allocations: 0.8417 MB / 2.981 GB, free: 219.8 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 () * Number of clocked 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.004688/5.993, allocations: 4.195 MB / 2.985 GB, free: 215.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001831/5.995, allocations: 1.161 MB / 2.986 GB, free: 214.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/5.995, allocations: 0 / 2.986 GB, free: 214.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000539/5.996, allocations: 411.1 kB / 2.986 GB, free: 213.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002443/5.998, allocations: 0.5108 MB / 2.987 GB, free: 213.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/6.009, allocations: 6.914 MB / 2.994 GB, free: 206.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007744/6.009, allocations: 1.127 MB / 2.995 GB, free: 205.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001335/6.011, allocations: 424.9 kB / 2.995 GB, free: 204.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005518/6.011, allocations: 347.3 kB / 2.995 GB, free: 204.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.302e-06/6.011, allocations: 4 kB / 2.995 GB, free: 204.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08213/6.093, allocations: 44.87 MB / 3.039 GB, free: 160 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/6.094, allocations: 272.8 kB / 3.04 GB, free: 159.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.946/10.04, allocations: 0 / 3.04 GB, free: 159.6 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