Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001188/0.001188, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.229/1.229, allocations: 227.2 MB / 245 MB, free: 7.664 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008802/0.00088, allocations: 95.22 kB / 297.3 MB, free: 6.203 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002211/0.0002212, allocations: 8 kB / 358 MB, free: 9.473 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2174, allocations: 51.48 MB / 409.5 MB, free: 26.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.302/1.519, allocations: 0.7076 GB / 1.108 GB, free: 91.2 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/1.519, allocations: 71.97 kB / 1.108 GB, free: 91.13 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.392/1.911, allocations: 109.5 MB / 1.215 GB, free: 137.3 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.393e-06/1.911, allocations: 0 / 1.215 GB, free: 137.3 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.127e-05/1.911, allocations: 3.781 kB / 1.215 GB, free: 137.3 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.00213/1.914, allocations: 0.7743 MB / 1.215 GB, free: 136.9 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/1.914, allocations: 9.469 kB / 1.215 GB, free: 136.9 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.56e-05/1.914, allocations: 67.44 kB / 1.215 GB, free: 136.9 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001635/1.915, allocations: 253.8 kB / 1.216 GB, free: 136.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/1.916, allocations: 295.1 kB / 1.216 GB, free: 136.7 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/1.916, allocations: 21.09 kB / 1.216 GB, free: 136.7 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.988e-05/1.916, allocations: 27.09 kB / 1.216 GB, free: 136.7 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/1.917, allocations: 0.6599 MB / 1.217 GB, free: 136.6 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/1.917, allocations: 3.781 kB / 1.217 GB, free: 136.6 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.451e-05/1.917, allocations: 13.06 kB / 1.217 GB, free: 136.6 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/1.917, allocations: 17.62 kB / 1.217 GB, free: 136.6 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/1.919, allocations: 0.7448 MB / 1.217 GB, free: 136.6 MB / 458.7 MB 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.003092/1.922, allocations: 1.813 MB / 1.219 GB, free: 135.8 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/1.923, allocations: 477.3 kB / 1.22 GB, free: 135.7 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001275/1.924, allocations: 0.9013 MB / 1.22 GB, free: 135 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/1.924, allocations: 43.05 kB / 1.22 GB, free: 134.9 MB / 458.7 MB Notification: Performance of pre-optimization done (n=35): time 3.466e-06/1.924, allocations: 3.625 kB / 1.22 GB, free: 134.9 MB / 458.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium1.T Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium2.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=48): time 0.01224/1.936, allocations: 3.638 MB / 1.224 GB, free: 133.8 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/1.936, allocations: 83.3 kB / 1.224 GB, free: 133.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/1.937, allocations: 168.8 kB / 1.224 GB, free: 133.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.581e-05/1.937, allocations: 32.2 kB / 1.224 GB, free: 133.6 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.513e-05/1.937, allocations: 185.4 kB / 1.224 GB, free: 133.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/1.937, allocations: 170 kB / 1.225 GB, free: 133.4 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/1.937, allocations: 14.84 kB / 1.225 GB, free: 133.4 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.371e-05/1.937, allocations: 329.8 kB / 1.225 GB, free: 133.1 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006652/1.938, allocations: 264 kB / 1.225 GB, free: 133.1 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007104/1.938, allocations: 427 kB / 1.226 GB, free: 132.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006841/1.939, allocations: 305.1 kB / 1.226 GB, free: 132.9 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/1.939, allocations: 3.938 kB / 1.226 GB, free: 132.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001629/1.941, allocations: 0.7856 MB / 1.227 GB, free: 132.8 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/1.941, allocations: 11.61 kB / 1.227 GB, free: 132.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/1.941, allocations: 4.969 kB / 1.227 GB, free: 132.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001911/1.941, allocations: 56.67 kB / 1.227 GB, free: 132.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009943/1.942, allocations: 178.6 kB / 1.227 GB, free: 132.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004212/1.942, allocations: 1.077 MB / 1.228 GB, free: 131.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006544/1.943, allocations: 54.84 kB / 1.228 GB, free: 131.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-05/1.943, allocations: 39 kB / 1.228 GB, free: 131.8 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002163/1.943, allocations: 177 kB / 1.228 GB, free: 131.7 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.319e-05/1.943, allocations: 23.97 kB / 1.228 GB, free: 131.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001937/1.945, allocations: 0.7878 MB / 1.229 GB, free: 131.6 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.453e-06/1.945, allocations: 5.688 kB / 1.229 GB, free: 131.6 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/1.945, allocations: 10.27 kB / 1.229 GB, free: 131.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/1.945, allocations: 3.188 kB / 1.229 GB, free: 131.6 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00278/1.948, allocations: 1.56 MB / 1.231 GB, free: 131 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/1.948, allocations: 2.562 kB / 1.231 GB, free: 131 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009401/1.949, allocations: 151.1 kB / 1.231 GB, free: 131 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001325/1.949, allocations: 42.3 kB / 1.231 GB, free: 131 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.569e-05/1.949, allocations: 28.86 kB / 1.231 GB, free: 131 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001133/1.951, allocations: 2.541 MB / 1.233 GB, free: 128.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/1.951, allocations: 0 / 1.233 GB, free: 128.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002231/1.953, allocations: 1.164 MB / 1.234 GB, free: 128 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.222e-05/1.953, allocations: 99.33 kB / 1.234 GB, free: 127.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.22e-05/1.953, allocations: 17.45 kB / 1.235 GB, free: 127.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007019/1.954, allocations: 48.59 kB / 1.235 GB, free: 127.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.614e-05/1.954, allocations: 37.06 kB / 1.235 GB, free: 127.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.915e-05/1.954, allocations: 35.86 kB / 1.235 GB, free: 127.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.365e-05/1.954, allocations: 118.6 kB / 1.235 GB, free: 127.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.11e-07/1.954, allocations: 0 / 1.235 GB, free: 127.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001638/1.956, allocations: 453.5 kB / 1.235 GB, free: 127.7 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.T) * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005191/1.961, allocations: 3.318 MB / 1.238 GB, free: 125.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001721/1.963, allocations: 0.6448 MB / 1.239 GB, free: 125.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/1.963, allocations: 2.719 kB / 1.239 GB, free: 125.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008936/1.963, allocations: 0.5411 MB / 1.24 GB, free: 125.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005705/1.964, allocations: 80.09 kB / 1.24 GB, free: 125.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005788/1.97, allocations: 5.808 MB / 1.245 GB, free: 120.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/1.97, allocations: 0.7939 MB / 1.246 GB, free: 119.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001092/1.971, allocations: 180.9 kB / 1.246 GB, free: 119.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003649/1.972, allocations: 131.8 kB / 1.246 GB, free: 119.6 MB / 458.7 MB Notification: Performance of SimCode: time 1.583e-06/1.972, allocations: 0 / 1.246 GB, free: 119.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04043/2.012, allocations: 27.84 MB / 1.274 GB, free: 98.4 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001578/2.012, allocations: 190.9 kB / 1.274 GB, free: 98.17 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.822/4.834, allocations: 4 kB / 1.274 GB, free: 98.16 MB / 458.7 MB (rm -f Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MixtureGases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.MixtureGases_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_MixtureGases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_MixtureGases.fmu > Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.MixtureGases_res.mat does not exist to compare? outputFormat=mat