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.Air.MoistAir.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadModel(ModelicaTest): time 1.962/1.962, allocations: 209.4 MB / 217.3 MB, free: 4.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.592e-05/1.603e-05, allocations: 0 / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.267, allocations: 48.68 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.623/8.89, allocations: 3.66 GB / 3.973 GB, free: 93.04 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/8.89, allocations: 87.94 kB / 3.973 GB, free: 92.95 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894/10.78, allocations: 424.6 MB / 4.387 GB, free: 4.305 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.339e-06/10.78, allocations: 0 / 4.387 GB, free: 4.305 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.062e-05/10.78, allocations: 20 kB / 4.387 GB, free: 4.285 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.008229/10.79, allocations: 2.338 MB / 4.39 GB, free: 1.895 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/10.79, allocations: 12.03 kB / 4.39 GB, free: 1.883 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007086/10.79, allocations: 103 kB / 4.39 GB, free: 1.781 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001807/10.8, allocations: 0.6369 MB / 4.39 GB, free: 1.102 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/10.8, allocations: 93.39 kB / 4.39 GB, free: 0.9961 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/10.8, allocations: 43.98 kB / 4.39 GB, free: 0.9531 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3444/11.14, allocations: 1.031 MB / 4.391 GB, free: 47.37 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002622/11.14, allocations: 1.029 MB / 4.392 GB, free: 47.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.757e-05/11.14, allocations: 3.906 kB / 4.392 GB, free: 47.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/11.14, allocations: 2.688 kB / 4.392 GB, free: 47.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001105/11.14, allocations: 53.77 kB / 4.393 GB, free: 47.2 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007969/11.15, allocations: 4.742 MB / 4.397 GB, free: 44.75 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/11.15, allocations: 0.6354 MB / 4.398 GB, free: 44.73 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006508/11.15, allocations: 338.7 kB / 4.398 GB, free: 44.72 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008985/11.15, allocations: 1.067 MB / 4.399 GB, free: 43.59 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/11.15, allocations: 38.66 kB / 4.399 GB, free: 43.55 MB / 442.7 MB Notification: Performance of pre-optimization done (n=63): time 4.368e-06/11.15, allocations: 1.344 kB / 4.399 GB, free: 43.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=75): time 0.01732/11.17, allocations: 3.727 MB / 4.403 GB, free: 43.14 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/11.17, allocations: 110.7 kB / 4.403 GB, free: 43.01 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007294/11.17, allocations: 485.6 kB / 4.403 GB, free: 42.89 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000106/11.17, allocations: 27.42 kB / 4.403 GB, free: 42.86 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/11.17, allocations: 464.2 kB / 4.404 GB, free: 42.59 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002292/11.17, allocations: 264.9 kB / 4.404 GB, free: 42.46 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.61e-05/11.17, allocations: 0 / 4.404 GB, free: 42.46 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.918e-05/11.17, allocations: 352 kB / 4.404 GB, free: 42.14 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007855/11.17, allocations: 407 kB / 4.405 GB, free: 42.14 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009493/11.18, allocations: 0.7014 MB / 4.406 GB, free: 41.78 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002766/11.18, allocations: 0.7174 MB / 4.406 GB, free: 41.77 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.225e-05/11.18, allocations: 0.5625 kB / 4.406 GB, free: 41.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.004971/11.18, allocations: 1.591 MB / 4.408 GB, free: 41.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/11.18, allocations: 11.53 kB / 4.408 GB, free: 41.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/11.18, allocations: 8.906 kB / 4.408 GB, free: 41.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006293/11.19, allocations: 1.045 MB / 4.409 GB, free: 41.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009414/11.19, allocations: 169.2 kB / 4.409 GB, free: 41.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002851/11.19, allocations: 1.475 MB / 4.41 GB, free: 41.15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/11.2, allocations: 76.95 kB / 4.41 GB, free: 41.15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001927/11.2, allocations: 65.81 kB / 4.411 GB, free: 41.15 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (95): * Single equations (assignments): 94 * 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 {3 32} Notification: Performance of prepare postOptimizeDAE: time 0.0003489/11.2, allocations: 137.5 kB / 4.411 GB, free: 41.04 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002158/11.2, allocations: 78.53 kB / 4.411 GB, free: 41 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004585/11.2, allocations: 1.419 MB / 4.412 GB, free: 40.89 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/11.2, allocations: 15.16 kB / 4.412 GB, free: 40.89 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.741e-06/11.2, allocations: 0 / 4.412 GB, free: 40.89 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.644e-05/11.2, allocations: 6.297 kB / 4.412 GB, free: 40.89 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006519/11.21, allocations: 2.679 MB / 4.415 GB, free: 40.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/11.21, allocations: 0 / 4.415 GB, free: 40.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001729/11.21, allocations: 255.6 kB / 4.415 GB, free: 40.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001742/11.21, allocations: 304.4 kB / 4.415 GB, free: 40.21 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001692/11.21, allocations: 23.59 kB / 4.415 GB, free: 40.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001914/11.21, allocations: 2.144 MB / 4.417 GB, free: 38.43 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.965e-06/11.21, allocations: 1.406 kB / 4.417 GB, free: 38.43 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006778/11.22, allocations: 2.304 MB / 4.42 GB, free: 37.97 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007131/11.22, allocations: 272.8 kB / 4.42 GB, free: 37.83 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001927/11.22, allocations: 14.28 kB / 4.42 GB, free: 37.83 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/11.22, allocations: 51.83 kB / 4.42 GB, free: 37.83 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/11.22, allocations: 64.62 kB / 4.42 GB, free: 37.83 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001365/11.22, allocations: 47.09 kB / 4.42 GB, free: 37.83 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005589/11.22, allocations: 368.8 kB / 4.42 GB, free: 37.75 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.63e-07/11.22, allocations: 0 / 4.42 GB, free: 37.75 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003346/11.23, allocations: 0.773 MB / 4.421 GB, free: 37.75 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004247/11.23, allocations: 1.776 MB / 4.423 GB, free: 37.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002483/11.23, allocations: 1.043 MB / 4.424 GB, free: 37.53 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.341e-06/11.23, allocations: 0 / 4.424 GB, free: 37.53 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001764/11.23, allocations: 0.5834 MB / 4.425 GB, free: 37.53 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002287/11.24, allocations: 352.4 kB / 4.425 GB, free: 37.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004724/11.24, allocations: 1.697 MB / 4.427 GB, free: 37.18 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006485/11.24, allocations: 1.054 MB / 4.428 GB, free: 36.47 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005695/11.24, allocations: 104.8 kB / 4.428 GB, free: 36.46 MB / 442.7 MB Notification: Performance of SimCode: time 1.937e-06/11.24, allocations: 0 / 4.428 GB, free: 36.46 MB / 442.7 MB Notification: Performance of Templates: time 0.04696/11.29, allocations: 30.2 MB / 4.457 GB, free: 35.14 MB / 442.7 MB