Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.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.MSLCombustionAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MSLCombustionAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MSLCombustionAir",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.384/2.384, allocations: 393.5 MB / 408.4 MB, free: 11.1 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.001214/0.001214, allocations: 202.7 kB / 0.4902 GB, free: 2.293 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.782/1.782, allocations: 223.1 MB / 0.7992 GB, free: 14.76 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.001076/0.001076, allocations: 108.5 kB / 0.9396 GB, free: 1.961 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003629/0.0003629, allocations: 7.406 kB / 1.09 GB, free: 216.7 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3536, allocations: 143 MB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.314/2.668, allocations: 0.8027 GB / 2.032 GB, free: 293.3 MB / 1.182 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003639/2.668, allocations: 95.52 kB / 2.032 GB, free: 293.3 MB / 1.182 GB Notification: Performance of FrontEnd - DAE generated: time 1.766/4.434, allocations: 468.3 MB / 2.489 GB, free: 319.4 MB / 1.182 GB Notification: Performance of FrontEnd: time 3.166e-06/4.434, allocations: 0 / 2.489 GB, free: 319.4 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0001019/4.434, allocations: 19.98 kB / 2.489 GB, free: 319.4 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.00365/4.438, allocations: 1.138 MB / 2.49 GB, free: 318.2 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/4.438, allocations: 8.031 kB / 2.49 GB, free: 318.2 MB / 1.182 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003024/4.438, allocations: 90.52 kB / 2.491 GB, free: 318.1 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001775/4.44, allocations: 238.6 kB / 2.491 GB, free: 317.9 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001777/4.442, allocations: 0.6613 MB / 2.491 GB, free: 317.2 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.233e-05/4.442, allocations: 37 kB / 2.491 GB, free: 317.1 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/4.442, allocations: 48 kB / 2.491 GB, free: 317.1 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/4.443, allocations: 0.5762 MB / 2.492 GB, free: 316.5 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/4.443, allocations: 3.938 kB / 2.492 GB, free: 316.5 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-05/4.443, allocations: 20 kB / 2.492 GB, free: 316.5 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-05/4.443, allocations: 17 kB / 2.492 GB, free: 316.5 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007412/4.444, allocations: 447.8 kB / 2.493 GB, free: 316 MB / 1.182 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.003094/4.447, allocations: 2.141 MB / 2.495 GB, free: 313.7 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006366/4.448, allocations: 372.6 kB / 2.495 GB, free: 313.3 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002141/4.448, allocations: 186.5 kB / 2.495 GB, free: 313.1 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/4.448, allocations: 38.84 kB / 2.495 GB, free: 313.1 MB / 1.182 GB Notification: Performance of pre-optimization done (n=34): time 2.565e-06/4.448, allocations: 4 kB / 2.495 GB, free: 313.1 MB / 1.182 GB Notification: Performance of matching and sorting (n=34): time 0.001487/4.45, allocations: 0.6508 MB / 2.496 GB, free: 312.4 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/4.45, allocations: 63.34 kB / 2.496 GB, free: 312.3 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004662/4.45, allocations: 425.2 kB / 2.496 GB, free: 311.9 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 4.876e-05/4.45, allocations: 35.45 kB / 2.496 GB, free: 311.9 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/4.45, allocations: 300 kB / 2.497 GB, free: 311.6 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 9.858e-05/4.45, allocations: 122.2 kB / 2.497 GB, free: 311.4 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.68e-05/4.451, allocations: 8 kB / 2.497 GB, free: 311.4 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 9.724e-05/4.451, allocations: 362.8 kB / 2.497 GB, free: 311.1 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/4.451, allocations: 135.9 kB / 2.497 GB, free: 310.9 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/4.451, allocations: 224.1 kB / 2.497 GB, free: 310.7 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/4.451, allocations: 173.2 kB / 2.498 GB, free: 310.5 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/4.451, allocations: 0 / 2.498 GB, free: 310.5 MB / 1.182 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006018/4.452, allocations: 436.4 kB / 2.498 GB, free: 310.1 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001174/4.452, allocations: 453.1 kB / 2.498 GB, free: 309.6 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/4.452, allocations: 8 kB / 2.498 GB, free: 309.6 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/4.452, allocations: 3.938 kB / 2.498 GB, free: 309.6 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004175/4.453, allocations: 83.89 kB / 2.499 GB, free: 309.5 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000303/4.453, allocations: 0.5939 MB / 2.499 GB, free: 308.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005275/4.453, allocations: 71.7 kB / 2.499 GB, free: 308.8 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.369e-05/4.453, allocations: 27.48 kB / 2.499 GB, free: 308.8 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 9.257e-06/4.453, allocations: 4.781 kB / 2.499 GB, free: 308.8 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004703/4.454, allocations: 379.3 kB / 2.5 GB, free: 308.4 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-06/4.454, allocations: 0 / 2.5 GB, free: 308.4 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.94e-06/4.454, allocations: 7.953 kB / 2.5 GB, free: 308.4 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/4.454, allocations: 79.89 kB / 2.5 GB, free: 308.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-06/4.454, allocations: 0 / 2.5 GB, free: 308.3 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003523/4.455, allocations: 67.77 kB / 2.5 GB, free: 308.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/4.455, allocations: 19.98 kB / 2.5 GB, free: 308.3 MB / 1.182 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 (42): * Single equations (assignments): 41 * 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.0002846/4.455, allocations: 308.9 kB / 2.5 GB, free: 307.9 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.868e-05/4.455, allocations: 55.34 kB / 2.5 GB, free: 307.9 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000692/4.456, allocations: 475 kB / 2.501 GB, free: 307.4 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/4.456, allocations: 0 / 2.501 GB, free: 307.4 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/4.456, allocations: 4 kB / 2.501 GB, free: 307.4 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000522/4.456, allocations: 0.68 MB / 2.501 GB, free: 306.6 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/4.458, allocations: 1.405 MB / 2.503 GB, free: 305.1 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/4.458, allocations: 3.984 kB / 2.503 GB, free: 305.1 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003615/4.458, allocations: 80.08 kB / 2.503 GB, free: 305 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001428/4.458, allocations: 36.84 kB / 2.503 GB, free: 305 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/4.458, allocations: 8 kB / 2.503 GB, free: 305 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004242/4.459, allocations: 1.154 MB / 2.504 GB, free: 303.8 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/4.459, allocations: 0 / 2.504 GB, free: 303.8 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007792/4.46, allocations: 0.8051 MB / 2.505 GB, free: 302.9 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002302/4.46, allocations: 184.5 kB / 2.505 GB, free: 302.7 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.374e-05/4.46, allocations: 11.98 kB / 2.505 GB, free: 302.7 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003743/4.46, allocations: 39.88 kB / 2.505 GB, free: 302.7 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/4.46, allocations: 27.91 kB / 2.505 GB, free: 302.6 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-05/4.46, allocations: 23.98 kB / 2.505 GB, free: 302.6 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.0003188/4.461, allocations: 342.8 kB / 2.505 GB, free: 302.3 MB / 1.182 GB Notification: Performance of sort global known variables: time 2.084e-06/4.461, allocations: 0 / 2.505 GB, free: 302.3 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.001869/4.463, allocations: 0.5757 MB / 2.506 GB, free: 301.7 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.medium.Xi[2],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 (34): * Single equations (assignments): 32 * 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.003265/4.466, allocations: 2.771 MB / 2.508 GB, free: 298.9 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.0009906/4.467, allocations: 0.566 MB / 2.509 GB, free: 298.3 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/4.467, allocations: 0 / 2.509 GB, free: 298.3 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0003267/4.467, allocations: 207.7 kB / 2.509 GB, free: 298.1 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/4.469, allocations: 336.6 kB / 2.51 GB, free: 297.8 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004463/4.473, allocations: 4.22 MB / 2.514 GB, free: 293.5 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/4.474, allocations: 0.9488 MB / 2.515 GB, free: 292.5 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.0005651/4.474, allocations: 200.6 kB / 2.515 GB, free: 292.3 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002426/4.474, allocations: 211.4 kB / 2.515 GB, free: 292.1 MB / 1.182 GB Notification: Performance of SimCode: time 1.072e-06/4.474, allocations: 0 / 2.515 GB, free: 292.1 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05071/4.525, allocations: 32.72 MB / 2.547 GB, free: 259.7 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/4.525, allocations: 262.7 kB / 2.547 GB, free: 259.3 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.32/7.845, allocations: 0 / 2.547 GB, free: 259.3 MB / 1.182 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MSLCombustionAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MSLCombustionAir.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir_res.mat does not exist to compare? outputFormat=mat