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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadModel(ModelicaTest): time 2.598/2.598, allocations: 234.9 MB / 251.1 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000435/0.0004351, allocations: 8 kB / 314.9 MB, free: 9.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3412, allocations: 54.86 MB / 369.8 MB, free: 10.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.657/1.998, allocations: 0.5035 GB / 0.8646 GB, free: 125.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003301/1.998, allocations: 100.6 kB / 0.8647 GB, free: 125.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.192/3.19, allocations: 217.7 MB / 1.077 GB, free: 109.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.915e-06/3.19, allocations: 0 / 1.077 GB, free: 109.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.335e-05/3.19, allocations: 19.66 kB / 1.077 GB, free: 109.6 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.004507/3.195, allocations: 1.166 MB / 1.078 GB, free: 109 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/3.195, allocations: 10.56 kB / 1.078 GB, free: 109 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001479/3.197, allocations: 138.8 kB / 1.079 GB, free: 109 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001948/3.199, allocations: 0.5496 MB / 1.079 GB, free: 108.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001866/3.199, allocations: 109.1 kB / 1.079 GB, free: 108.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002173/3.199, allocations: 52.22 kB / 1.079 GB, free: 108.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/3.201, allocations: 0.8093 MB / 1.08 GB, free: 108.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.456e-05/3.201, allocations: 6.656 kB / 1.08 GB, free: 108.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/3.201, allocations: 24.28 kB / 1.08 GB, free: 108.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.157e-05/3.201, allocations: 38.36 kB / 1.08 GB, free: 108.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/3.203, allocations: 0.6241 MB / 1.081 GB, free: 108.4 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.006583/3.21, allocations: 3.901 MB / 1.085 GB, free: 105.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008531/3.21, allocations: 338.2 kB / 1.085 GB, free: 105.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001422/3.211, allocations: 26.84 kB / 1.085 GB, free: 105.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/3.211, allocations: 34.03 kB / 1.085 GB, free: 105.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 3.626e-06/3.211, allocations: 0 / 1.085 GB, free: 105.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.00945/3.22, allocations: 1.632 MB / 1.087 GB, free: 105.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/3.22, allocations: 139.8 kB / 1.087 GB, free: 105.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/3.221, allocations: 0.583 MB / 1.087 GB, free: 105 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001728/3.222, allocations: 35.83 kB / 1.087 GB, free: 104.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000278/3.222, allocations: 420.9 kB / 1.088 GB, free: 104.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000172/3.222, allocations: 134.9 kB / 1.088 GB, free: 104.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-05/3.222, allocations: 15 kB / 1.088 GB, free: 104.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.749e-05/3.222, allocations: 344.3 kB / 1.088 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000578/3.223, allocations: 192.4 kB / 1.088 GB, free: 104.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007835/3.224, allocations: 0.5352 MB / 1.089 GB, free: 103.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007538/3.224, allocations: 296.4 kB / 1.089 GB, free: 103.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/3.224, allocations: 3.594 kB / 1.089 GB, free: 103.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00221/3.227, allocations: 0.8502 MB / 1.09 GB, free: 103.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.369e-05/3.227, allocations: 11.62 kB / 1.09 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/3.227, allocations: 11.44 kB / 1.09 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002361/3.229, allocations: 309.6 kB / 1.09 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008168/3.23, allocations: 133.2 kB / 1.09 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/3.232, allocations: 0.8946 MB / 1.091 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/3.233, allocations: 59.5 kB / 1.091 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/3.233, allocations: 65.62 kB / 1.091 GB, free: 103.2 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.0005885/3.233, allocations: 257.3 kB / 1.092 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002033/3.234, allocations: 66 kB / 1.092 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00237/3.236, allocations: 0.66 MB / 1.092 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/3.236, allocations: 3.594 kB / 1.092 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/3.236, allocations: 0 / 1.092 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/3.236, allocations: 2.75 kB / 1.092 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003078/3.239, allocations: 1.272 MB / 1.094 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/3.239, allocations: 3.953 kB / 1.094 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001974/3.241, allocations: 208.1 kB / 1.094 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001605/3.242, allocations: 21.58 kB / 1.094 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.359e-05/3.242, allocations: 20.38 kB / 1.094 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002249/3.244, allocations: 2.692 MB / 1.097 GB, free: 99.94 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/3.244, allocations: 0 / 1.097 GB, free: 99.94 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001989/3.246, allocations: 0.7903 MB / 1.097 GB, free: 99.71 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005193/3.247, allocations: 180.9 kB / 1.097 GB, free: 99.59 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001936/3.247, allocations: 10.78 kB / 1.097 GB, free: 99.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007968/3.248, allocations: 37.83 kB / 1.098 GB, free: 99.58 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/3.248, allocations: 37.45 kB / 1.098 GB, free: 99.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/3.248, allocations: 42.61 kB / 1.098 GB, free: 99.57 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007973/3.249, allocations: 424.4 kB / 1.098 GB, free: 99.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.31e-07/3.249, allocations: 0 / 1.098 GB, free: 99.48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002279/3.251, allocations: 375.1 kB / 1.098 GB, free: 99.39 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.002761/3.254, allocations: 1.035 MB / 1.099 GB, free: 99.15 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001928/3.256, allocations: 0.5487 MB / 1.1 GB, free: 98.97 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/3.256, allocations: 6.781 kB / 1.1 GB, free: 98.97 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001616/3.257, allocations: 397.7 kB / 1.1 GB, free: 98.79 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002896/3.26, allocations: 320.6 kB / 1.101 GB, free: 98.72 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/3.272, allocations: 3.079 MB / 1.104 GB, free: 97.64 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004922/3.272, allocations: 0.9385 MB / 1.105 GB, free: 96.93 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007082/3.273, allocations: 117.2 kB / 1.105 GB, free: 96.92 MB / 490.7 MB Notification: Performance of SimCode: time 1.403e-06/3.273, allocations: 0 / 1.105 GB, free: 96.92 MB / 490.7 MB Notification: Performance of Templates: time 0.04091/3.314, allocations: 20.57 MB / 1.125 GB, free: 84.91 MB / 490.7 MB