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.292/2.292, allocations: 235 MB / 248.1 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.161e-05/4.179e-05, allocations: 7.984 kB / 309.8 MB, free: 1.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3925/0.3925, allocations: 54.85 MB / 364.6 MB, free: 5.539 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.374/1.767, allocations: 0.5034 GB / 0.8595 GB, free: 39.18 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004538/1.767, allocations: 94.86 kB / 0.8596 GB, free: 39.14 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.079/2.846, allocations: 217.2 MB / 1.072 GB, free: 28.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.803e-06/2.846, allocations: 0 / 1.072 GB, free: 28.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.223e-05/2.846, allocations: 16 kB / 1.072 GB, free: 28.09 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.004118/2.85, allocations: 1.108 MB / 1.073 GB, free: 26.93 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/2.85, allocations: 16.03 kB / 1.073 GB, free: 26.92 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002216/2.851, allocations: 94.5 kB / 1.073 GB, free: 26.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001728/2.852, allocations: 131 kB / 1.073 GB, free: 26.69 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002014/2.854, allocations: 0.5521 MB / 1.074 GB, free: 26.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001556/2.855, allocations: 104.4 kB / 1.074 GB, free: 25.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001945/2.855, allocations: 51.89 kB / 1.074 GB, free: 25.93 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002434/2.857, allocations: 0.7872 MB / 1.074 GB, free: 25.06 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.029e-05/2.857, allocations: 7.938 kB / 1.074 GB, free: 25.05 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001563/2.858, allocations: 27.95 kB / 1.075 GB, free: 25.03 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001046/2.858, allocations: 36.98 kB / 1.075 GB, free: 24.99 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001867/2.86, allocations: 0.5972 MB / 1.075 GB, free: 24.39 MB / 490.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.005975/2.866, allocations: 3.916 MB / 1.079 GB, free: 20.23 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007597/2.866, allocations: 319.4 kB / 1.079 GB, free: 19.91 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000372/2.867, allocations: 161.4 kB / 1.079 GB, free: 19.75 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000128/2.867, allocations: 29.27 kB / 1.079 GB, free: 19.72 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/2.867, allocations: 46.78 kB / 1.079 GB, free: 19.66 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 3.146e-06/2.867, allocations: 0 / 1.079 GB, free: 19.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.0084/2.875, allocations: 1.497 MB / 1.081 GB, free: 18.09 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/2.875, allocations: 140.5 kB / 1.081 GB, free: 17.92 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008829/2.876, allocations: 0.5227 MB / 1.082 GB, free: 17.39 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.611e-05/2.876, allocations: 33.7 kB / 1.082 GB, free: 17.36 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002388/2.877, allocations: 405.2 kB / 1.082 GB, free: 16.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/2.877, allocations: 142 kB / 1.082 GB, free: 16.82 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-05/2.877, allocations: 16 kB / 1.082 GB, free: 16.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.237e-05/2.877, allocations: 342.8 kB / 1.082 GB, free: 16.46 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004951/2.878, allocations: 185.5 kB / 1.083 GB, free: 16.27 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006484/2.878, allocations: 0.5293 MB / 1.083 GB, free: 15.58 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006591/2.879, allocations: 303.3 kB / 1.083 GB, free: 15.29 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/2.879, allocations: 4 kB / 1.083 GB, free: 15.28 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001984/2.881, allocations: 0.8301 MB / 1.084 GB, free: 14.44 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/2.881, allocations: 13.25 kB / 1.084 GB, free: 14.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/2.881, allocations: 15.98 kB / 1.084 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002113/2.883, allocations: 292.7 kB / 1.085 GB, free: 14.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008033/2.884, allocations: 131.8 kB / 1.085 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/2.885, allocations: 0.8967 MB / 1.086 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/2.886, allocations: 51.95 kB / 1.086 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/2.886, allocations: 71.98 kB / 1.086 GB, free: 12.95 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 () * 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.0002247/2.887, allocations: 152.7 kB / 1.086 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/2.887, allocations: 67.2 kB / 1.086 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002148/2.889, allocations: 0.6548 MB / 1.087 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/2.889, allocations: 4 kB / 1.087 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/2.889, allocations: 0 / 1.087 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/2.889, allocations: 7.969 kB / 1.087 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002509/2.892, allocations: 1.25 MB / 1.088 GB, free: 10.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/2.892, allocations: 0 / 1.088 GB, free: 10.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001919/2.894, allocations: 207.8 kB / 1.088 GB, free: 10.49 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001332/2.894, allocations: 32.95 kB / 1.088 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.872e-05/2.894, allocations: 16 kB / 1.088 GB, free: 10.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002016/2.896, allocations: 2.68 MB / 1.091 GB, free: 7.496 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/2.896, allocations: 12.22 kB / 1.091 GB, free: 7.484 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/2.898, allocations: 0.8286 MB / 1.091 GB, free: 6.59 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004009/2.898, allocations: 184.3 kB / 1.092 GB, free: 6.391 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/2.898, allocations: 12 kB / 1.092 GB, free: 6.379 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007312/2.899, allocations: 28.05 kB / 1.092 GB, free: 6.352 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/2.899, allocations: 39.89 kB / 1.092 GB, free: 6.312 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/2.899, allocations: 39.98 kB / 1.092 GB, free: 6.273 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007014/2.9, allocations: 411.2 kB / 1.092 GB, free: 5.879 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.433e-06/2.9, allocations: 0 / 1.092 GB, free: 5.879 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001838/2.902, allocations: 383.7 kB / 1.093 GB, free: 5.504 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 () * 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.004323/2.906, allocations: 2.66 MB / 1.095 GB, free: 2.785 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001771/2.908, allocations: 0.5358 MB / 1.096 GB, free: 2.25 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/2.908, allocations: 0 / 1.096 GB, free: 2.25 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001385/2.909, allocations: 390.5 kB / 1.096 GB, free: 1.855 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002577/2.912, allocations: 326 kB / 1.096 GB, free: 1.543 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3406/3.253, allocations: 2.634 MB / 1.099 GB, free: 92.96 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000562/3.253, allocations: 0.9456 MB / 1.1 GB, free: 92.27 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009249/3.254, allocations: 280.7 kB / 1.1 GB, free: 92.26 MB / 490.7 MB Notification: Performance of SimCode: time 2.474e-06/3.254, allocations: 0 / 1.1 GB, free: 92.26 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.285/6.54, allocations: 23.46 MB / 1.123 GB, free: 91.87 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