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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.000918/0.0009181, allocations: 99.73 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008864/0.0008863, allocations: 193.9 kB / 17.9 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.3 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002287/0.0002288, allocations: 4 kB / 306.8 MB, free: 1.484 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08905/0.0893, allocations: 51.49 MB / 358.3 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3435/0.4328, allocations: 138.5 MB / 496.7 MB, free: 2.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004234/0.4371, allocations: 3.752 MB / 0.4888 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002047/0.4373, allocations: 4 kB / 0.4888 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003698/0.4377, allocations: 75.53 kB / 0.4888 GB, free: 14.6 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002289/0.44, allocations: 0.8011 MB / 0.4896 GB, free: 13.79 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008585/0.4409, allocations: 290.6 kB / 0.4899 GB, free: 13.51 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000702/0.4416, allocations: 0.5182 MB / 0.4904 GB, free: 12.99 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.851e-05/0.4417, allocations: 13.56 kB / 0.4904 GB, free: 12.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004336/0.4421, allocations: 203.3 kB / 0.4906 GB, free: 12.78 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002836/0.4424, allocations: 163.5 kB / 0.4908 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.241e-05/0.4425, allocations: 8 kB / 0.4908 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003296/0.4458, allocations: 1.586 MB / 0.4923 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001738/0.446, allocations: 139.7 kB / 0.4925 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.986e-05/0.4461, allocations: 81.58 kB / 0.4925 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001475/0.4476, allocations: 0.9137 MB / 0.4934 GB, free: 9.887 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4476, allocations: 0 / 0.4934 GB, free: 9.887 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4476, allocations: 0 / 0.4934 GB, free: 9.887 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.4476, allocations: 4 kB / 0.4934 GB, free: 9.883 MB / 414.1 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.002038/0.4496, allocations: 0.7053 MB / 0.4941 GB, free: 9.133 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.4497, allocations: 12.03 kB / 0.4941 GB, free: 9.121 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001329/0.4498, allocations: 70.53 kB / 0.4942 GB, free: 9.043 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002121/0.452, allocations: 264.2 kB / 0.4945 GB, free: 8.785 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004055/0.4524, allocations: 282.5 kB / 0.4947 GB, free: 8.469 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.4524, allocations: 20.56 kB / 0.4947 GB, free: 8.449 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.234e-05/0.4525, allocations: 24 kB / 0.4948 GB, free: 8.426 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.4538, allocations: 0.6749 MB / 0.4954 GB, free: 7.738 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.4538, allocations: 3.984 kB / 0.4954 GB, free: 7.734 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.236e-05/0.4539, allocations: 12 kB / 0.4954 GB, free: 7.723 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.384e-05/0.4539, allocations: 24.36 kB / 0.4955 GB, free: 7.699 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001566/0.4555, allocations: 0.7594 MB / 0.4962 GB, free: 6.938 MB / 414.1 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.003675/0.4592, allocations: 1.808 MB / 0.498 GB, free: 5.039 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.4603, allocations: 480.7 kB / 0.4984 GB, free: 4.551 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005523/0.4609, allocations: 233.6 kB / 0.4987 GB, free: 4.316 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002032/0.4629, allocations: 1.368 MB / 0.5 GB, free: 2.727 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.463, allocations: 42.77 kB / 0.5 GB, free: 2.676 MB / 414.1 MB Notification: Performance of pre-optimization done (n=35): time 3.297e-06/0.463, allocations: 0 / 0.5 GB, free: 2.676 MB / 414.1 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.0119/0.4749, allocations: 3.626 MB / 0.5036 GB, free: 14.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.475, allocations: 81.11 kB / 0.5036 GB, free: 14.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.4751, allocations: 185.1 kB / 0.5038 GB, free: 14.56 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.141e-05/0.4752, allocations: 29.7 kB / 0.5039 GB, free: 14.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.4753, allocations: 172.1 kB / 0.504 GB, free: 14.35 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.4755, allocations: 173.5 kB / 0.5042 GB, free: 14.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-05/0.4755, allocations: 12 kB / 0.5042 GB, free: 14.17 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.4756, allocations: 342.8 kB / 0.5045 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006616/0.4763, allocations: 261.1 kB / 0.5048 GB, free: 13.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007576/0.4771, allocations: 429.6 kB / 0.5052 GB, free: 13.08 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007087/0.4778, allocations: 298.6 kB / 0.5055 GB, free: 12.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.4778, allocations: 7.891 kB / 0.5055 GB, free: 12.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001721/0.4795, allocations: 0.7736 MB / 0.5062 GB, free: 12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.785e-05/0.4796, allocations: 18.48 kB / 0.5062 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.4796, allocations: 4 kB / 0.5062 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002048/0.4798, allocations: 61.62 kB / 0.5063 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.4809, allocations: 179.7 kB / 0.5065 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006564/0.4816, allocations: 1.085 MB / 0.5075 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006625/0.4823, allocations: 44.16 kB / 0.5076 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.892e-05/0.4824, allocations: 43.97 kB / 0.5076 GB, free: 10.52 MB / 430.1 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.0002209/0.4826, allocations: 165.6 kB / 0.5078 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.612e-05/0.4827, allocations: 27.72 kB / 0.5078 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002034/0.4847, allocations: 0.7981 MB / 0.5086 GB, free: 9.504 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/0.4848, allocations: 4 kB / 0.5086 GB, free: 9.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.4848, allocations: 4 kB / 0.5086 GB, free: 9.496 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.4848, allocations: 7.922 kB / 0.5086 GB, free: 9.488 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002942/0.4877, allocations: 1.543 MB / 0.5101 GB, free: 7.848 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.328e-06/0.4878, allocations: 8.172 kB / 0.5101 GB, free: 7.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009782/0.4887, allocations: 143.8 kB / 0.5103 GB, free: 7.699 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001283/0.4889, allocations: 49.62 kB / 0.5103 GB, free: 7.645 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.079e-05/0.4889, allocations: 23.97 kB / 0.5103 GB, free: 7.621 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001579/0.4905, allocations: 2.525 MB / 0.5128 GB, free: 4.832 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.4906, allocations: 7.969 kB / 0.5128 GB, free: 4.824 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002237/0.4928, allocations: 1.072 MB / 0.5138 GB, free: 3.715 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.024e-05/0.4929, allocations: 104.9 kB / 0.5139 GB, free: 3.594 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.818e-05/0.493, allocations: 12 kB / 0.514 GB, free: 3.582 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000731/0.4937, allocations: 48 kB / 0.514 GB, free: 3.535 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.379e-05/0.4938, allocations: 43.83 kB / 0.514 GB, free: 3.492 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.221e-05/0.4939, allocations: 35.97 kB / 0.5141 GB, free: 3.457 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.972e-05/0.494, allocations: 127.5 kB / 0.5142 GB, free: 3.332 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.494, allocations: 0 / 0.5142 GB, free: 3.332 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00129/0.4953, allocations: 387.7 kB / 0.5146 GB, free: 2.953 MB / 430.1 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.004572/0.4999, allocations: 2.186 MB / 0.5167 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001677/0.5016, allocations: 0.6544 MB / 0.5173 GB, free: 60 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5016, allocations: 0 / 0.5173 GB, free: 60 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009717/0.5025, allocations: 0.5348 MB / 0.5179 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007305/0.5033, allocations: 97.78 kB / 0.518 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004834/0.5081, allocations: 2.643 MB / 0.5205 GB, free: 12.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.5085, allocations: 0.7892 MB / 0.5213 GB, free: 11.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00114/0.5096, allocations: 183.1 kB / 0.5215 GB, free: 11.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003722/0.51, allocations: 127.4 kB / 0.5216 GB, free: 11.5 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.51, allocations: 0 / 0.5216 GB, free: 11.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2146/0.7246, allocations: 18.58 MB / 0.5397 GB, free: 157.9 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001405/0.7248, allocations: 200.1 kB / 0.5399 GB, free: 157.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.582/3.307, allocations: 1.25 kB / 0.5399 GB, free: 157.6 MB / 446.1 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