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.001132/0.001132, allocations: 101.1 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001411/0.001411, allocations: 197.4 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002278/0.0002278, allocations: 4 kB / 306.7 MB, free: 1.262 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09676/0.09703, allocations: 51.49 MB / 358.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3182/0.4153, allocations: 127.7 MB / 485.9 MB, free: 12.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005667/0.421, allocations: 3.389 MB / 489.3 MB, free: 9.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/0.4212, allocations: 3.938 kB / 489.3 MB, free: 9.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004165/0.4217, allocations: 83.64 kB / 489.3 MB, free: 9.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002873/0.4245, allocations: 0.7906 MB / 490.1 MB, free: 8.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.4258, allocations: 299 kB / 490.4 MB, free: 8.211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006081/0.4264, allocations: 275.9 kB / 490.7 MB, free: 7.941 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.709e-05/0.4265, allocations: 17.5 kB / 490.7 MB, free: 7.926 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008165/0.4274, allocations: 299.1 kB / 491 MB, free: 7.633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002319/0.4276, allocations: 111.7 kB / 491.1 MB, free: 7.523 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.584e-05/0.4277, allocations: 8 kB / 491.1 MB, free: 7.516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005858/0.4335, allocations: 1.61 MB / 492.7 MB, free: 5.902 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002006/0.4338, allocations: 119.7 kB / 492.8 MB, free: 5.785 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.4339, allocations: 81.58 kB / 492.9 MB, free: 5.699 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002165/0.4361, allocations: 0.8718 MB / 493.8 MB, free: 4.828 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.4361, allocations: 4 kB / 493.8 MB, free: 4.824 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.4361, allocations: 0 / 493.8 MB, free: 4.824 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.4362, allocations: 0 / 493.8 MB, free: 4.824 MB / 398.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.002838/0.439, allocations: 0.7189 MB / 494.5 MB, free: 4.059 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.4391, allocations: 8.031 kB / 494.5 MB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001359/0.4392, allocations: 78.5 kB / 494.6 MB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/0.4405, allocations: 111.6 kB / 494.7 MB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005425/0.441, allocations: 270.5 kB / 495 MB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/0.4411, allocations: 20.56 kB / 495 MB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.4412, allocations: 28 kB / 495 MB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.4429, allocations: 0.5891 MB / 495.6 MB, free: 2.902 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.4429, allocations: 0 / 495.6 MB, free: 2.902 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.51e-05/0.443, allocations: 12 kB / 495.6 MB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.952e-05/0.4431, allocations: 20.44 kB / 495.6 MB, free: 2.871 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001973/0.445, allocations: 0.6395 MB / 496.3 MB, free: 2.23 MB / 398.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.00405/0.4491, allocations: 1.252 MB / 497.5 MB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.4504, allocations: 348.7 kB / 497.9 MB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002161/0.4526, allocations: 0.9277 MB / 498.8 MB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/0.4526, allocations: 38.55 kB / 498.8 MB, free: 15.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=35): time 4.118e-06/0.4527, allocations: 0 / 498.8 MB, free: 15.44 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.0216/0.4743, allocations: 3.495 MB / 0.4906 GB, free: 11.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.753e-05/0.4744, allocations: 85.11 kB / 0.4906 GB, free: 11.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002326/0.4746, allocations: 181.1 kB / 0.4908 GB, free: 11.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.4747, allocations: 33.7 kB / 0.4909 GB, free: 11.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.4749, allocations: 172.1 kB / 0.491 GB, free: 11.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003588/0.4752, allocations: 177.5 kB / 0.4912 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.634e-05/0.4753, allocations: 8 kB / 0.4912 GB, free: 11.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.4755, allocations: 334.8 kB / 0.4915 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/0.4767, allocations: 265.1 kB / 0.4918 GB, free: 10.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/0.478, allocations: 430.2 kB / 0.4922 GB, free: 9.984 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.4793, allocations: 297 kB / 0.4925 GB, free: 9.699 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.986e-06/0.4793, allocations: 7.953 kB / 0.4925 GB, free: 9.691 MB / 414.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003282/0.4826, allocations: 0.773 MB / 0.4932 GB, free: 8.906 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.4827, allocations: 14.45 kB / 0.4932 GB, free: 8.895 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.4827, allocations: 4 kB / 0.4932 GB, free: 8.891 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002927/0.483, allocations: 54.31 kB / 0.4933 GB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/0.4848, allocations: 179.7 kB / 0.4935 GB, free: 8.656 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007446/0.4856, allocations: 1.085 MB / 0.4945 GB, free: 7.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.4868, allocations: 47.89 kB / 0.4946 GB, free: 7.473 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/0.487, allocations: 36.8 kB / 0.4946 GB, free: 7.438 MB / 414.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.0003505/0.4874, allocations: 185.3 kB / 0.4948 GB, free: 7.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/0.4876, allocations: 27.72 kB / 0.4948 GB, free: 7.223 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00346/0.491, allocations: 0.7864 MB / 0.4956 GB, free: 6.422 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.4911, allocations: 8 kB / 0.4956 GB, free: 6.414 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.4911, allocations: 4 kB / 0.4956 GB, free: 6.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.4911, allocations: 3.984 kB / 0.4956 GB, free: 6.406 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004761/0.4959, allocations: 1.554 MB / 0.4971 GB, free: 4.754 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/0.4959, allocations: 8.828 kB / 0.4971 GB, free: 4.746 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001485/0.4974, allocations: 148 kB / 0.4973 GB, free: 4.602 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001902/0.4976, allocations: 49.62 kB / 0.4973 GB, free: 4.547 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.544e-05/0.4978, allocations: 19.98 kB / 0.4973 GB, free: 4.527 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002191/0.5, allocations: 2.545 MB / 0.4998 GB, free: 1.719 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.5, allocations: 0 / 0.4998 GB, free: 1.719 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003981/0.504, allocations: 1.163 MB / 0.5009 GB, free: 480 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.5041, allocations: 104.9 kB / 0.501 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/0.5043, allocations: 15.95 kB / 0.5011 GB, free: 340 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001324/0.5056, allocations: 39.95 kB / 0.5011 GB, free: 300 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.931e-05/0.5057, allocations: 39.89 kB / 0.5011 GB, free: 260 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001275/0.5058, allocations: 31.97 kB / 0.5012 GB, free: 228 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001381/0.506, allocations: 127.5 kB / 0.5013 GB, free: 100 kB / 414.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.506, allocations: 7.938 kB / 0.5013 GB, free: 92 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.002029/0.508, allocations: 379.7 kB / 0.5017 GB, free: 15.72 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.007888/0.5159, allocations: 2.82 MB / 0.5044 GB, free: 12.81 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00283/0.5188, allocations: 0.6544 MB / 0.505 GB, free: 12.16 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/0.5188, allocations: 0 / 0.505 GB, free: 12.16 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001644/0.5205, allocations: 0.5327 MB / 0.5056 GB, free: 11.6 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.5217, allocations: 85.39 kB / 0.5057 GB, free: 11.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/0.5325, allocations: 5.818 MB / 0.5113 GB, free: 5.523 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005483/0.5331, allocations: 0.793 MB / 0.5121 GB, free: 4.703 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002108/0.5352, allocations: 187.1 kB / 0.5123 GB, free: 4.52 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006584/0.5359, allocations: 127.4 kB / 0.5124 GB, free: 4.398 MB / 430.1 MB Notification: Performance of SimCode: time 8.41e-07/0.5359, allocations: 0 / 0.5124 GB, free: 4.398 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05464/0.5906, allocations: 18.82 MB / 0.5308 GB, free: 1.707 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002493/0.5909, allocations: 195.8 kB / 0.531 GB, free: 1.469 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.67/3.261, allocations: 0 / 0.531 GB, free: 1.469 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