Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.977/1.977, allocations: 209.2 MB / 224.8 MB, free: 0.6055 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004566/0.0004566, allocations: 8 kB / 282.7 MB, free: 9.539 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.414, allocations: 48.7 MB / 331.4 MB, free: 6.395 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.675/2.089, allocations: 0.4969 GB / 0.8205 GB, free: 120.2 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/2.089, allocations: 95.33 kB / 0.8206 GB, free: 120.2 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.053/3.142, allocations: 219 MB / 1.034 GB, free: 89.53 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.877e-06/3.142, allocations: 3.688 kB / 1.034 GB, free: 89.53 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.699e-05/3.142, allocations: 19.91 kB / 1.034 GB, free: 89.52 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.004405/3.147, allocations: 1.184 MB / 1.036 GB, free: 88.86 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/3.147, allocations: 7.875 kB / 1.036 GB, free: 88.86 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003199/3.147, allocations: 101 kB / 1.036 GB, free: 88.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001286/3.148, allocations: 147.8 kB / 1.036 GB, free: 88.78 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001695/3.15, allocations: 0.5462 MB / 1.036 GB, free: 88.51 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/3.15, allocations: 108.4 kB / 1.037 GB, free: 88.45 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/3.15, allocations: 45.12 kB / 1.037 GB, free: 88.45 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/3.152, allocations: 0.8139 MB / 1.037 GB, free: 88.21 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.182e-05/3.152, allocations: 0 / 1.037 GB, free: 88.21 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/3.152, allocations: 22.28 kB / 1.037 GB, free: 88.21 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.917e-05/3.152, allocations: 39.53 kB / 1.037 GB, free: 88.21 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001604/3.154, allocations: 0.616 MB / 1.038 GB, free: 88.21 MB / 442.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.006247/3.16, allocations: 3.904 MB / 1.042 GB, free: 85.62 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00082/3.161, allocations: 329 kB / 1.042 GB, free: 85.59 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001307/3.161, allocations: 31.36 kB / 1.042 GB, free: 85.59 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/3.161, allocations: 34.66 kB / 1.042 GB, free: 85.55 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 2.585e-06/3.161, allocations: 0 / 1.042 GB, free: 85.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.008903/3.17, allocations: 1.626 MB / 1.044 GB, free: 85.05 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/3.17, allocations: 136.4 kB / 1.044 GB, free: 84.9 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009144/3.171, allocations: 0.5265 MB / 1.044 GB, free: 84.77 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.586e-05/3.171, allocations: 37.67 kB / 1.044 GB, free: 84.73 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002561/3.172, allocations: 409.2 kB / 1.045 GB, free: 84.46 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001512/3.172, allocations: 141.6 kB / 1.045 GB, free: 84.38 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-05/3.172, allocations: 11.19 kB / 1.045 GB, free: 84.38 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/3.172, allocations: 347.9 kB / 1.045 GB, free: 84.06 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005465/3.173, allocations: 195.2 kB / 1.046 GB, free: 84.06 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007111/3.173, allocations: 0.5361 MB / 1.046 GB, free: 83.64 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007055/3.174, allocations: 295.3 kB / 1.046 GB, free: 83.63 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/3.174, allocations: 3.938 kB / 1.046 GB, free: 83.63 MB / 442.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002116/3.176, allocations: 0.8479 MB / 1.047 GB, free: 83.46 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/3.176, allocations: 12.22 kB / 1.047 GB, free: 83.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/3.176, allocations: 10.12 kB / 1.047 GB, free: 83.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00223/3.179, allocations: 304 kB / 1.047 GB, free: 83.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008024/3.179, allocations: 135.9 kB / 1.048 GB, free: 83.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001478/3.181, allocations: 0.9051 MB / 1.048 GB, free: 82.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/3.182, allocations: 53.44 kB / 1.049 GB, free: 82.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/3.182, allocations: 65.17 kB / 1.049 GB, free: 82.72 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0005265/3.183, allocations: 249.3 kB / 1.049 GB, free: 82.54 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/3.183, allocations: 63 kB / 1.049 GB, free: 82.51 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002255/3.185, allocations: 0.67 MB / 1.05 GB, free: 82.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/3.185, allocations: 6.75 kB / 1.05 GB, free: 82.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/3.185, allocations: 0 / 1.05 GB, free: 82.25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/3.185, allocations: 3.891 kB / 1.05 GB, free: 82.25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002699/3.188, allocations: 1.259 MB / 1.051 GB, free: 81.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/3.188, allocations: 3.969 kB / 1.051 GB, free: 81.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00188/3.19, allocations: 209.6 kB / 1.051 GB, free: 81.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001344/3.19, allocations: 26.84 kB / 1.051 GB, free: 81.47 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.764e-05/3.19, allocations: 26.36 kB / 1.051 GB, free: 81.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002205/3.192, allocations: 2.688 MB / 1.054 GB, free: 78.76 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/3.192, allocations: 3.875 kB / 1.054 GB, free: 78.76 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/3.194, allocations: 0.8543 MB / 1.055 GB, free: 78.25 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004352/3.195, allocations: 185 kB / 1.055 GB, free: 78.09 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001574/3.195, allocations: 8.75 kB / 1.055 GB, free: 78.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007872/3.196, allocations: 34.56 kB / 1.055 GB, free: 78.08 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/3.196, allocations: 36.12 kB / 1.055 GB, free: 78.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.526e-05/3.196, allocations: 48.73 kB / 1.055 GB, free: 78.07 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007478/3.197, allocations: 411.5 kB / 1.055 GB, free: 77.88 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.71e-07/3.197, allocations: 0 / 1.055 GB, free: 77.88 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002067/3.199, allocations: 378.9 kB / 1.056 GB, free: 77.79 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (volume.medium.p,volume.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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.004542/3.203, allocations: 2.663 MB / 1.058 GB, free: 76.26 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001823/3.205, allocations: 0.5489 MB / 1.059 GB, free: 76.08 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/3.205, allocations: 0 / 1.059 GB, free: 76.08 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001422/3.207, allocations: 398.6 kB / 1.059 GB, free: 75.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002586/3.209, allocations: 307.1 kB / 1.059 GB, free: 75.84 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01812/3.227, allocations: 12.95 MB / 1.072 GB, free: 66.07 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005025/3.228, allocations: 0.9342 MB / 1.073 GB, free: 65.27 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008682/3.229, allocations: 283.5 kB / 1.073 GB, free: 65.09 MB / 442.7 MB Notification: Performance of SimCode: time 1.002e-06/3.229, allocations: 2.25 kB / 1.073 GB, free: 65.09 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.348/6.577, allocations: 23.63 MB / 1.096 GB, free: 46.66 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat does not exist to compare? outputFormat=mat