Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.269/2.269, allocations: 234.9 MB / 250.5 MB, free: 10.52 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004559/0.0004559, allocations: 12 kB / 314.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3746, allocations: 54.86 MB / 369.4 MB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.798/2.173, allocations: 0.5035 GB / 0.8642 GB, free: 125.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000341/2.173, allocations: 93.66 kB / 0.8643 GB, free: 125.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.166/3.339, allocations: 217.7 MB / 1.077 GB, free: 110.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.665e-06/3.339, allocations: 0 / 1.077 GB, free: 110.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.719e-05/3.339, allocations: 22.09 kB / 1.077 GB, free: 110.2 MB / 490.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.004185/3.343, allocations: 1.177 MB / 1.078 GB, free: 109.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/3.343, allocations: 14.72 kB / 1.078 GB, free: 109.6 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003081/3.344, allocations: 102.9 kB / 1.078 GB, free: 109.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/3.345, allocations: 137 kB / 1.078 GB, free: 109.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001815/3.347, allocations: 0.5462 MB / 1.079 GB, free: 109.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/3.347, allocations: 105 kB / 1.079 GB, free: 109.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/3.347, allocations: 56.34 kB / 1.079 GB, free: 109.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/3.349, allocations: 0.8007 MB / 1.08 GB, free: 109 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.341e-05/3.349, allocations: 2.625 kB / 1.08 GB, free: 109 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/3.349, allocations: 24.75 kB / 1.08 GB, free: 109 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.054e-05/3.349, allocations: 44.25 kB / 1.08 GB, free: 109 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/3.351, allocations: 0.6124 MB / 1.08 GB, free: 108.9 MB / 490.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.006581/3.358, allocations: 3.918 MB / 1.084 GB, free: 106.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008991/3.359, allocations: 332.7 kB / 1.085 GB, free: 106.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000145/3.359, allocations: 26.12 kB / 1.085 GB, free: 106.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/3.359, allocations: 38.31 kB / 1.085 GB, free: 106.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 3.727e-06/3.359, allocations: 0 / 1.085 GB, free: 106.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.009336/3.368, allocations: 1.624 MB / 1.086 GB, free: 105.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.728e-05/3.368, allocations: 131.8 kB / 1.086 GB, free: 105.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009063/3.369, allocations: 0.5266 MB / 1.087 GB, free: 105.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.543e-05/3.369, allocations: 38.17 kB / 1.087 GB, free: 105.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002642/3.37, allocations: 410 kB / 1.087 GB, free: 105.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/3.37, allocations: 141.2 kB / 1.087 GB, free: 105.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.538e-05/3.37, allocations: 10.5 kB / 1.087 GB, free: 105.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.211e-05/3.37, allocations: 340.5 kB / 1.088 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005755/3.37, allocations: 203.6 kB / 1.088 GB, free: 104.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007325/3.371, allocations: 0.5277 MB / 1.088 GB, free: 104.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007234/3.372, allocations: 298 kB / 1.089 GB, free: 104.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/3.372, allocations: 7.312 kB / 1.089 GB, free: 104.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002114/3.374, allocations: 0.8457 MB / 1.09 GB, free: 104.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.066e-05/3.374, allocations: 12.75 kB / 1.09 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/3.374, allocations: 11.47 kB / 1.09 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002322/3.377, allocations: 304.1 kB / 1.09 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008072/3.377, allocations: 130.2 kB / 1.09 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/3.379, allocations: 0.9025 MB / 1.091 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/3.38, allocations: 55.09 kB / 1.091 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/3.38, allocations: 69.2 kB / 1.091 GB, free: 103.8 MB / 490.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.0005705/3.381, allocations: 255.1 kB / 1.091 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001702/3.381, allocations: 67.81 kB / 1.091 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002322/3.383, allocations: 0.6657 MB / 1.092 GB, free: 103.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/3.383, allocations: 3.906 kB / 1.092 GB, free: 103.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/3.383, allocations: 3.188 kB / 1.092 GB, free: 103.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/3.383, allocations: 3.562 kB / 1.092 GB, free: 103.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002809/3.386, allocations: 1.259 MB / 1.093 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.403e-06/3.386, allocations: 3.953 kB / 1.093 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001912/3.388, allocations: 207.5 kB / 1.093 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001437/3.388, allocations: 30.81 kB / 1.093 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.14e-05/3.388, allocations: 21.97 kB / 1.093 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002252/3.391, allocations: 2.694 MB / 1.096 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/3.391, allocations: 0 / 1.096 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001922/3.393, allocations: 0.8477 MB / 1.097 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003934/3.393, allocations: 172.2 kB / 1.097 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/3.393, allocations: 13.88 kB / 1.097 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007097/3.394, allocations: 36.5 kB / 1.097 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/3.394, allocations: 33.78 kB / 1.097 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.195e-05/3.394, allocations: 47.78 kB / 1.097 GB, free: 100 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007592/3.395, allocations: 414.5 kB / 1.098 GB, free: 99.92 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.7e-07/3.395, allocations: 0 / 1.098 GB, free: 99.92 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001913/3.397, allocations: 383.6 kB / 1.098 GB, free: 99.83 MB / 490.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.004491/3.402, allocations: 2.669 MB / 1.101 GB, free: 98.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001863/3.403, allocations: 0.5494 MB / 1.101 GB, free: 98.12 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/3.403, allocations: 0 / 1.101 GB, free: 98.12 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001406/3.405, allocations: 389.5 kB / 1.102 GB, free: 97.95 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002699/3.408, allocations: 316.3 kB / 1.102 GB, free: 97.88 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01907/3.427, allocations: 12.95 MB / 1.114 GB, free: 88.11 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005126/3.427, allocations: 0.9414 MB / 1.115 GB, free: 87.39 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009379/3.428, allocations: 278.5 kB / 1.116 GB, free: 87.24 MB / 490.7 MB Notification: Performance of SimCode: time 1.573e-06/3.428, allocations: 0 / 1.116 GB, free: 87.24 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.394/6.822, allocations: 23.59 MB / 1.139 GB, free: 69.75 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat does not exist to compare? outputFormat=mat