Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadModel(ModelicaTest): time 1.82/1.82, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004285/0.0004287, allocations: 12 kB / 282.5 MB, free: 9.617 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2755, allocations: 48.71 MB / 331.2 MB, free: 6.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2059/0.4814, allocations: 141.7 MB / 472.9 MB, free: 448 kB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.2985/0.78, allocations: 8.685 MB / 481.6 MB, free: 2.922 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009864/0.7811, allocations: 25.41 kB / 481.7 MB, free: 2.922 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009241/0.782, allocations: 268.9 kB / 481.9 MB, free: 2.922 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004323/0.7863, allocations: 1.191 MB / 483.1 MB, free: 2.891 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003378/0.7897, allocations: 0.902 MB / 484 MB, free: 2.863 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00217/0.7919, allocations: 1.168 MB / 485.2 MB, free: 2.859 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007264/0.7927, allocations: 387.8 kB / 485.6 MB, free: 2.824 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002042/0.7947, allocations: 0.7412 MB / 486.3 MB, free: 2.82 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009643/0.7957, allocations: 456.9 kB / 486.7 MB, free: 2.816 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001385/0.7959, allocations: 34.38 kB / 486.8 MB, free: 2.816 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002755/0.7987, allocations: 0.6359 MB / 487.4 MB, free: 2.816 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006717/0.7994, allocations: 208.5 kB / 487.6 MB, free: 2.816 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005714/0.8, allocations: 165.9 kB / 487.8 MB, free: 2.785 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002963/0.803, allocations: 0.9857 MB / 488.8 MB, free: 2.715 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.142e-06/0.803, allocations: 0 / 488.8 MB, free: 2.715 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.002e-06/0.803, allocations: 0 / 488.8 MB, free: 2.715 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.736e-05/0.8031, allocations: 1 kB / 488.8 MB, free: 2.715 MB / 394.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.004563/0.8076, allocations: 0.9909 MB / 489.8 MB, free: 18.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/0.8077, allocations: 9.219 kB / 489.8 MB, free: 18.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002115/0.8099, allocations: 133.2 kB / 489.9 MB, free: 18.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00197/0.8119, allocations: 0.4883 MB / 490.4 MB, free: 17.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002315/0.8121, allocations: 99.78 kB / 490.5 MB, free: 17.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002427/0.8124, allocations: 53.11 kB / 490.5 MB, free: 17.76 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002862/0.8153, allocations: 0.8154 MB / 491.3 MB, free: 17.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.318e-05/0.8154, allocations: 0 / 491.3 MB, free: 17.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001943/0.8156, allocations: 29.58 kB / 491.4 MB, free: 17.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001178/0.8157, allocations: 35.05 kB / 491.4 MB, free: 17.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002636/0.8184, allocations: 0.6318 MB / 492 MB, free: 17.52 MB / 410.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.00999/0.8284, allocations: 3.924 MB / 496 MB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/0.8298, allocations: 339.7 kB / 496.3 MB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001502/0.8299, allocations: 32.78 kB / 496.3 MB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.722e-05/0.83, allocations: 40.66 kB / 496.4 MB, free: 14.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 6.427e-06/0.8301, allocations: 0 / 496.4 MB, free: 14.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.01165/0.8417, allocations: 1.639 MB / 498 MB, free: 14.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001518/0.8419, allocations: 133.9 kB / 498.1 MB, free: 14.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001597/0.8435, allocations: 0.596 MB / 498.7 MB, free: 14.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001211/0.8437, allocations: 35.27 kB / 498.8 MB, free: 13.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004572/0.8442, allocations: 418.5 kB / 499.2 MB, free: 13.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/0.8444, allocations: 145 kB / 499.3 MB, free: 13.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.159e-05/0.8445, allocations: 16.97 kB / 499.3 MB, free: 13.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002821/0.8448, allocations: 341.7 kB / 499.7 MB, free: 13.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008827/0.8457, allocations: 201.3 kB / 499.9 MB, free: 13.31 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/0.8469, allocations: 0.5364 MB / 0.4887 GB, free: 12.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.8481, allocations: 296.6 kB / 0.489 GB, free: 12.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.388e-05/0.8481, allocations: 6.844 kB / 0.489 GB, free: 12.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003564/0.8517, allocations: 0.8474 MB / 0.4898 GB, free: 12.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.054e-05/0.8518, allocations: 13.28 kB / 0.4898 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.229e-05/0.8518, allocations: 10.84 kB / 0.4898 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00294/0.8548, allocations: 307.5 kB / 0.4901 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009761/0.8558, allocations: 132.1 kB / 0.4902 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002439/0.8583, allocations: 0.9086 MB / 0.4911 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.8598, allocations: 41.16 kB / 0.4912 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002146/0.8601, allocations: 71.72 kB / 0.4912 GB, free: 12.25 MB / 410.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.0008061/0.8609, allocations: 250.2 kB / 0.4915 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002936/0.8612, allocations: 73.33 kB / 0.4915 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003708/0.865, allocations: 0.6725 MB / 0.4922 GB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.865, allocations: 3.219 kB / 0.4922 GB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.865, allocations: 0 / 0.4922 GB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.8651, allocations: 3.094 kB / 0.4922 GB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004281/0.8694, allocations: 1.261 MB / 0.4934 GB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-06/0.8694, allocations: 3.219 kB / 0.4934 GB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002533/0.872, allocations: 211.9 kB / 0.4936 GB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001991/0.8722, allocations: 29.5 kB / 0.4937 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.8723, allocations: 20.31 kB / 0.4937 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004557/0.8769, allocations: 2.688 MB / 0.4963 GB, free: 8.918 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.8769, allocations: 1.844 kB / 0.4963 GB, free: 8.918 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003006/0.88, allocations: 0.8035 MB / 0.4971 GB, free: 8.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006876/0.8807, allocations: 179.7 kB / 0.4973 GB, free: 8.555 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002545/0.881, allocations: 7.906 kB / 0.4973 GB, free: 8.555 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/0.8822, allocations: 31.73 kB / 0.4973 GB, free: 8.551 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/0.8824, allocations: 38.48 kB / 0.4973 GB, free: 8.551 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001808/0.8826, allocations: 38.84 kB / 0.4974 GB, free: 8.551 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001373/0.884, allocations: 415.5 kB / 0.4978 GB, free: 8.457 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.073e-06/0.8841, allocations: 4 kB / 0.4978 GB, free: 8.453 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002972/0.8871, allocations: 296.9 kB / 0.4981 GB, free: 8.434 MB / 410.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.002222/0.8893, allocations: 376.5 kB / 0.4984 GB, free: 8.297 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00293/0.8923, allocations: 0.5396 MB / 0.4989 GB, free: 8.285 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.151e-05/0.8923, allocations: 6.375 kB / 0.499 GB, free: 8.281 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002451/0.8948, allocations: 408.5 kB / 0.4993 GB, free: 8.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001775/0.8966, allocations: 317.6 kB / 0.4996 GB, free: 8.133 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002842/0.8995, allocations: 1.599 MB / 0.5012 GB, free: 7.336 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006843/0.9002, allocations: 0.9474 MB / 0.5021 GB, free: 6.625 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005516/0.9007, allocations: 111.6 kB / 0.5022 GB, free: 6.605 MB / 410.7 MB Notification: Performance of SimCode: time 2.691e-06/0.9008, allocations: 0 / 0.5022 GB, free: 6.605 MB / 410.7 MB Notification: Performance of Templates: time 0.03032/0.9311, allocations: 16.64 MB / 0.5185 GB, free: 13.52 MB / 426.7 MB