Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadModel(Modelica): time 1.054/1.054, allocations: 111.3 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.628e-05/1.638e-05, allocations: 0 / 148.1 MB, free: 6.234 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.046/0.04604, allocations: 25.18 MB / 173.3 MB, free: 13.01 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.499/1.545, allocations: 0.6529 GB / 0.8222 GB, free: 43.93 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000191/1.546, allocations: 60.53 kB / 0.8222 GB, free: 43.87 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1082/1.654, allocations: 36.85 MB / 0.8582 GB, free: 6.891 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.114e-06/1.654, allocations: 0 / 0.8582 GB, free: 6.891 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.137e-06/1.654, allocations: 4 kB / 0.8582 GB, free: 6.887 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.000438/1.654, allocations: 409.9 kB / 0.8586 GB, free: 6.441 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/1.654, allocations: 8.031 kB / 0.8586 GB, free: 6.434 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.434e-05/1.655, allocations: 15.84 kB / 0.8586 GB, free: 6.418 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/1.655, allocations: 194.9 kB / 0.8588 GB, free: 6.188 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/1.655, allocations: 4 kB / 0.8588 GB, free: 6.184 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/1.655, allocations: 4 kB / 0.8588 GB, free: 6.18 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002534/1.655, allocations: 148.3 kB / 0.859 GB, free: 6.035 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/1.655, allocations: 122.9 kB / 0.8591 GB, free: 5.91 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/1.655, allocations: 0 / 0.8591 GB, free: 5.91 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/1.655, allocations: 0 / 0.8591 GB, free: 5.91 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.471e-06/1.655, allocations: 8 kB / 0.8591 GB, free: 5.902 MB / 234.7 MB Warning: The model contains alias variables with conflicting start and/or 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.0009274/1.656, allocations: 0.5761 MB / 0.8596 GB, free: 5.258 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002765/1.657, allocations: 142.6 kB / 0.8598 GB, free: 5.109 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.885e-05/1.657, allocations: 48.84 kB / 0.8598 GB, free: 5.059 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009644/1.658, allocations: 1.05 MB / 0.8608 GB, free: 3.836 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/1.658, allocations: 30.56 kB / 0.8609 GB, free: 3.797 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 2.93e-06/1.658, allocations: 0 / 0.8609 GB, free: 3.797 MB / 234.7 MB Notification: Performance of matching and sorting (n=19): time 0.006745/1.664, allocations: 1.398 MB / 0.8622 GB, free: 2.301 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.983e-05/1.664, allocations: 55.41 kB / 0.8623 GB, free: 2.234 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.368e-05/1.665, allocations: 101 kB / 0.8624 GB, free: 2.129 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/1.665, allocations: 25.7 kB / 0.8624 GB, free: 2.098 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.729e-05/1.665, allocations: 170.7 kB / 0.8626 GB, free: 1.926 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.125e-05/1.665, allocations: 63.09 kB / 0.8626 GB, free: 1.863 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.887e-06/1.665, allocations: 0 / 0.8626 GB, free: 1.863 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 5.229e-05/1.665, allocations: 314.8 kB / 0.8629 GB, free: 1.547 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.463e-05/1.665, allocations: 48.17 kB / 0.863 GB, free: 1.5 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/1.665, allocations: 74.05 kB / 0.8631 GB, free: 1.418 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/1.666, allocations: 222.8 kB / 0.8633 GB, free: 1.203 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.551e-06/1.666, allocations: 0 / 0.8633 GB, free: 1.203 MB / 234.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001361/1.667, allocations: 362.4 kB / 0.8636 GB, free: 0.8398 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/1.667, allocations: 4 kB / 0.8636 GB, free: 0.8359 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.525e-06/1.667, allocations: 0 / 0.8636 GB, free: 0.8359 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001241/1.668, allocations: 24.84 kB / 0.8636 GB, free: 0.8086 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002528/1.668, allocations: 47.97 kB / 0.8637 GB, free: 0.7617 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00029/1.668, allocations: 0.5405 MB / 0.8642 GB, free: 200 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/1.668, allocations: 12 kB / 0.8642 GB, free: 188 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.081e-05/1.668, allocations: 8.031 kB / 0.8642 GB, free: 180 kB / 234.7 MB Warning: Assuming fixed start value for the following 2 variables: medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = 300.0 unit = "K" nominal = 500.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real medium.p:VARIABLE(min = max(0.0, 2000.0) max = min(100000000.0, 1000000000.0) start = 100000.0 unit = "Pa" nominal = 100000.0 stateSelect=StateSelect.prefer ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001596/1.669, allocations: 132.1 kB / 0.8644 GB, free: 44 kB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.254e-05/1.669, allocations: 7.906 kB / 0.8644 GB, free: 36 kB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1242/1.793, allocations: 378.6 kB / 0.8647 GB, free: 59.7 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.017e-06/1.793, allocations: 4 kB / 0.8647 GB, free: 59.7 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/1.793, allocations: 1.062 kB / 0.8647 GB, free: 59.7 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.545e-06/1.793, allocations: 3.859 kB / 0.8647 GB, free: 59.7 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/1.795, allocations: 0.654 MB / 0.8654 GB, free: 59.41 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.844e-06/1.795, allocations: 1.531 kB / 0.8654 GB, free: 59.41 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003362/1.795, allocations: 48.44 kB / 0.8654 GB, free: 59.41 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001096/1.795, allocations: 23.72 kB / 0.8654 GB, free: 59.4 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/1.795, allocations: 5.547 kB / 0.8655 GB, free: 59.4 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008216/1.796, allocations: 1.209 MB / 0.8666 GB, free: 58.23 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.644e-06/1.796, allocations: 1.75 kB / 0.8666 GB, free: 58.23 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/1.798, allocations: 0.5388 MB / 0.8672 GB, free: 58.01 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.17e-05/1.798, allocations: 104.7 kB / 0.8673 GB, free: 57.91 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/1.798, allocations: 2.125 kB / 0.8673 GB, free: 57.91 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/1.798, allocations: 6.203 kB / 0.8673 GB, free: 57.91 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/1.798, allocations: 17.86 kB / 0.8673 GB, free: 57.91 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.251e-05/1.798, allocations: 11.12 kB / 0.8673 GB, free: 57.91 MB / 234.7 MB Notification: Performance of sorting global known variables: time 4.122e-05/1.799, allocations: 86 kB / 0.8674 GB, free: 57.84 MB / 234.7 MB Notification: Performance of sort global known variables: time 7.62e-07/1.799, allocations: 3.469 kB / 0.8674 GB, free: 57.84 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0008118/1.799, allocations: 174.4 kB / 0.8675 GB, free: 57.84 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001491/1.801, allocations: 0.7816 MB / 0.8683 GB, free: 57.72 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003688/1.801, allocations: 135.4 kB / 0.8684 GB, free: 57.71 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.374e-06/1.801, allocations: 0 / 0.8684 GB, free: 57.71 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000247/1.802, allocations: 180.9 kB / 0.8686 GB, free: 57.61 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/1.802, allocations: 39.14 kB / 0.8686 GB, free: 57.61 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005753/1.803, allocations: 319.1 kB / 0.869 GB, free: 57.46 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001694/1.803, allocations: 0.7155 MB / 0.8697 GB, free: 56.77 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.444e-05/1.803, allocations: 24.75 kB / 0.8697 GB, free: 56.76 MB / 234.7 MB Notification: Performance of SimCode: time 1.499e-06/1.803, allocations: 3.281 kB / 0.8697 GB, free: 56.76 MB / 234.7 MB Notification: Performance of Templates: time 0.01297/1.816, allocations: 7.659 MB / 0.8772 GB, free: 56.14 MB / 234.7 MB