Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.MixtureGases.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.037/2.037, allocations: 194.9 MB / 211.1 MB, free: 8.555 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004879/0.0004878, allocations: 12 kB / 264 MB, free: 3.492 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2909, allocations: 44.51 MB / 308.6 MB, free: 12.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.229/2.519, allocations: 0.7339 GB / 1.035 GB, free: 114.7 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001958/2.52, allocations: 69.11 kB / 1.035 GB, free: 114.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3995/2.919, allocations: 107.2 MB / 1.14 GB, free: 41.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.325e-06/2.919, allocations: 0 / 1.14 GB, free: 41.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.398e-05/2.919, allocations: 4 kB / 1.14 GB, free: 41.58 MB / 410.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.003536/2.923, allocations: 0.7836 MB / 1.141 GB, free: 40.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/2.923, allocations: 8.031 kB / 1.141 GB, free: 40.74 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000135/2.923, allocations: 66.55 kB / 1.141 GB, free: 40.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003015/2.926, allocations: 251.4 kB / 1.141 GB, free: 40.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005632/2.927, allocations: 298.6 kB / 1.141 GB, free: 40.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/2.927, allocations: 20.56 kB / 1.141 GB, free: 40.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/2.927, allocations: 31.91 kB / 1.141 GB, free: 40.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002156/2.929, allocations: 0.6562 MB / 1.142 GB, free: 39.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/2.929, allocations: 0 / 1.142 GB, free: 39.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/2.929, allocations: 23.98 kB / 1.142 GB, free: 39.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.769e-05/2.929, allocations: 12.44 kB / 1.142 GB, free: 39.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002876/2.932, allocations: 0.7479 MB / 1.143 GB, free: 38.58 MB / 410.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.005677/2.938, allocations: 1.799 MB / 1.145 GB, free: 36.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002234/2.94, allocations: 476.7 kB / 1.145 GB, free: 36.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002149/2.942, allocations: 0.9126 MB / 1.146 GB, free: 35.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/2.942, allocations: 38.5 kB / 1.146 GB, free: 35.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 2.936e-06/2.942, allocations: 4 kB / 1.146 GB, free: 35.09 MB / 410.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.02338/2.966, allocations: 3.639 MB / 1.149 GB, free: 31.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/2.966, allocations: 81.11 kB / 1.15 GB, free: 31.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/2.966, allocations: 162.4 kB / 1.15 GB, free: 30.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.83e-05/2.966, allocations: 33.7 kB / 1.15 GB, free: 30.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.412e-05/2.966, allocations: 180.1 kB / 1.15 GB, free: 30.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000171/2.966, allocations: 169.5 kB / 1.15 GB, free: 30.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.949e-05/2.967, allocations: 16 kB / 1.15 GB, free: 30.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.284e-05/2.967, allocations: 346.7 kB / 1.15 GB, free: 30.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/2.968, allocations: 261.1 kB / 1.151 GB, free: 29.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001357/2.969, allocations: 422.1 kB / 1.151 GB, free: 29.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/2.971, allocations: 305.2 kB / 1.151 GB, free: 29.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/2.971, allocations: 0 / 1.151 GB, free: 29.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003263/2.974, allocations: 0.7828 MB / 1.152 GB, free: 28.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/2.974, allocations: 8 kB / 1.152 GB, free: 28.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/2.974, allocations: 4 kB / 1.152 GB, free: 28.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002745/2.974, allocations: 49.69 kB / 1.152 GB, free: 28.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001918/2.976, allocations: 180.2 kB / 1.152 GB, free: 28.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006215/2.977, allocations: 1.089 MB / 1.153 GB, free: 27.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/2.978, allocations: 47.89 kB / 1.153 GB, free: 26.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/2.978, allocations: 39.92 kB / 1.153 GB, free: 26.94 MB / 410.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.0003278/2.979, allocations: 173.6 kB / 1.154 GB, free: 26.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/2.979, allocations: 27.77 kB / 1.154 GB, free: 26.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003712/2.983, allocations: 0.7905 MB / 1.154 GB, free: 25.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/2.983, allocations: 7.984 kB / 1.154 GB, free: 25.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/2.983, allocations: 0 / 1.154 GB, free: 25.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/2.983, allocations: 4 kB / 1.154 GB, free: 25.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005044/2.988, allocations: 1.572 MB / 1.156 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/2.988, allocations: 4 kB / 1.156 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00179/2.989, allocations: 148 kB / 1.156 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001827/2.99, allocations: 45.69 kB / 1.156 GB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.118e-05/2.99, allocations: 15.98 kB / 1.156 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001626/2.991, allocations: 2.541 MB / 1.159 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/2.991, allocations: 4 kB / 1.159 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004397/2.996, allocations: 1.175 MB / 1.16 GB, free: 19.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.699e-05/2.996, allocations: 96.83 kB / 1.16 GB, free: 19.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/2.996, allocations: 16 kB / 1.16 GB, free: 19.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/2.997, allocations: 36 kB / 1.16 GB, free: 19.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.751e-05/2.998, allocations: 39.95 kB / 1.16 GB, free: 19.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/2.998, allocations: 39.92 kB / 1.16 GB, free: 19.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001154/2.998, allocations: 128.4 kB / 1.16 GB, free: 19.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.81e-07/2.998, allocations: 0 / 1.16 GB, free: 19.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002055/3, allocations: 435.6 kB / 1.161 GB, free: 19.16 MB / 410.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.008899/3.009, allocations: 3.311 MB / 1.164 GB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003216/3.012, allocations: 0.6479 MB / 1.164 GB, free: 15.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/3.012, allocations: 4 kB / 1.164 GB, free: 15.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001697/3.014, allocations: 0.5287 MB / 1.165 GB, free: 14.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009807/3.015, allocations: 87.91 kB / 1.165 GB, free: 14.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009581/3.024, allocations: 5.804 MB / 1.171 GB, free: 8.504 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/3.025, allocations: 0.793 MB / 1.171 GB, free: 7.688 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001979/3.027, allocations: 187 kB / 1.172 GB, free: 7.504 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006655/3.027, allocations: 131.3 kB / 1.172 GB, free: 7.375 MB / 410.7 MB Notification: Performance of SimCode: time 9.62e-07/3.027, allocations: 0 / 1.172 GB, free: 7.375 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3452/3.373, allocations: 27.75 MB / 1.199 GB, free: 108.9 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002697/3.373, allocations: 196.5 kB / 1.199 GB, free: 108.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.157/7.53, allocations: 0 / 1.199 GB, free: 108.7 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.MixtureGases_res.mat does not exist to compare? outputFormat=mat