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.001574/0.001574, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.646/1.646, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001053/0.001053, allocations: 86.14 kB / 292.1 MB, free: 6.016 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.832e-05/2.835e-05, allocations: 4 kB / 350.6 MB, free: 2.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1371, allocations: 51.48 MB / 402.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.82/1.957, allocations: 0.7076 GB / 1.1 GB, free: 12.48 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/1.958, allocations: 69.23 kB / 1.1 GB, free: 12.41 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5426/2.5, allocations: 109.5 MB / 1.207 GB, free: 91.67 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.573e-06/2.5, allocations: 0 / 1.207 GB, free: 91.67 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.47e-05/2.5, allocations: 4 kB / 1.207 GB, free: 91.66 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.002425/2.503, allocations: 0.772 MB / 1.208 GB, free: 90.85 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/2.503, allocations: 16.02 kB / 1.208 GB, free: 90.84 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.198e-05/2.503, allocations: 58.55 kB / 1.208 GB, free: 90.77 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00174/2.505, allocations: 252.5 kB / 1.208 GB, free: 90.53 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003945/2.505, allocations: 298.5 kB / 1.209 GB, free: 90.2 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/2.505, allocations: 24.52 kB / 1.209 GB, free: 90.17 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.485e-05/2.505, allocations: 28 kB / 1.209 GB, free: 90.14 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009242/2.506, allocations: 0.6142 MB / 1.209 GB, free: 89.51 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/2.506, allocations: 0 / 1.209 GB, free: 89.51 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.203e-05/2.506, allocations: 12 kB / 1.209 GB, free: 89.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.307e-05/2.506, allocations: 16.42 kB / 1.209 GB, free: 89.48 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/2.507, allocations: 0.6595 MB / 1.21 GB, free: 88.82 MB / 458.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.003187/2.511, allocations: 1.801 MB / 1.212 GB, free: 86.94 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005424/2.511, allocations: 387.1 kB / 1.212 GB, free: 86.54 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002732/2.511, allocations: 189.7 kB / 1.212 GB, free: 86.35 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001466/2.513, allocations: 0.9081 MB / 1.213 GB, free: 85.29 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/2.513, allocations: 38.56 kB / 1.213 GB, free: 85.25 MB / 458.7 MB Notification: Performance of pre-optimization done (n=35): time 3.536e-06/2.513, allocations: 0 / 1.213 GB, free: 85.25 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.009316/2.522, allocations: 2.782 MB / 1.216 GB, free: 82.3 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/2.522, allocations: 89.02 kB / 1.216 GB, free: 82.19 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/2.523, allocations: 163.4 kB / 1.216 GB, free: 82.03 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.825e-05/2.523, allocations: 29.7 kB / 1.216 GB, free: 81.99 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.315e-05/2.523, allocations: 180 kB / 1.216 GB, free: 81.81 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/2.523, allocations: 173.6 kB / 1.216 GB, free: 81.64 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.185e-05/2.523, allocations: 13.97 kB / 1.216 GB, free: 81.62 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.589e-05/2.523, allocations: 334.8 kB / 1.217 GB, free: 81.29 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/2.523, allocations: 213.5 kB / 1.217 GB, free: 81.08 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003592/2.524, allocations: 367.5 kB / 1.217 GB, free: 80.66 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003463/2.524, allocations: 253.7 kB / 1.218 GB, free: 80.41 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/2.524, allocations: 0 / 1.218 GB, free: 80.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009722/2.525, allocations: 0.6763 MB / 1.218 GB, free: 79.72 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/2.525, allocations: 8.625 kB / 1.218 GB, free: 79.71 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/2.525, allocations: 4 kB / 1.218 GB, free: 79.71 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002019/2.525, allocations: 61.69 kB / 1.218 GB, free: 79.64 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009928/2.526, allocations: 175.7 kB / 1.218 GB, free: 79.47 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004467/2.527, allocations: 1.089 MB / 1.22 GB, free: 78.33 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006463/2.527, allocations: 51.89 kB / 1.22 GB, free: 78.28 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.01e-05/2.527, allocations: 36.17 kB / 1.22 GB, free: 78.25 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 () * 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.0001594/2.528, allocations: 138.9 kB / 1.22 GB, free: 78.11 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.817e-05/2.528, allocations: 23.72 kB / 1.22 GB, free: 78.08 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/2.529, allocations: 0.6867 MB / 1.22 GB, free: 77.39 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/2.529, allocations: 4 kB / 1.22 GB, free: 77.39 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/2.529, allocations: 0 / 1.22 GB, free: 77.39 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/2.529, allocations: 11.98 kB / 1.22 GB, free: 77.38 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/2.531, allocations: 1.466 MB / 1.222 GB, free: 75.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/2.531, allocations: 0 / 1.222 GB, free: 75.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009085/2.532, allocations: 143.8 kB / 1.222 GB, free: 75.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001101/2.532, allocations: 49.91 kB / 1.222 GB, free: 75.62 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.568e-05/2.532, allocations: 21.66 kB / 1.222 GB, free: 75.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/2.533, allocations: 2.536 MB / 1.225 GB, free: 72.81 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/2.533, allocations: 8.062 kB / 1.225 GB, free: 72.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/2.535, allocations: 1.004 MB / 1.226 GB, free: 71.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.724e-05/2.535, allocations: 108.8 kB / 1.226 GB, free: 71.57 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.805e-05/2.535, allocations: 15.89 kB / 1.226 GB, free: 71.56 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007345/2.535, allocations: 39.95 kB / 1.226 GB, free: 71.52 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.499e-05/2.536, allocations: 39.95 kB / 1.226 GB, free: 71.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.016e-05/2.536, allocations: 31.97 kB / 1.226 GB, free: 71.45 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.035e-05/2.536, allocations: 128.4 kB / 1.226 GB, free: 71.32 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.11e-07/2.536, allocations: 0 / 1.226 GB, free: 71.32 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001765/2.537, allocations: 443.7 kB / 1.226 GB, free: 70.89 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 () * 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.004667/2.542, allocations: 3.179 MB / 1.229 GB, free: 67.63 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001131/2.543, allocations: 0.5508 MB / 1.23 GB, free: 67.08 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/2.543, allocations: 0 / 1.23 GB, free: 67.08 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005651/2.544, allocations: 486.2 kB / 1.23 GB, free: 66.58 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006518/2.545, allocations: 90.31 kB / 1.231 GB, free: 66.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/2.547, allocations: 0.9317 MB / 1.231 GB, free: 65.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/2.547, allocations: 0.797 MB / 1.232 GB, free: 64.68 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001134/2.548, allocations: 185 kB / 1.232 GB, free: 64.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003642/2.548, allocations: 127.4 kB / 1.233 GB, free: 64.37 MB / 458.7 MB Notification: Performance of SimCode: time 1.462e-06/2.548, allocations: 3.938 kB / 1.233 GB, free: 64.37 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04919/2.598, allocations: 30.1 MB / 1.262 GB, free: 34.39 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001783/2.598, allocations: 174 kB / 1.262 GB, free: 34.16 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.184/5.781, allocations: 3.938 kB / 1.262 GB, free: 34.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