Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.conf.json 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) Running command: "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000876/0.000876, allocations: 176.4 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 221.5 MB / 230.3 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 79.62 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.131e-05/2.134e-05, allocations: 4 kB / 337.1 MB, free: 9.934 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1314, allocations: 50.41 MB / 387.5 MB, free: 7.484 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.169/2.301, allocations: 0.7061 GB / 1.085 GB, free: 123.7 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/2.301, allocations: 70.23 kB / 1.085 GB, free: 123.7 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2056/2.507, allocations: 107.9 MB / 1.19 GB, free: 27.23 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.864e-06/2.507, allocations: 0 / 1.19 GB, free: 27.23 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.207e-05/2.507, allocations: 4 kB / 1.19 GB, free: 27.23 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.002188/2.509, allocations: 0.7595 MB / 1.191 GB, free: 26.43 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/2.509, allocations: 8.031 kB / 1.191 GB, free: 26.42 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001672/2.511, allocations: 255.9 kB / 1.191 GB, free: 26.17 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/2.511, allocations: 294.5 kB / 1.191 GB, free: 25.84 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/2.511, allocations: 8 kB / 1.191 GB, free: 25.83 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.223e-05/2.511, allocations: 16 kB / 1.191 GB, free: 25.82 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007272/2.512, allocations: 0.6025 MB / 1.192 GB, free: 25.21 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007187/2.513, allocations: 0.5745 MB / 1.192 GB, free: 24.62 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/2.513, allocations: 0 / 1.192 GB, free: 24.62 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.463e-05/2.513, allocations: 4 kB / 1.192 GB, free: 24.62 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.449e-05/2.513, allocations: 16.44 kB / 1.193 GB, free: 24.6 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.003054/2.516, allocations: 1.752 MB / 1.194 GB, free: 22.77 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004598/2.516, allocations: 381 kB / 1.195 GB, free: 22.38 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/2.516, allocations: 177.7 kB / 1.195 GB, free: 22.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001313/2.518, allocations: 0.9122 MB / 1.196 GB, free: 21.13 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/2.518, allocations: 38.56 kB / 1.196 GB, free: 21.09 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 2.164e-06/2.518, allocations: 0 / 1.196 GB, free: 21.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=48): time 0.006523/2.524, allocations: 2.213 MB / 1.198 GB, free: 18.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/2.524, allocations: 89.05 kB / 1.198 GB, free: 18.6 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/2.525, allocations: 150.4 kB / 1.198 GB, free: 18.45 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.264e-05/2.525, allocations: 25.7 kB / 1.198 GB, free: 18.41 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.314e-05/2.525, allocations: 180.1 kB / 1.198 GB, free: 18.23 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/2.525, allocations: 169.5 kB / 1.198 GB, free: 18.06 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.62e-05/2.525, allocations: 0 / 1.198 GB, free: 18.06 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.76e-05/2.525, allocations: 338.8 kB / 1.199 GB, free: 17.72 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002458/2.525, allocations: 197.5 kB / 1.199 GB, free: 17.53 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003092/2.525, allocations: 357.9 kB / 1.199 GB, free: 17.11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003234/2.526, allocations: 230.6 kB / 1.199 GB, free: 16.89 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/2.526, allocations: 4 kB / 1.2 GB, free: 16.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008928/2.527, allocations: 0.6209 MB / 1.2 GB, free: 16.25 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/2.527, allocations: 8 kB / 1.2 GB, free: 16.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/2.527, allocations: 8.562 kB / 1.2 GB, free: 16.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001648/2.527, allocations: 57.62 kB / 1.2 GB, free: 16.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009878/2.528, allocations: 175.7 kB / 1.2 GB, free: 16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004447/2.528, allocations: 1.085 MB / 1.201 GB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006231/2.529, allocations: 35.91 kB / 1.201 GB, free: 14.83 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.308e-05/2.529, allocations: 43.97 kB / 1.201 GB, free: 14.79 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.0001783/2.529, allocations: 123.2 kB / 1.202 GB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000813/2.53, allocations: 0.4885 MB / 1.202 GB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.798e-05/2.53, allocations: 27.72 kB / 1.202 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/2.532, allocations: 0.6563 MB / 1.203 GB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/2.532, allocations: 4 kB / 1.203 GB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.988e-06/2.532, allocations: 11.95 kB / 1.203 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/2.532, allocations: 0 / 1.203 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/2.534, allocations: 1.373 MB / 1.204 GB, free: 12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/2.534, allocations: 0 / 1.204 GB, free: 12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009359/2.535, allocations: 143.8 kB / 1.204 GB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001144/2.535, allocations: 45.86 kB / 1.204 GB, free: 11.81 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.194e-05/2.535, allocations: 19.97 kB / 1.204 GB, free: 11.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001052/2.536, allocations: 2.434 MB / 1.207 GB, free: 9.129 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/2.536, allocations: 4.031 kB / 1.207 GB, free: 9.125 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/2.537, allocations: 0.9761 MB / 1.208 GB, free: 8.059 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.623e-05/2.537, allocations: 100.8 kB / 1.208 GB, free: 7.941 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.845e-05/2.537, allocations: 4.094 kB / 1.208 GB, free: 7.938 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006672/2.538, allocations: 28 kB / 1.208 GB, free: 7.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/2.538, allocations: 55.83 kB / 1.208 GB, free: 7.855 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.427e-05/2.538, allocations: 35.95 kB / 1.208 GB, free: 7.82 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.808e-05/2.538, allocations: 115.2 kB / 1.208 GB, free: 7.707 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.31e-07/2.538, allocations: 0 / 1.208 GB, free: 7.707 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001669/2.54, allocations: 407.7 kB / 1.208 GB, free: 7.309 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.004047/2.544, allocations: 3.231 MB / 1.212 GB, free: 3.992 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000912/2.545, allocations: 0.5115 MB / 1.212 GB, free: 3.484 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/2.545, allocations: 0 / 1.212 GB, free: 3.484 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004966/2.545, allocations: 467.3 kB / 1.212 GB, free: 3.008 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006315/2.546, allocations: 85.09 kB / 1.213 GB, free: 2.926 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/2.548, allocations: 0.8996 MB / 1.213 GB, free: 1.961 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/2.548, allocations: 0.7893 MB / 1.214 GB, free: 1.148 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001074/2.549, allocations: 183.1 kB / 1.214 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000374/2.549, allocations: 131.3 kB / 1.214 GB, free: 0.8438 MB / 442.7 MB Notification: Performance of SimCode: time 6.01e-07/2.549, allocations: 0 / 1.214 GB, free: 0.8438 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3196/2.869, allocations: 21.7 MB / 1.236 GB, free: 114.7 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/2.869, allocations: 120.7 kB / 1.236 GB, free: 114.5 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.025/5.894, allocations: 0 / 1.236 GB, free: 114.5 MB / 442.7 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.MixtureGases_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_MixtureGases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_MixtureGases.fmu > Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.MixtureGases_res.mat does not exist to compare? outputFormat=mat