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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008395/0.0008395, allocations: 92.81 kB / 16.95 MB, free: 6.113 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 181.5 kB / 17.84 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 205.4 MB / 224 MB, free: 13.06 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004462/0.0004462, allocations: 12.94 kB / 280.9 MB, free: 3.621 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08798/0.08844, allocations: 47.58 MB / 328.4 MB, free: 3.973 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3514/0.4398, allocations: 140 MB / 468.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003702/0.4436, allocations: 2.833 MB / 471.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001785/0.4438, allocations: 4 kB / 471.2 MB, free: 11.28 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004712/0.4443, allocations: 71.55 kB / 471.3 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002479/0.4468, allocations: 0.801 MB / 472.1 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009572/0.4478, allocations: 292.2 kB / 472.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008448/0.4486, allocations: 0.5181 MB / 472.9 MB, free: 9.598 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.692e-05/0.4487, allocations: 13.56 kB / 472.9 MB, free: 9.586 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005133/0.4492, allocations: 203.2 kB / 473.1 MB, free: 9.387 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003727/0.4496, allocations: 171.5 kB / 473.3 MB, free: 9.219 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.131e-05/0.4497, allocations: 12 kB / 473.3 MB, free: 9.207 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004005/0.4537, allocations: 1.567 MB / 474.9 MB, free: 7.637 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002198/0.4539, allocations: 147.6 kB / 475 MB, free: 7.492 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.4541, allocations: 81.58 kB / 475.1 MB, free: 7.406 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001944/0.4561, allocations: 0.9061 MB / 476 MB, free: 6.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4561, allocations: 0 / 476 MB, free: 6.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4561, allocations: 0 / 476 MB, free: 6.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.4561, allocations: 4 kB / 476 MB, free: 6.496 MB / 366.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.002235/0.4583, allocations: 0.7026 MB / 476.7 MB, free: 5.746 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.4584, allocations: 11.97 kB / 476.7 MB, free: 5.734 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001627/0.4586, allocations: 70.47 kB / 476.8 MB, free: 5.656 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002189/0.4608, allocations: 267.9 kB / 477.1 MB, free: 5.395 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004845/0.4613, allocations: 282.7 kB / 477.3 MB, free: 5.078 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.533e-05/0.4613, allocations: 24.5 kB / 477.4 MB, free: 5.055 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.333e-05/0.4614, allocations: 27.91 kB / 477.4 MB, free: 5.027 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.4627, allocations: 0.6671 MB / 478 MB, free: 4.348 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.4628, allocations: 4 kB / 478.1 MB, free: 4.344 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.621e-05/0.4629, allocations: 12 kB / 478.1 MB, free: 4.332 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.335e-05/0.4629, allocations: 24.36 kB / 478.1 MB, free: 4.309 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001587/0.4645, allocations: 0.7556 MB / 478.8 MB, free: 3.555 MB / 366.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.003925/0.4684, allocations: 1.811 MB / 480.7 MB, free: 1.648 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.4697, allocations: 480.7 kB / 481.1 MB, free: 1.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005673/0.4703, allocations: 237.6 kB / 481.4 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002273/0.4726, allocations: 1.372 MB / 482.7 MB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.4726, allocations: 42.56 kB / 482.8 MB, free: 15.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.425e-06/0.4726, allocations: 0 / 482.8 MB, free: 15.28 MB / 382.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.01287/0.4855, allocations: 3.631 MB / 486.4 MB, free: 11.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.926e-05/0.4856, allocations: 85.05 kB / 486.5 MB, free: 11.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.4858, allocations: 182.4 kB / 486.7 MB, free: 11.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.21e-05/0.4859, allocations: 37.7 kB / 486.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.486, allocations: 176.1 kB / 486.9 MB, free: 10.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/0.4862, allocations: 177.5 kB / 487 MB, free: 10.76 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-05/0.4862, allocations: 16 kB / 487.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.4864, allocations: 338.8 kB / 487.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007304/0.4871, allocations: 257.1 kB / 487.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000786/0.4879, allocations: 426.2 kB / 488.1 MB, free: 9.672 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007346/0.4887, allocations: 313.1 kB / 488.4 MB, free: 9.367 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4887, allocations: 0 / 488.4 MB, free: 9.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001863/0.4905, allocations: 0.7807 MB / 489.1 MB, free: 8.574 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.4906, allocations: 8 kB / 489.1 MB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.4906, allocations: 4 kB / 489.2 MB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002159/0.4908, allocations: 61.69 kB / 489.2 MB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.4919, allocations: 187.8 kB / 489.4 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007331/0.4927, allocations: 1.077 MB / 490.5 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007357/0.4934, allocations: 48.14 kB / 490.5 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.863e-05/0.4935, allocations: 35.98 kB / 490.6 MB, free: 7.102 MB / 382.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.0002459/0.4938, allocations: 173.6 kB / 490.7 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.4939, allocations: 27.72 kB / 490.8 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002193/0.4961, allocations: 0.7811 MB / 491.5 MB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.4961, allocations: 4 kB / 491.5 MB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/0.4961, allocations: 4 kB / 491.5 MB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.4962, allocations: 7.969 kB / 491.5 MB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003255/0.4994, allocations: 1.538 MB / 493.1 MB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.4994, allocations: 8.219 kB / 493.1 MB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.5005, allocations: 143.8 kB / 493.2 MB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00012/0.5006, allocations: 49.53 kB / 493.3 MB, free: 4.254 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.313e-05/0.5007, allocations: 23.97 kB / 493.3 MB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001767/0.5025, allocations: 2.533 MB / 495.8 MB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.5025, allocations: 7.969 kB / 495.8 MB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002428/0.5049, allocations: 1.075 MB / 496.9 MB, free: 312 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.763e-05/0.505, allocations: 96.83 kB / 497 MB, free: 196 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.18e-05/0.5051, allocations: 20.03 kB / 497 MB, free: 176 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007266/0.5058, allocations: 39.95 kB / 497.1 MB, free: 136 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.708e-05/0.5059, allocations: 39.91 kB / 497.1 MB, free: 96 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.247e-05/0.506, allocations: 35.97 kB / 497.2 MB, free: 60 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001242/0.5061, allocations: 132.3 kB / 497.3 MB, free: 15.93 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.82e-07/0.5061, allocations: 0 / 497.3 MB, free: 15.93 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001443/0.5076, allocations: 383.7 kB / 497.7 MB, free: 15.55 MB / 398.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.005418/0.513, allocations: 2.186 MB / 499.8 MB, free: 13.31 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001783/0.5148, allocations: 0.6441 MB / 0.4888 GB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.5148, allocations: 0 / 0.4888 GB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.516, allocations: 0.537 MB / 0.4893 GB, free: 12.1 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007617/0.5167, allocations: 95.92 kB / 0.4894 GB, free: 12.01 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00567/0.5224, allocations: 2.634 MB / 0.4919 GB, free: 9.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.5228, allocations: 0.7813 MB / 0.4927 GB, free: 8.422 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001222/0.5241, allocations: 187.1 kB / 0.4929 GB, free: 8.238 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003918/0.5245, allocations: 123.4 kB / 0.493 GB, free: 8.117 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.5245, allocations: 0 / 0.493 GB, free: 8.117 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04211/0.5666, allocations: 18.41 MB / 0.511 GB, free: 5.668 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002311/0.5669, allocations: 219.8 kB / 0.5112 GB, free: 5.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.612/3.179, allocations: 0 / 0.5112 GB, free: 5.41 MB / 414.1 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) Environment - environmentSimulation: 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