Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_1_cpp_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.011/1.011, allocations: 111.1 MB / 126.7 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002775/0.0002777, allocations: 4 kB / 158.4 MB, free: 15.07 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05611/0.05643, allocations: 25.16 MB / 183.6 MB, free: 5.875 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.056/2.113, allocations: 0.6537 GB / 0.833 GB, free: 64.96 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/2.113, allocations: 71.05 kB / 0.833 GB, free: 64.96 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1281/2.241, allocations: 37.6 MB / 0.8697 GB, free: 41.86 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.773e-06/2.241, allocations: 0 / 0.8697 GB, free: 41.86 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.194e-05/2.241, allocations: 4 kB / 0.8697 GB, free: 41.85 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.0005793/2.242, allocations: 423.7 kB / 0.8701 GB, free: 41.39 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/2.242, allocations: 8.031 kB / 0.8702 GB, free: 41.38 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.953e-05/2.242, allocations: 42.55 kB / 0.8702 GB, free: 41.33 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.586e-05/2.242, allocations: 7.906 kB / 0.8702 GB, free: 41.32 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/2.242, allocations: 194.8 kB / 0.8704 GB, free: 41.09 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/2.242, allocations: 12.19 kB / 0.8704 GB, free: 41.08 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.259e-05/2.242, allocations: 15.94 kB / 0.8704 GB, free: 41.06 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003016/2.243, allocations: 127.1 kB / 0.8705 GB, free: 40.93 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/2.243, allocations: 0 / 0.8705 GB, free: 40.93 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/2.243, allocations: 8 kB / 0.8705 GB, free: 40.93 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/2.243, allocations: 0 / 0.8705 GB, free: 40.93 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002785/2.243, allocations: 160.5 kB / 0.8707 GB, free: 40.77 MB / 234.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.001148/2.244, allocations: 0.5995 MB / 0.8713 GB, free: 40.09 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003805/2.245, allocations: 150.6 kB / 0.8714 GB, free: 39.93 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001217/2.246, allocations: 1.042 MB / 0.8724 GB, free: 38.72 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/2.246, allocations: 38.5 kB / 0.8725 GB, free: 38.67 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 3.316e-06/2.246, allocations: 0 / 0.8725 GB, free: 38.67 MB / 234.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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.007416/2.253, allocations: 1.222 MB / 0.8737 GB, free: 37.34 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/2.254, allocations: 51.41 kB / 0.8737 GB, free: 37.27 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.729e-05/2.254, allocations: 108.8 kB / 0.8738 GB, free: 37.16 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/2.254, allocations: 33.7 kB / 0.8739 GB, free: 37.12 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.695e-05/2.254, allocations: 154.8 kB / 0.874 GB, free: 36.96 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.754e-05/2.254, allocations: 78.94 kB / 0.8741 GB, free: 36.89 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.295e-05/2.254, allocations: 0 / 0.8741 GB, free: 36.89 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 5.901e-05/2.254, allocations: 318.8 kB / 0.8744 GB, free: 36.57 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/2.254, allocations: 52.28 kB / 0.8744 GB, free: 36.52 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/2.254, allocations: 80.47 kB / 0.8745 GB, free: 36.43 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/2.254, allocations: 67.06 kB / 0.8746 GB, free: 36.36 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/2.254, allocations: 4 kB / 0.8746 GB, free: 36.36 MB / 234.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005719/2.255, allocations: 198.3 kB / 0.8748 GB, free: 36.16 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/2.255, allocations: 4 kB / 0.8748 GB, free: 36.15 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/2.255, allocations: 4 kB / 0.8748 GB, free: 36.15 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001643/2.255, allocations: 24.84 kB / 0.8748 GB, free: 36.12 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003707/2.255, allocations: 47.91 kB / 0.8748 GB, free: 36.07 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003259/2.256, allocations: 0.5368 MB / 0.8754 GB, free: 35.51 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/2.256, allocations: 11.94 kB / 0.8754 GB, free: 35.5 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/2.256, allocations: 7.984 kB / 0.8754 GB, free: 35.49 MB / 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" fixed = true 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" fixed = true 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 () * Number of clocked 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.0002341/2.256, allocations: 148.8 kB / 0.8755 GB, free: 35.34 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.903e-05/2.256, allocations: 11.91 kB / 0.8755 GB, free: 35.33 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006398/2.257, allocations: 239.2 kB / 0.8758 GB, free: 35.09 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/2.257, allocations: 4 kB / 0.8758 GB, free: 35.08 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/2.257, allocations: 0 / 0.8758 GB, free: 35.08 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/2.257, allocations: 0 / 0.8758 GB, free: 35.08 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009017/2.258, allocations: 0.5368 MB / 0.8763 GB, free: 34.48 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/2.258, allocations: 4 kB / 0.8763 GB, free: 34.47 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003701/2.258, allocations: 43.92 kB / 0.8763 GB, free: 34.43 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001069/2.258, allocations: 24.78 kB / 0.8764 GB, free: 34.4 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/2.259, allocations: 11.92 kB / 0.8764 GB, free: 34.39 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000863/2.259, allocations: 1.28 MB / 0.8776 GB, free: 32.98 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/2.259, allocations: 0 / 0.8776 GB, free: 32.98 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005941/2.26, allocations: 392 kB / 0.878 GB, free: 32.55 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.487e-05/2.26, allocations: 105 kB / 0.8781 GB, free: 32.43 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/2.26, allocations: 4 kB / 0.8781 GB, free: 32.42 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/2.26, allocations: 11.94 kB / 0.8781 GB, free: 32.41 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.313e-05/2.26, allocations: 23.98 kB / 0.8781 GB, free: 32.39 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/2.26, allocations: 8 kB / 0.8782 GB, free: 32.38 MB / 234.7 MB Notification: Performance of sorting global known variables: time 4.671e-05/2.261, allocations: 91.58 kB / 0.8782 GB, free: 32.29 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.81e-07/2.261, allocations: 0 / 0.8782 GB, free: 32.29 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0009234/2.261, allocations: 187.8 kB / 0.8784 GB, free: 32.11 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 () * Number of clocked 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.002378/2.264, allocations: 1.719 MB / 0.8801 GB, free: 30.34 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0004805/2.264, allocations: 143.9 kB / 0.8802 GB, free: 30.2 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/2.264, allocations: 0 / 0.8802 GB, free: 30.2 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000298/2.265, allocations: 195 kB / 0.8804 GB, free: 29.99 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005432/2.265, allocations: 48.28 kB / 0.8805 GB, free: 29.95 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/2.267, allocations: 1.545 MB / 0.882 GB, free: 28.33 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001794/2.268, allocations: 0.7127 MB / 0.8827 GB, free: 27.59 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/2.268, allocations: 43.42 kB / 0.8827 GB, free: 27.55 MB / 234.7 MB Notification: Performance of SimCode: time 1.012e-06/2.268, allocations: 0 / 0.8827 GB, free: 27.55 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.097/5.364, allocations: 8.165 MB / 0.8907 GB, free: 19.38 MB / 234.7 MB