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/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.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.794/1.794, allocations: 209.3 MB / 224.9 MB, free: 192 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004475/0.0004476, allocations: 19.98 kB / 282.6 MB, free: 9.574 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2866, allocations: 48.7 MB / 331.3 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.824/9.111, allocations: 3.661 GB / 3.984 GB, free: 58.39 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/9.111, allocations: 95.06 kB / 3.984 GB, free: 58.33 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.297/11.41, allocations: 429.5 MB / 4.404 GB, free: 57.96 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.465e-06/11.41, allocations: 0 / 4.404 GB, free: 57.96 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.795e-05/11.41, allocations: 20.5 kB / 4.404 GB, free: 57.96 MB / 458.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.008143/11.42, allocations: 2.432 MB / 4.406 GB, free: 57.03 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/11.42, allocations: 13.84 kB / 4.406 GB, free: 57.03 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007055/11.42, allocations: 108.9 kB / 4.406 GB, free: 56.98 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/11.42, allocations: 0.6419 MB / 4.407 GB, free: 56.75 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/11.42, allocations: 115 kB / 4.407 GB, free: 56.68 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/11.42, allocations: 70.53 kB / 4.407 GB, free: 56.68 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002396/11.42, allocations: 1.146 MB / 4.408 GB, free: 56.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.432e-05/11.42, allocations: 1.125 kB / 4.408 GB, free: 56.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/11.42, allocations: 35.33 kB / 4.408 GB, free: 56.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.619e-05/11.42, allocations: 57.03 kB / 4.408 GB, free: 56.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002499/11.42, allocations: 1.145 MB / 4.409 GB, free: 56.49 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00802/11.43, allocations: 4.395 MB / 4.414 GB, free: 54.53 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001988/11.43, allocations: 0.7621 MB / 4.414 GB, free: 54.5 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00129/11.44, allocations: 1.577 MB / 4.416 GB, free: 52.81 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/11.44, allocations: 48.27 kB / 4.416 GB, free: 52.77 MB / 458.7 MB Notification: Performance of pre-optimization done (n=69): time 4.076e-06/11.44, allocations: 0 / 4.416 GB, free: 52.77 MB / 458.7 MB Notification: Performance of matching and sorting (n=81): time 0.01732/11.45, allocations: 4.164 MB / 4.42 GB, free: 52.26 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/11.45, allocations: 116 kB / 4.42 GB, free: 52.13 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009085/11.45, allocations: 0.555 MB / 4.421 GB, free: 52.01 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001892/11.45, allocations: 41.92 kB / 4.421 GB, free: 51.98 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000233/11.45, allocations: 434.7 kB / 4.421 GB, free: 51.72 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002649/11.45, allocations: 291.2 kB / 4.422 GB, free: 51.58 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/11.46, allocations: 28.19 kB / 4.422 GB, free: 51.58 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.001e-05/11.46, allocations: 347.4 kB / 4.422 GB, free: 51.27 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001212/11.46, allocations: 475.2 kB / 4.422 GB, free: 51.27 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/11.46, allocations: 0.7805 MB / 4.423 GB, free: 50.89 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/11.46, allocations: 0.584 MB / 4.424 GB, free: 50.88 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/11.46, allocations: 7.312 kB / 4.424 GB, free: 50.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.004171/11.46, allocations: 1.624 MB / 4.425 GB, free: 50.8 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/11.46, allocations: 10.31 kB / 4.425 GB, free: 50.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/11.46, allocations: 12.66 kB / 4.425 GB, free: 50.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009186/11.47, allocations: 1.425 MB / 4.427 GB, free: 50.79 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009165/11.47, allocations: 166.9 kB / 4.427 GB, free: 50.79 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003219/11.48, allocations: 1.495 MB / 4.428 GB, free: 50.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/11.48, allocations: 92.67 kB / 4.428 GB, free: 50.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001872/11.48, allocations: 69.5 kB / 4.428 GB, free: 50.25 MB / 458.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.0006925/11.48, allocations: 298.1 kB / 4.429 GB, free: 50.14 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002382/11.48, allocations: 83.91 kB / 4.429 GB, free: 50.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004212/11.48, allocations: 1.62 MB / 4.43 GB, free: 49.95 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.936e-05/11.48, allocations: 10.53 kB / 4.43 GB, free: 49.95 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.281e-06/11.48, allocations: 0 / 4.43 GB, free: 49.95 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/11.48, allocations: 6.844 kB / 4.43 GB, free: 49.95 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005416/11.49, allocations: 2.454 MB / 4.433 GB, free: 49.58 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/11.49, allocations: 1.812 kB / 4.433 GB, free: 49.58 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001704/11.49, allocations: 259 kB / 4.433 GB, free: 49.58 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002226/11.49, allocations: 393.7 kB / 4.433 GB, free: 49.57 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000197/11.49, allocations: 33.23 kB / 4.433 GB, free: 49.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002666/11.5, allocations: 2.283 MB / 4.436 GB, free: 47.72 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.581e-06/11.5, allocations: 0 / 4.436 GB, free: 47.72 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004817/11.5, allocations: 2.002 MB / 4.438 GB, free: 47.38 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007097/11.5, allocations: 277.5 kB / 4.438 GB, free: 47.25 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002259/11.5, allocations: 34.48 kB / 4.438 GB, free: 47.24 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/11.5, allocations: 70.31 kB / 4.438 GB, free: 47.24 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/11.5, allocations: 60.8 kB / 4.438 GB, free: 47.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000146/11.5, allocations: 50.55 kB / 4.438 GB, free: 47.24 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007134/11.5, allocations: 453.4 kB / 4.439 GB, free: 47.15 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.85e-07/11.5, allocations: 0 / 4.439 GB, free: 47.15 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0033/11.51, allocations: 0.8243 MB / 4.439 GB, free: 47.05 MB / 458.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.004184/11.51, allocations: 1.622 MB / 4.441 GB, free: 46.75 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003192/11.52, allocations: 1.207 MB / 4.442 GB, free: 46.73 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.702e-06/11.52, allocations: 7.844 kB / 4.442 GB, free: 46.73 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002081/11.52, allocations: 0.6725 MB / 4.443 GB, free: 46.71 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00247/11.52, allocations: 434.5 kB / 4.443 GB, free: 46.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005759/11.53, allocations: 2.569 MB / 4.446 GB, free: 45.78 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007626/11.53, allocations: 1.059 MB / 4.447 GB, free: 45.07 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005816/11.53, allocations: 107.8 kB / 4.447 GB, free: 45.07 MB / 458.7 MB Notification: Performance of SimCode: time 1.638e-06/11.53, allocations: 0 / 4.447 GB, free: 45.07 MB / 458.7 MB Notification: Performance of Templates: time 0.04815/11.58, allocations: 31 MB / 4.477 GB, free: 43.3 MB / 458.7 MB