Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.956/1.956, allocations: 209.2 MB / 225.4 MB, free: 0.6055 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004228/0.0004231, allocations: 12 kB / 283.1 MB, free: 9.668 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3412, allocations: 48.7 MB / 331.8 MB, free: 6.523 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.63/10.97, allocations: 3.661 GB / 3.985 GB, free: 86.29 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004131/10.97, allocations: 94.2 kB / 3.985 GB, free: 86.24 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.332/13.31, allocations: 429.5 MB / 4.404 GB, free: 8.273 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.475e-06/13.31, allocations: 224 / 4.404 GB, free: 8.273 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.617e-05/13.31, allocations: 27.92 kB / 4.404 GB, free: 8.246 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.01045/13.32, allocations: 2.416 MB / 4.407 GB, free: 5.773 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/13.32, allocations: 12.03 kB / 4.407 GB, free: 5.762 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000911/13.32, allocations: 102.9 kB / 4.407 GB, free: 5.66 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002199/13.32, allocations: 0.6542 MB / 4.407 GB, free: 4.969 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/13.32, allocations: 121.4 kB / 4.408 GB, free: 4.836 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002349/13.32, allocations: 64 kB / 4.408 GB, free: 4.773 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003263/13.32, allocations: 1.148 MB / 4.409 GB, free: 3.57 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.249e-05/13.32, allocations: 4 kB / 4.409 GB, free: 3.566 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001986/13.32, allocations: 28 kB / 4.409 GB, free: 3.539 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000107/13.32, allocations: 57.97 kB / 4.409 GB, free: 3.48 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003251/13.33, allocations: 1.144 MB / 4.41 GB, free: 2.336 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.358/13.69, allocations: 4.389 MB / 4.414 GB, free: 38.86 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002827/13.69, allocations: 0.7748 MB / 4.415 GB, free: 38.83 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001631/13.69, allocations: 1.576 MB / 4.417 GB, free: 37.14 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.871e-05/13.69, allocations: 44.28 kB / 4.417 GB, free: 37.11 MB / 442.7 MB Notification: Performance of pre-optimization done (n=69): time 3.497e-06/13.69, allocations: 0 / 4.417 GB, free: 37.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=81): time 0.02564/13.72, allocations: 4.17 MB / 4.421 GB, free: 36.62 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.111e-05/13.72, allocations: 115.8 kB / 4.421 GB, free: 36.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/13.72, allocations: 0.6231 MB / 4.421 GB, free: 36.37 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003087/13.72, allocations: 41.8 kB / 4.421 GB, free: 36.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003339/13.72, allocations: 430.8 kB / 4.422 GB, free: 36.09 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004308/13.72, allocations: 291.8 kB / 4.422 GB, free: 35.95 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/13.72, allocations: 19.72 kB / 4.422 GB, free: 35.95 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/13.72, allocations: 353.5 kB / 4.422 GB, free: 35.63 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001906/13.72, allocations: 477.7 kB / 4.423 GB, free: 35.63 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002184/13.72, allocations: 0.7849 MB / 4.424 GB, free: 35.26 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002068/13.73, allocations: 0.5804 MB / 4.424 GB, free: 35.25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-05/13.73, allocations: 3.719 kB / 4.424 GB, free: 35.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.00603/13.73, allocations: 1.626 MB / 4.426 GB, free: 35.17 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.74e-05/13.73, allocations: 14.2 kB / 4.426 GB, free: 35.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.107e-05/13.73, allocations: 11.62 kB / 4.426 GB, free: 35.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0145/13.75, allocations: 1.421 MB / 4.427 GB, free: 35.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/13.75, allocations: 174 kB / 4.427 GB, free: 35.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004315/13.75, allocations: 1.488 MB / 4.429 GB, free: 34.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001955/13.75, allocations: 99.17 kB / 4.429 GB, free: 34.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002402/13.75, allocations: 66.97 kB / 4.429 GB, free: 34.62 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 () * Number of clocked 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.0008645/13.75, allocations: 302.6 kB / 4.429 GB, free: 34.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003549/13.76, allocations: 80 kB / 4.429 GB, free: 34.46 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005811/13.76, allocations: 1.617 MB / 4.431 GB, free: 34.34 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-05/13.76, allocations: 9.188 kB / 4.431 GB, free: 34.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/13.76, allocations: 3.969 kB / 4.431 GB, free: 34.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/13.76, allocations: 7.594 kB / 4.431 GB, free: 34.34 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00722/13.77, allocations: 2.444 MB / 4.433 GB, free: 33.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.216e-05/13.77, allocations: 1.938 kB / 4.433 GB, free: 33.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002636/13.77, allocations: 259.9 kB / 4.434 GB, free: 33.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003455/13.77, allocations: 402.1 kB / 4.434 GB, free: 33.95 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002668/13.77, allocations: 36.83 kB / 4.434 GB, free: 33.94 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003461/13.78, allocations: 2.278 MB / 4.436 GB, free: 32.1 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/13.78, allocations: 3.656 kB / 4.436 GB, free: 32.1 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009482/13.79, allocations: 1.954 MB / 4.438 GB, free: 31.84 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001368/13.79, allocations: 280 kB / 4.438 GB, free: 31.71 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000598/13.79, allocations: 23.84 kB / 4.438 GB, free: 31.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002634/13.79, allocations: 68.42 kB / 4.439 GB, free: 31.71 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004116/13.79, allocations: 63.33 kB / 4.439 GB, free: 31.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002943/13.79, allocations: 58.03 kB / 4.439 GB, free: 31.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001272/13.79, allocations: 448.6 kB / 4.439 GB, free: 31.62 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.052e-06/13.79, allocations: 3.406 kB / 4.439 GB, free: 31.62 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006189/13.8, allocations: 0.828 MB / 4.44 GB, free: 31.62 MB / 442.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 () * Number of clocked 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.008339/13.81, allocations: 1.617 MB / 4.441 GB, free: 31.42 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006226/13.82, allocations: 1.209 MB / 4.443 GB, free: 31.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/13.82, allocations: 2.312 kB / 4.443 GB, free: 31.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004197/13.82, allocations: 0.6721 MB / 4.443 GB, free: 31.39 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005869/13.83, allocations: 436.7 kB / 4.444 GB, free: 31.37 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/13.84, allocations: 2.576 MB / 4.446 GB, free: 30.45 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001647/13.84, allocations: 1.063 MB / 4.447 GB, free: 45.75 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009263/13.84, allocations: 109.9 kB / 4.447 GB, free: 45.74 MB / 458.7 MB Notification: Performance of SimCode: time 1.292e-06/13.84, allocations: 3.656 kB / 4.447 GB, free: 45.74 MB / 458.7 MB Notification: Performance of Templates: time 0.0856/13.92, allocations: 31.02 MB / 4.478 GB, free: 44.25 MB / 458.7 MB