Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.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.MixingVolumes.Validation.MSLCombustionAir,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MSLCombustionAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MSLCombustionAir",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.275/2.275, allocations: 387.1 MB / 399.7 MB, free: 9.586 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.00116/0.00116, allocations: 183.7 kB / 492.3 MB, free: 0.6523 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.614/1.614, allocations: 221.3 MB / 0.7872 GB, free: 12.95 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.0008806/0.0008805, allocations: 91.88 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.157e-05/3.161e-05, allocations: 5.641 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.2999, allocations: 142.3 MB / 1.212 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.496/2.796, allocations: 0.8018 GB / 2.014 GB, free: 158.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/2.797, allocations: 90.94 kB / 2.014 GB, free: 158.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.584/4.381, allocations: 467.9 MB / 2.471 GB, free: 154.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.583e-06/4.381, allocations: 0 / 2.471 GB, free: 154.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.368e-05/4.381, allocations: 20 kB / 2.471 GB, free: 154.4 MB / 1.151 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.002793/4.384, allocations: 1.029 MB / 2.472 GB, free: 153.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/4.384, allocations: 12.03 kB / 2.472 GB, free: 153.3 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002071/4.384, allocations: 90.47 kB / 2.472 GB, free: 153.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001659/4.386, allocations: 254.8 kB / 2.473 GB, free: 152.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/4.387, allocations: 0.6496 MB / 2.473 GB, free: 152.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.546e-05/4.387, allocations: 37 kB / 2.473 GB, free: 152.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/4.387, allocations: 55.91 kB / 2.473 GB, free: 152.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008992/4.388, allocations: 0.5607 MB / 2.474 GB, free: 151.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/4.388, allocations: 3.984 kB / 2.474 GB, free: 151.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.389e-05/4.388, allocations: 23.95 kB / 2.474 GB, free: 151.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.798e-05/4.388, allocations: 24.98 kB / 2.474 GB, free: 151.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006275/4.389, allocations: 439.8 kB / 2.474 GB, free: 151.1 MB / 1.151 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.002486/4.391, allocations: 2.121 MB / 2.476 GB, free: 148.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005808/4.392, allocations: 372.5 kB / 2.477 GB, free: 148.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002384/4.392, allocations: 202.7 kB / 2.477 GB, free: 148.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002024/4.393, allocations: 194.4 kB / 2.477 GB, free: 148 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/4.393, allocations: 38.84 kB / 2.477 GB, free: 148 MB / 1.151 GB Notification: Performance of pre-optimization done (n=34): time 2.114e-06/4.393, allocations: 0 / 2.477 GB, free: 148 MB / 1.151 GB Notification: Performance of matching and sorting (n=34): time 0.001116/4.394, allocations: 451.9 kB / 2.478 GB, free: 147.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/4.394, allocations: 55.41 kB / 2.478 GB, free: 147.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004525/4.394, allocations: 423.8 kB / 2.478 GB, free: 147 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.441e-05/4.394, allocations: 33.7 kB / 2.478 GB, free: 147 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/4.394, allocations: 288.1 kB / 2.478 GB, free: 146.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.023e-05/4.395, allocations: 126.2 kB / 2.479 GB, free: 146.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.75e-05/4.395, allocations: 12 kB / 2.479 GB, free: 146.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001196/4.395, allocations: 366.7 kB / 2.479 GB, free: 146.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/4.395, allocations: 132 kB / 2.479 GB, free: 146.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002364/4.395, allocations: 220.1 kB / 2.479 GB, free: 145.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002287/4.395, allocations: 171.7 kB / 2.479 GB, free: 145.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/4.395, allocations: 0 / 2.479 GB, free: 145.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005936/4.396, allocations: 436.4 kB / 2.48 GB, free: 145.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001302/4.396, allocations: 453.1 kB / 2.48 GB, free: 144.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/4.396, allocations: 3.984 kB / 2.48 GB, free: 144.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/4.396, allocations: 4 kB / 2.48 GB, free: 144.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004419/4.397, allocations: 83.89 kB / 2.48 GB, free: 144.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002785/4.397, allocations: 0.5975 MB / 2.481 GB, free: 144 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005052/4.397, allocations: 71.77 kB / 2.481 GB, free: 144 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-05/4.397, allocations: 19.98 kB / 2.481 GB, free: 143.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/4.397, allocations: 4 kB / 2.481 GB, free: 143.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004887/4.398, allocations: 359.5 kB / 2.481 GB, free: 143.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/4.398, allocations: 0 / 2.481 GB, free: 143.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.68e-06/4.398, allocations: 8.125 kB / 2.481 GB, free: 143.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/4.398, allocations: 75.91 kB / 2.481 GB, free: 143.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/4.398, allocations: 3.984 kB / 2.481 GB, free: 143.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004637/4.399, allocations: 75.58 kB / 2.482 GB, free: 143.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/4.399, allocations: 12 kB / 2.482 GB, free: 143.4 MB / 1.151 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 (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.0001152/4.399, allocations: 130 kB / 2.482 GB, free: 143.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.946e-05/4.399, allocations: 55.33 kB / 2.482 GB, free: 143.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007079/4.4, allocations: 463.4 kB / 2.482 GB, free: 142.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/4.4, allocations: 4 kB / 2.482 GB, free: 142.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/4.4, allocations: 0 / 2.482 GB, free: 142.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005163/4.4, allocations: 0.684 MB / 2.483 GB, free: 142 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00174/4.402, allocations: 1.402 MB / 2.484 GB, free: 140.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/4.402, allocations: 3.953 kB / 2.484 GB, free: 140.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004813/4.403, allocations: 79.89 kB / 2.484 GB, free: 140.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002038/4.403, allocations: 32.84 kB / 2.484 GB, free: 140.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.149e-05/4.403, allocations: 11.98 kB / 2.484 GB, free: 140.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004343/4.403, allocations: 1.158 MB / 2.485 GB, free: 139.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/4.403, allocations: 7.969 kB / 2.485 GB, free: 139.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008184/4.404, allocations: 0.7885 MB / 2.486 GB, free: 138.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002811/4.404, allocations: 184.4 kB / 2.486 GB, free: 138.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.12e-05/4.404, allocations: 11.94 kB / 2.486 GB, free: 138.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004081/4.405, allocations: 43.91 kB / 2.486 GB, free: 138 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/4.405, allocations: 31.91 kB / 2.487 GB, free: 138 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.731e-05/4.405, allocations: 19.98 kB / 2.487 GB, free: 138 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003343/4.405, allocations: 341.5 kB / 2.487 GB, free: 137.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.01e-07/4.405, allocations: 0 / 2.487 GB, free: 137.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001801/4.407, allocations: 0.5693 MB / 2.487 GB, free: 137.1 MB / 1.151 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 () * 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.003671/4.411, allocations: 2.772 MB / 2.49 GB, free: 134.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001047/4.412, allocations: 0.5783 MB / 2.491 GB, free: 133.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/4.412, allocations: 4.125 kB / 2.491 GB, free: 133.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003336/4.412, allocations: 191.8 kB / 2.491 GB, free: 133.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001671/4.414, allocations: 326.2 kB / 2.491 GB, free: 133.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002611/4.417, allocations: 1.327 MB / 2.492 GB, free: 131.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/4.417, allocations: 0.942 MB / 2.493 GB, free: 130.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007595/4.418, allocations: 252.5 kB / 2.494 GB, free: 130.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000272/4.418, allocations: 203.4 kB / 2.494 GB, free: 130.3 MB / 1.151 GB Notification: Performance of SimCode: time 2.485e-06/4.418, allocations: 0 / 2.494 GB, free: 130.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08685/4.505, allocations: 36 MB / 2.529 GB, free: 94.59 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002014/4.505, allocations: 226.4 kB / 2.529 GB, free: 94.36 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.062/7.567, allocations: 0 / 2.529 GB, free: 94.36 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MSLCombustionAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MSLCombustionAir.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MSLCombustionAir_res.mat does not exist to compare? outputFormat=mat