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.001331/0.001331, allocations: 198.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.57/1.57, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008514/0.0008516, allocations: 97.36 kB / 286.7 MB, free: 5.289 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.01e-05/2.013e-05, allocations: 0 / 343.8 MB, free: 8.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1322, allocations: 51.48 MB / 395.3 MB, free: 4.648 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.093/2.225, allocations: 0.7069 GB / 1.093 GB, free: 135.8 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000327/2.225, allocations: 65.2 kB / 1.093 GB, free: 135.8 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2399/2.465, allocations: 107.8 MB / 1.198 GB, free: 48.52 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.464e-06/2.465, allocations: 0 / 1.198 GB, free: 48.52 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.647e-05/2.465, allocations: 4 kB / 1.198 GB, free: 48.51 MB / 442.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.002747/2.468, allocations: 0.7648 MB / 1.199 GB, free: 47.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.74e-05/2.468, allocations: 8.031 kB / 1.199 GB, free: 47.7 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001856/2.47, allocations: 249.9 kB / 1.199 GB, free: 47.45 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004408/2.47, allocations: 295.2 kB / 1.199 GB, free: 47.12 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/2.47, allocations: 12 kB / 1.199 GB, free: 47.11 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.379e-05/2.471, allocations: 16 kB / 1.2 GB, free: 47.1 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008036/2.471, allocations: 0.6026 MB / 1.2 GB, free: 46.49 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008015/2.472, allocations: 0.5663 MB / 1.201 GB, free: 45.91 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/2.472, allocations: 4 kB / 1.201 GB, free: 45.91 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.638e-05/2.472, allocations: 3.938 kB / 1.201 GB, free: 45.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.167e-05/2.472, allocations: 13.19 kB / 1.201 GB, free: 45.89 MB / 442.7 MB 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.00336/2.476, allocations: 1.744 MB / 1.202 GB, free: 44.08 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004628/2.476, allocations: 369.1 kB / 1.203 GB, free: 43.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002194/2.476, allocations: 181.7 kB / 1.203 GB, free: 43.52 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001356/2.478, allocations: 0.9057 MB / 1.204 GB, free: 42.46 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/2.478, allocations: 46.88 kB / 1.204 GB, free: 42.41 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 2.535e-06/2.478, allocations: 0 / 1.204 GB, free: 42.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=48): time 0.006626/2.484, allocations: 2.224 MB / 1.206 GB, free: 40.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.392e-05/2.485, allocations: 81.11 kB / 1.206 GB, free: 39.92 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/2.485, allocations: 159.5 kB / 1.206 GB, free: 39.76 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.199e-05/2.485, allocations: 33.7 kB / 1.206 GB, free: 39.72 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.054e-05/2.485, allocations: 172.1 kB / 1.206 GB, free: 39.54 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/2.485, allocations: 169.5 kB / 1.207 GB, free: 39.38 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-05/2.485, allocations: 0 / 1.207 GB, free: 39.38 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.093e-05/2.485, allocations: 338.8 kB / 1.207 GB, free: 39.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002502/2.485, allocations: 197.5 kB / 1.207 GB, free: 38.84 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/2.486, allocations: 353.9 kB / 1.207 GB, free: 38.43 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003335/2.486, allocations: 237.2 kB / 1.208 GB, free: 38.2 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/2.486, allocations: 0 / 1.208 GB, free: 38.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008909/2.487, allocations: 0.6268 MB / 1.208 GB, free: 37.56 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/2.487, allocations: 8 kB / 1.208 GB, free: 37.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/2.487, allocations: 7.953 kB / 1.208 GB, free: 37.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001645/2.487, allocations: 45.7 kB / 1.208 GB, free: 37.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/2.488, allocations: 192.2 kB / 1.209 GB, free: 37.31 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004409/2.489, allocations: 1.077 MB / 1.21 GB, free: 36.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006685/2.489, allocations: 35.91 kB / 1.21 GB, free: 36.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.041e-05/2.489, allocations: 35.98 kB / 1.21 GB, free: 36.11 MB / 442.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 () * 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.000163/2.489, allocations: 120.8 kB / 1.21 GB, free: 35.98 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007736/2.49, allocations: 0.5005 MB / 1.21 GB, free: 35.47 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.767e-05/2.49, allocations: 23.72 kB / 1.21 GB, free: 35.45 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/2.492, allocations: 0.6427 MB / 1.211 GB, free: 34.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/2.492, allocations: 7.938 kB / 1.211 GB, free: 34.79 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/2.492, allocations: 0 / 1.211 GB, free: 34.79 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/2.492, allocations: 3.984 kB / 1.211 GB, free: 34.79 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002014/2.494, allocations: 1.382 MB / 1.212 GB, free: 33.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/2.494, allocations: 4 kB / 1.212 GB, free: 33.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009465/2.495, allocations: 147.7 kB / 1.212 GB, free: 33.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001155/2.495, allocations: 37.69 kB / 1.212 GB, free: 33.13 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.206e-05/2.495, allocations: 24.16 kB / 1.212 GB, free: 33.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001051/2.496, allocations: 2.431 MB / 1.215 GB, free: 30.45 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/2.496, allocations: 0 / 1.215 GB, free: 30.45 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/2.497, allocations: 0.9843 MB / 1.216 GB, free: 29.37 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.611e-05/2.497, allocations: 100.9 kB / 1.216 GB, free: 29.25 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.72e-05/2.497, allocations: 11.94 kB / 1.216 GB, free: 29.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006799/2.498, allocations: 35.91 kB / 1.216 GB, free: 29.21 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/2.498, allocations: 31.95 kB / 1.216 GB, free: 29.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.304e-05/2.498, allocations: 35.97 kB / 1.216 GB, free: 29.14 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.774e-05/2.498, allocations: 123.2 kB / 1.216 GB, free: 29.02 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.51e-07/2.498, allocations: 0 / 1.216 GB, free: 29.02 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001625/2.5, allocations: 407.7 kB / 1.217 GB, free: 28.62 MB / 442.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 () * 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.004444/2.504, allocations: 3.238 MB / 1.22 GB, free: 25.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001101/2.505, allocations: 0.5132 MB / 1.22 GB, free: 24.79 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/2.505, allocations: 0 / 1.22 GB, free: 24.79 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005867/2.506, allocations: 477.8 kB / 1.221 GB, free: 24.31 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007389/2.507, allocations: 82.2 kB / 1.221 GB, free: 24.23 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002269/2.509, allocations: 0.8966 MB / 1.222 GB, free: 23.27 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/2.509, allocations: 0.7892 MB / 1.222 GB, free: 22.46 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001169/2.51, allocations: 187.1 kB / 1.223 GB, free: 22.28 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003547/2.511, allocations: 127.4 kB / 1.223 GB, free: 22.16 MB / 442.7 MB Notification: Performance of SimCode: time 5.31e-07/2.511, allocations: 7.938 kB / 1.223 GB, free: 22.15 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04463/2.555, allocations: 21.77 MB / 1.244 GB, free: 412 kB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001535/2.556, allocations: 123.6 kB / 1.244 GB, free: 216 kB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.091/5.646, allocations: 0 / 1.244 GB, free: 216 kB / 442.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