Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.MixtureGases.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.MixtureGases") Notification: Performance of loadModel(Modelica): time 1.767/1.767, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003638/0.000364, allocations: 8 kB / 263.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0774/0.07779, allocations: 44.51 MB / 308.3 MB, free: 1.035 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.4356/0.5134, allocations: 127.6 MB / 435.9 MB, free: 10.02 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005691/0.5191, allocations: 3.397 MB / 439.3 MB, free: 7.344 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001608/0.5193, allocations: 0 / 439.3 MB, free: 7.344 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003618/0.5197, allocations: 73.97 kB / 439.4 MB, free: 7.281 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002628/0.5224, allocations: 0.797 MB / 440.2 MB, free: 6.664 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.5235, allocations: 291.8 kB / 440.5 MB, free: 6.457 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005361/0.524, allocations: 291.8 kB / 440.8 MB, free: 6.285 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.468e-05/0.5241, allocations: 17.72 kB / 440.8 MB, free: 6.273 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00062/0.5248, allocations: 287.6 kB / 441.1 MB, free: 6.113 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.525, allocations: 115.1 kB / 441.2 MB, free: 6.051 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.567e-05/0.525, allocations: 8.625 kB / 441.2 MB, free: 6.051 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005258/0.5303, allocations: 1.609 MB / 442.8 MB, free: 4.941 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001934/0.5305, allocations: 119.7 kB / 442.9 MB, free: 4.824 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.5307, allocations: 81.58 kB / 443 MB, free: 4.738 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002081/0.5328, allocations: 0.8632 MB / 443.8 MB, free: 3.875 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.325e-06/0.5328, allocations: 4 kB / 443.9 MB, free: 3.871 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.448e-06/0.5328, allocations: 0 / 443.9 MB, free: 3.871 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.773e-06/0.5329, allocations: 0 / 443.9 MB, free: 3.871 MB / 330.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.002263/0.5351, allocations: 0.7214 MB / 444.6 MB, free: 3.102 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.5352, allocations: 8.031 kB / 444.6 MB, free: 3.094 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009359/0.5361, allocations: 107.6 kB / 444.7 MB, free: 2.988 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004466/0.5366, allocations: 266.7 kB / 444.9 MB, free: 2.688 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.5366, allocations: 20.56 kB / 445 MB, free: 2.668 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.923e-05/0.5368, allocations: 27.98 kB / 445 MB, free: 2.641 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.5382, allocations: 0.5851 MB / 445.6 MB, free: 2.039 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/0.5382, allocations: 15.95 kB / 445.6 MB, free: 2.023 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.049e-05/0.5383, allocations: 15.98 kB / 445.6 MB, free: 2.008 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-05/0.5384, allocations: 24.41 kB / 445.6 MB, free: 1.984 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00168/0.5401, allocations: 0.6308 MB / 446.3 MB, free: 1.355 MB / 330.7 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.003543/0.5436, allocations: 1.244 MB / 447.5 MB, free: 56 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.5449, allocations: 353 kB / 447.9 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00193/0.5468, allocations: 0.9436 MB / 448.8 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.931e-05/0.5469, allocations: 42.5 kB / 448.8 MB, free: 14.55 MB / 346.7 MB Notification: Performance of pre-optimization done (n=35): time 3.92e-06/0.5469, allocations: 0 / 448.8 MB, free: 14.55 MB / 346.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.01802/0.565, allocations: 3.479 MB / 452.3 MB, free: 10.88 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.426e-05/0.5651, allocations: 85.11 kB / 452.4 MB, free: 10.77 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.5653, allocations: 179.2 kB / 452.6 MB, free: 10.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.208e-05/0.5654, allocations: 33.7 kB / 452.6 MB, free: 10.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.5656, allocations: 250.5 kB / 452.9 MB, free: 10.3 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002231/0.5658, allocations: 177.5 kB / 453 MB, free: 10.13 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.777e-05/0.5659, allocations: 12 kB / 453 MB, free: 10.12 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.5661, allocations: 330.8 kB / 453.4 MB, free: 9.785 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009746/0.5671, allocations: 269.1 kB / 453.6 MB, free: 9.52 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/0.5682, allocations: 426 kB / 454 MB, free: 9.039 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.5693, allocations: 304.3 kB / 454.3 MB, free: 8.746 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.08e-06/0.5693, allocations: 4 kB / 454.3 MB, free: 8.742 MB / 346.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002639/0.572, allocations: 0.7765 MB / 455.1 MB, free: 7.953 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.572, allocations: 8 kB / 455.1 MB, free: 7.945 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.572, allocations: 4 kB / 455.1 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002857/0.5723, allocations: 53.69 kB / 455.2 MB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/0.5737, allocations: 180.1 kB / 455.4 MB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009811/0.5747, allocations: 1.085 MB / 456.4 MB, free: 6.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009183/0.5757, allocations: 40.45 kB / 456.5 MB, free: 6.531 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/0.5758, allocations: 39.97 kB / 456.5 MB, free: 6.492 MB / 346.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 () * 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.0003642/0.5762, allocations: 177.6 kB / 456.7 MB, free: 6.309 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/0.5764, allocations: 39.75 kB / 456.7 MB, free: 6.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003012/0.5794, allocations: 0.7798 MB / 457.5 MB, free: 5.477 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/0.5794, allocations: 8 kB / 457.5 MB, free: 5.469 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.5795, allocations: 4 kB / 457.5 MB, free: 5.465 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/0.5795, allocations: 3.984 kB / 457.5 MB, free: 5.461 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004488/0.584, allocations: 1.56 MB / 459.1 MB, free: 3.812 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.584, allocations: 4 kB / 459.1 MB, free: 3.809 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001345/0.5854, allocations: 147.9 kB / 459.2 MB, free: 3.664 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001915/0.5856, allocations: 45.69 kB / 459.3 MB, free: 3.613 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.305e-05/0.5857, allocations: 23.98 kB / 459.3 MB, free: 3.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002576/0.5883, allocations: 2.544 MB / 461.9 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.712e-06/0.5883, allocations: 0 / 461.9 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003488/0.5918, allocations: 1.068 MB / 462.9 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.592, allocations: 104.7 kB / 463 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.5921, allocations: 20.03 kB / 463 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009157/0.5931, allocations: 39.95 kB / 463.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.218e-05/0.5932, allocations: 43.89 kB / 463.1 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.5933, allocations: 27.97 kB / 463.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001431/0.5934, allocations: 128.4 kB / 463.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.57e-07/0.5935, allocations: 0 / 463.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001566/0.595, allocations: 379.8 kB / 463.6 MB, free: 14.91 MB / 362.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 () * 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.003144/0.5982, allocations: 0.6742 MB / 464.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002539/0.6008, allocations: 0.648 MB / 465 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.6008, allocations: 0 / 465 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001463/0.6023, allocations: 0.5326 MB / 465.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007978/0.6031, allocations: 101.1 kB / 465.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002849/0.606, allocations: 1.207 MB / 466.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000568/0.6066, allocations: 0.793 MB / 467.6 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006205/0.6072, allocations: 71.38 kB / 467.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of SimCode: time 1.531e-06/0.6072, allocations: 0 / 467.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of Templates: time 0.02768/0.6349, allocations: 14.72 MB / 482.4 MB, free: 12.04 MB / 378.7 MB