Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 177.7 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.935/1.935, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009999/0.0009999, allocations: 92.09 kB / 262.4 MB, free: 1.676 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.808e-05/1.811e-05, allocations: 4 kB / 315.6 MB, free: 22.63 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1152, allocations: 47.58 MB / 363.2 MB, free: 6.996 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.137/2.252, allocations: 0.7375 GB / 1.092 GB, free: 93.25 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/2.253, allocations: 64.09 kB / 1.092 GB, free: 93.22 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5024/2.755, allocations: 105.5 MB / 1.195 GB, free: 123.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.873e-06/2.755, allocations: 3.562 kB / 1.195 GB, free: 123.9 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.113e-05/2.755, allocations: 4.656 kB / 1.195 GB, free: 123.9 MB / 426.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.002976/2.758, allocations: 0.7684 MB / 1.196 GB, free: 123.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.633e-05/2.758, allocations: 10.06 kB / 1.196 GB, free: 123.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001892/2.76, allocations: 246.7 kB / 1.196 GB, free: 123.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000456/2.76, allocations: 284.4 kB / 1.196 GB, free: 123.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/2.76, allocations: 13.27 kB / 1.196 GB, free: 123.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-05/2.761, allocations: 19.94 kB / 1.197 GB, free: 123.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001101/2.762, allocations: 0.5957 MB / 1.197 GB, free: 123.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/2.763, allocations: 0.5767 MB / 1.198 GB, free: 123.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/2.763, allocations: 0 / 1.198 GB, free: 123.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-05/2.763, allocations: 1.188 kB / 1.198 GB, free: 123.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.766e-05/2.763, allocations: 20.69 kB / 1.198 GB, free: 123.2 MB / 426.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.003948/2.767, allocations: 1.753 MB / 1.199 GB, free: 122.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000616/2.767, allocations: 372.4 kB / 1.2 GB, free: 122.4 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004379/2.768, allocations: 176.9 kB / 1.2 GB, free: 122.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001682/2.77, allocations: 0.9113 MB / 1.201 GB, free: 121.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/2.77, allocations: 39.06 kB / 1.201 GB, free: 121.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 2.184e-06/2.77, allocations: 0 / 1.201 GB, free: 121.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=48): time 0.007773/2.777, allocations: 2.231 MB / 1.203 GB, free: 120.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/2.778, allocations: 82.61 kB / 1.203 GB, free: 120.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/2.778, allocations: 155 kB / 1.203 GB, free: 120.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.94e-05/2.778, allocations: 27.52 kB / 1.203 GB, free: 120.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/2.778, allocations: 175.2 kB / 1.203 GB, free: 120.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/2.778, allocations: 174.2 kB / 1.204 GB, free: 120.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.624e-05/2.778, allocations: 0 / 1.204 GB, free: 120.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/2.778, allocations: 333.9 kB / 1.204 GB, free: 119.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000357/2.779, allocations: 200.1 kB / 1.204 GB, free: 119.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004618/2.779, allocations: 353 kB / 1.204 GB, free: 119.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004344/2.78, allocations: 240.5 kB / 1.205 GB, free: 119.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/2.78, allocations: 1.562 kB / 1.205 GB, free: 119.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001232/2.781, allocations: 0.6198 MB / 1.205 GB, free: 119.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/2.781, allocations: 7.219 kB / 1.205 GB, free: 119.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/2.781, allocations: 8.781 kB / 1.205 GB, free: 119.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001955/2.781, allocations: 47.03 kB / 1.205 GB, free: 119.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/2.782, allocations: 177.1 kB / 1.206 GB, free: 119.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005602/2.783, allocations: 1.083 MB / 1.207 GB, free: 118.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006605/2.783, allocations: 41.28 kB / 1.207 GB, free: 118.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.124e-05/2.784, allocations: 37.12 kB / 1.207 GB, free: 118.6 MB / 426.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.0001772/2.784, allocations: 124.3 kB / 1.207 GB, free: 118.5 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001025/2.785, allocations: 0.4927 MB / 1.207 GB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/2.785, allocations: 31.14 kB / 1.207 GB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/2.786, allocations: 0.6402 MB / 1.208 GB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/2.786, allocations: 7.844 kB / 1.208 GB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/2.786, allocations: 0 / 1.208 GB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/2.786, allocations: 3.422 kB / 1.208 GB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002172/2.789, allocations: 1.377 MB / 1.209 GB, free: 117.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/2.789, allocations: 0 / 1.209 GB, free: 117.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009318/2.789, allocations: 154.5 kB / 1.209 GB, free: 117.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001029/2.79, allocations: 47.3 kB / 1.209 GB, free: 117.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.414e-05/2.79, allocations: 14.61 kB / 1.209 GB, free: 117.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001275/2.791, allocations: 2.437 MB / 1.212 GB, free: 115.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/2.791, allocations: 5.625 kB / 1.212 GB, free: 115.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/2.792, allocations: 0.972 MB / 1.213 GB, free: 114.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.72e-05/2.792, allocations: 109.2 kB / 1.213 GB, free: 114.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.767e-05/2.792, allocations: 3.594 kB / 1.213 GB, free: 114.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006854/2.793, allocations: 40.06 kB / 1.213 GB, free: 114.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.25e-05/2.793, allocations: 44.67 kB / 1.213 GB, free: 114.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.31e-05/2.793, allocations: 33.97 kB / 1.213 GB, free: 114.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.559e-05/2.793, allocations: 117.4 kB / 1.213 GB, free: 114.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.01e-07/2.793, allocations: 0 / 1.213 GB, free: 114.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00188/2.795, allocations: 411.9 kB / 1.214 GB, free: 114.7 MB / 426.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.004262/2.799, allocations: 3.212 MB / 1.217 GB, free: 113.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000952/2.8, allocations: 0.5183 MB / 1.217 GB, free: 113.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/2.8, allocations: 6.219 kB / 1.217 GB, free: 113.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005802/2.801, allocations: 463.4 kB / 1.218 GB, free: 112.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006717/2.802, allocations: 90.86 kB / 1.218 GB, free: 112.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/2.804, allocations: 0.8979 MB / 1.219 GB, free: 112.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/2.804, allocations: 0.7865 MB / 1.219 GB, free: 111.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00112/2.805, allocations: 190.1 kB / 1.22 GB, free: 111.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003713/2.806, allocations: 130.9 kB / 1.22 GB, free: 111.9 MB / 426.7 MB Notification: Performance of SimCode: time 8.52e-07/2.806, allocations: 0 / 1.22 GB, free: 111.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05068/2.857, allocations: 21.68 MB / 1.241 GB, free: 110.4 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000305/2.857, allocations: 124.7 kB / 1.241 GB, free: 110.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.03/5.887, allocations: 2.625 kB / 1.241 GB, free: 110.2 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.MixtureGases_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_MixtureGases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_MixtureGases.fmu > Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.MixtureGases_res.mat does not exist to compare? outputFormat=mat