Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadModel(ModelicaTest): time 2.227/2.227, allocations: 235 MB / 248.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.959e-05/2.981e-05, allocations: 4 kB / 309.7 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3886, allocations: 54.86 MB / 364.6 MB, free: 5.551 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.455/8.844, allocations: 3.667 GB / 4.023 GB, free: 168.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/8.844, allocations: 90.11 kB / 4.024 GB, free: 168.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.05/10.89, allocations: 431.8 MB / 4.445 GB, free: 60.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.162e-06/10.89, allocations: 0 / 4.445 GB, free: 60.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.951e-05/10.89, allocations: 23.02 kB / 4.445 GB, free: 60.4 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.007291/10.9, allocations: 2.345 MB / 4.448 GB, free: 59.32 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/10.9, allocations: 9.531 kB / 4.448 GB, free: 59.32 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005727/10.9, allocations: 108 kB / 4.448 GB, free: 59.27 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/10.9, allocations: 0.637 MB / 4.448 GB, free: 59.04 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/10.9, allocations: 121.3 kB / 4.448 GB, free: 58.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/10.9, allocations: 73.47 kB / 4.448 GB, free: 58.97 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002273/10.91, allocations: 1.126 MB / 4.45 GB, free: 58.79 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.052e-05/10.91, allocations: 7 kB / 4.45 GB, free: 58.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001461/10.91, allocations: 32.11 kB / 4.45 GB, free: 58.79 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.407e-05/10.91, allocations: 60.84 kB / 4.45 GB, free: 58.79 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002372/10.91, allocations: 1.12 MB / 4.451 GB, free: 58.78 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007924/10.92, allocations: 4.654 MB / 4.455 GB, free: 56.51 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00188/10.92, allocations: 0.7388 MB / 4.456 GB, free: 56.48 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007393/10.92, allocations: 388.7 kB / 4.456 GB, free: 56.47 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001291/10.92, allocations: 1.571 MB / 4.458 GB, free: 54.79 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/10.92, allocations: 51.55 kB / 4.458 GB, free: 54.74 MB / 490.7 MB Notification: Performance of pre-optimization done (n=69): time 6.264e-06/10.92, allocations: 7.625 kB / 4.458 GB, free: 54.74 MB / 490.7 MB Notification: Performance of matching and sorting (n=81): time 0.01495/10.94, allocations: 3.563 MB / 4.461 GB, free: 54.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/10.94, allocations: 117.6 kB / 4.462 GB, free: 54.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000854/10.94, allocations: 0.5433 MB / 4.462 GB, free: 54.05 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001241/10.94, allocations: 39.23 kB / 4.462 GB, free: 54.02 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002312/10.94, allocations: 435.4 kB / 4.463 GB, free: 53.77 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002477/10.94, allocations: 291.8 kB / 4.463 GB, free: 53.59 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.186e-05/10.94, allocations: 18.22 kB / 4.463 GB, free: 53.59 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.001e-05/10.94, allocations: 348.9 kB / 4.463 GB, free: 53.28 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009192/10.94, allocations: 428.9 kB / 4.464 GB, free: 53.28 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/10.94, allocations: 0.7325 MB / 4.464 GB, free: 52.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/10.94, allocations: 0.5357 MB / 4.465 GB, free: 52.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.909e-06/10.94, allocations: 3.469 kB / 4.465 GB, free: 52.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.003289/10.94, allocations: 1.488 MB / 4.466 GB, free: 52.82 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/10.94, allocations: 11.03 kB / 4.466 GB, free: 52.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/10.94, allocations: 9.953 kB / 4.466 GB, free: 52.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00949/10.95, allocations: 1.332 MB / 4.468 GB, free: 52.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009536/10.95, allocations: 169.5 kB / 4.468 GB, free: 52.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00224/10.96, allocations: 1.377 MB / 4.469 GB, free: 52.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/10.96, allocations: 93.27 kB / 4.469 GB, free: 52.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001647/10.96, allocations: 65.19 kB / 4.469 GB, free: 52.26 MB / 490.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.000315/10.96, allocations: 172.5 kB / 4.469 GB, free: 52.15 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/10.96, allocations: 79.19 kB / 4.469 GB, free: 52.11 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003565/10.96, allocations: 1.464 MB / 4.471 GB, free: 51.97 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/10.96, allocations: 9.938 kB / 4.471 GB, free: 51.97 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/10.96, allocations: 2.688 kB / 4.471 GB, free: 51.97 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/10.96, allocations: 3.703 kB / 4.471 GB, free: 51.97 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004639/10.97, allocations: 2.324 MB / 4.473 GB, free: 51.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.328e-06/10.97, allocations: 3.812 kB / 4.473 GB, free: 51.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001847/10.97, allocations: 262.4 kB / 4.473 GB, free: 51.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00174/10.97, allocations: 312.2 kB / 4.474 GB, free: 51.57 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/10.97, allocations: 38.92 kB / 4.474 GB, free: 51.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001979/10.97, allocations: 2.159 MB / 4.476 GB, free: 49.73 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.623e-06/10.97, allocations: 7.062 kB / 4.476 GB, free: 49.73 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003528/10.98, allocations: 1.817 MB / 4.478 GB, free: 49.39 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006933/10.98, allocations: 286.2 kB / 4.478 GB, free: 49.26 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002285/10.98, allocations: 20.28 kB / 4.478 GB, free: 49.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/10.98, allocations: 73.64 kB / 4.478 GB, free: 49.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/10.98, allocations: 66.38 kB / 4.478 GB, free: 49.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001742/10.98, allocations: 53.27 kB / 4.478 GB, free: 49.25 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007453/10.98, allocations: 443.4 kB / 4.479 GB, free: 49.16 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.62e-07/10.98, allocations: 0 / 4.479 GB, free: 49.16 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003324/10.98, allocations: 0.8265 MB / 4.479 GB, free: 49.01 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (81): * Single equations (assignments): 77 * 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.003941/10.99, allocations: 1.621 MB / 4.481 GB, free: 48.66 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002661/10.99, allocations: 1.111 MB / 4.482 GB, free: 48.64 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.501e-06/10.99, allocations: 0 / 4.482 GB, free: 48.64 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001859/10.99, allocations: 0.6276 MB / 4.483 GB, free: 48.64 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002415/10.99, allocations: 427.3 kB / 4.483 GB, free: 48.62 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004904/11, allocations: 1.726 MB / 4.485 GB, free: 48.24 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006433/11, allocations: 1.06 MB / 4.486 GB, free: 47.53 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005883/11, allocations: 106.8 kB / 4.486 GB, free: 47.52 MB / 490.7 MB Notification: Performance of SimCode: time 2.142e-06/11, allocations: 0 / 4.486 GB, free: 47.52 MB / 490.7 MB Notification: Performance of Templates: time 0.04734/11.05, allocations: 30.96 MB / 4.516 GB, free: 45.41 MB / 490.7 MB