Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.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) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadModel(Modelica): time 1.594/1.594, allocations: 171.3 MB / 179.2 MB, free: 7.508 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.88e-05/1.885e-05, allocations: 4 kB / 222.5 MB, free: 8.68 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06965/0.0697, allocations: 38.77 MB / 261.3 MB, free: 1.828 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.422/8.492, allocations: 3.61 GB / 3.866 GB, free: 43.86 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/8.492, allocations: 91.88 kB / 3.866 GB, free: 43.77 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.399/9.891, allocations: 316.2 MB / 4.175 GB, free: 6.312 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.388e-06/9.891, allocations: 4 kB / 4.175 GB, free: 6.309 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.997e-05/9.891, allocations: 12 kB / 4.175 GB, free: 6.297 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.005135/9.896, allocations: 1.552 MB / 4.176 GB, free: 4.699 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/9.897, allocations: 8.031 kB / 4.176 GB, free: 4.691 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000465/9.897, allocations: 64.11 kB / 4.176 GB, free: 4.629 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007351/9.898, allocations: 359.9 kB / 4.176 GB, free: 4.238 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.142e-05/9.898, allocations: 12 kB / 4.176 GB, free: 4.227 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/9.898, allocations: 31.88 kB / 4.176 GB, free: 4.195 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001382/9.899, allocations: 0.5609 MB / 4.177 GB, free: 3.637 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/9.9, allocations: 439.9 kB / 4.177 GB, free: 3.195 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/9.9, allocations: 0 / 4.177 GB, free: 3.195 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.21e-05/9.901, allocations: 0 / 4.177 GB, free: 3.195 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/9.901, allocations: 12 kB / 4.177 GB, free: 3.184 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004376/9.905, allocations: 1.898 MB / 4.179 GB, free: 1.113 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/9.907, allocations: 0.5281 MB / 4.18 GB, free: 0.5742 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005258/9.907, allocations: 241.1 kB / 4.18 GB, free: 348 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2164/10.12, allocations: 0.6981 MB / 4.181 GB, free: 46.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/10.12, allocations: 40.52 kB / 4.181 GB, free: 46.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=53): time 4.519e-06/10.12, allocations: 0 / 4.181 GB, free: 46.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=65): time 0.01313/10.14, allocations: 2.822 MB / 4.184 GB, free: 46.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.526e-05/10.14, allocations: 58.53 kB / 4.184 GB, free: 46.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002836/10.14, allocations: 202.8 kB / 4.184 GB, free: 46.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.024e-05/10.14, allocations: 27.08 kB / 4.184 GB, free: 46.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/10.14, allocations: 256.4 kB / 4.184 GB, free: 46.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000196/10.14, allocations: 221 kB / 4.184 GB, free: 45.94 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.864e-05/10.14, allocations: 0 / 4.184 GB, free: 45.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.344e-05/10.14, allocations: 335.8 kB / 4.185 GB, free: 45.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006183/10.14, allocations: 265.3 kB / 4.185 GB, free: 45.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000616/10.14, allocations: 328.5 kB / 4.185 GB, free: 45.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/10.14, allocations: 363.4 kB / 4.186 GB, free: 45.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.402e-06/10.14, allocations: 1.156 kB / 4.186 GB, free: 45.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002665/10.14, allocations: 0.8949 MB / 4.186 GB, free: 45.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/10.14, allocations: 5.719 kB / 4.186 GB, free: 45.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/10.14, allocations: 1.219 kB / 4.186 GB, free: 45.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001301/10.14, allocations: 266.9 kB / 4.187 GB, free: 45.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000743/10.14, allocations: 122.2 kB / 4.187 GB, free: 45.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002771/10.15, allocations: 3.337 MB / 4.19 GB, free: 42.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008049/10.15, allocations: 51.5 kB / 4.19 GB, free: 42.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-05/10.15, allocations: 26.11 kB / 4.19 GB, free: 42.55 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 65 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002734/10.15, allocations: 120.9 kB / 4.19 GB, free: 42.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/10.15, allocations: 49.7 kB / 4.19 GB, free: 42.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005099/10.15, allocations: 1.234 MB / 4.191 GB, free: 42.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/10.15, allocations: 10.77 kB / 4.191 GB, free: 42.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.621e-06/10.15, allocations: 1.281 kB / 4.191 GB, free: 42.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004325/10.16, allocations: 1.303 MB / 4.193 GB, free: 41.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003667/10.16, allocations: 1.526 MB / 4.194 GB, free: 41.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.851e-06/10.16, allocations: 0 / 4.194 GB, free: 41.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007209/10.16, allocations: 120.2 kB / 4.194 GB, free: 41.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00157/10.16, allocations: 309.1 kB / 4.195 GB, free: 41.65 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.387e-05/10.16, allocations: 18.61 kB / 4.195 GB, free: 41.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009823/10.17, allocations: 0.7947 MB / 4.195 GB, free: 41.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.763e-06/10.17, allocations: 0 / 4.195 GB, free: 41.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005224/10.17, allocations: 1.515 MB / 4.197 GB, free: 40.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001835/10.17, allocations: 120.6 kB / 4.197 GB, free: 40.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/10.17, allocations: 6.469 kB / 4.197 GB, free: 40.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007818/10.17, allocations: 51.56 kB / 4.197 GB, free: 40.81 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/10.17, allocations: 41.67 kB / 4.197 GB, free: 40.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/10.17, allocations: 35.92 kB / 4.197 GB, free: 40.81 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002135/10.17, allocations: 173.3 kB / 4.197 GB, free: 40.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.51e-07/10.17, allocations: 0 / 4.197 GB, free: 40.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00209/10.17, allocations: 0.4976 MB / 4.198 GB, free: 40.73 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (62): * Single equations (assignments): 61 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002657/10.18, allocations: 1.321 MB / 4.199 GB, free: 40.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001889/10.18, allocations: 0.8736 MB / 4.2 GB, free: 40.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.206e-06/10.18, allocations: 0 / 4.2 GB, free: 40.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008559/10.18, allocations: 362.8 kB / 4.2 GB, free: 40.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/10.18, allocations: 229.2 kB / 4.201 GB, free: 40.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002957/10.18, allocations: 1.016 MB / 4.202 GB, free: 40.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/10.19, allocations: 0.8661 MB / 4.202 GB, free: 39.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002769/10.19, allocations: 53.92 kB / 4.202 GB, free: 39.47 MB / 362.7 MB Notification: Performance of SimCode: time 1.598e-06/10.19, allocations: 3.406 kB / 4.202 GB, free: 39.47 MB / 362.7 MB Notification: Performance of Templates: time 0.03158/10.22, allocations: 20.17 MB / 4.222 GB, free: 38.75 MB / 362.7 MB