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.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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.MoistAir") Notification: Performance of loadModel(Modelica): time 1.602/1.602, allocations: 171.3 MB / 179.2 MB, free: 7.508 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.018e-05/2.019e-05, allocations: 4 kB / 222.5 MB, free: 8.711 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07081/0.07085, allocations: 38.76 MB / 261.3 MB, free: 1.859 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.629/8.7, allocations: 3.693 GB / 3.948 GB, free: 95.65 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001975/8.7, allocations: 67.91 kB / 3.948 GB, free: 95.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1489/8.849, allocations: 47.65 MB / 3.994 GB, free: 47.44 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.058e-06/8.849, allocations: 4 kB / 3.994 GB, free: 47.44 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.19e-05/8.849, allocations: 4 kB / 3.994 GB, free: 47.43 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001755/8.851, allocations: 0.6307 MB / 3.995 GB, free: 46.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/8.851, allocations: 12.03 kB / 3.995 GB, free: 46.74 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/8.851, allocations: 15.81 kB / 3.995 GB, free: 46.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/8.852, allocations: 206.9 kB / 3.995 GB, free: 46.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/8.852, allocations: 4 kB / 3.995 GB, free: 46.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.28e-05/8.852, allocations: 11.91 kB / 3.995 GB, free: 46.47 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004489/8.852, allocations: 204.5 kB / 3.996 GB, free: 46.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004264/8.853, allocations: 221.1 kB / 3.996 GB, free: 46.04 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.853e-05/8.853, allocations: 8 kB / 3.996 GB, free: 46.04 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.529e-05/8.853, allocations: 0 / 3.996 GB, free: 46.04 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.287e-05/8.853, allocations: 4 kB / 3.996 GB, free: 46.03 MB / 346.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/8.854, allocations: 0.6482 MB / 3.996 GB, free: 45.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005369/8.855, allocations: 189.2 kB / 3.997 GB, free: 45.12 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/8.855, allocations: 109.7 kB / 3.997 GB, free: 45.01 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003094/8.855, allocations: 352.4 kB / 3.997 GB, free: 44.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/8.855, allocations: 46.55 kB / 3.997 GB, free: 44.54 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 2.789e-06/8.855, allocations: 0 / 3.997 GB, free: 44.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.001797/8.857, allocations: 0.4934 MB / 3.998 GB, free: 44.04 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/8.857, allocations: 81.3 kB / 3.998 GB, free: 43.94 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.575e-05/8.857, allocations: 113.2 kB / 3.998 GB, free: 43.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/8.857, allocations: 25.7 kB / 3.998 GB, free: 43.79 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.588e-05/8.857, allocations: 175 kB / 3.998 GB, free: 43.62 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.736e-05/8.857, allocations: 122.1 kB / 3.998 GB, free: 43.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.62e-05/8.857, allocations: 0 / 3.998 GB, free: 43.5 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.869e-05/8.857, allocations: 326.8 kB / 3.998 GB, free: 43.17 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/8.858, allocations: 99.98 kB / 3.998 GB, free: 43.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/8.858, allocations: 175.8 kB / 3.999 GB, free: 42.87 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004278/8.858, allocations: 136.8 kB / 3.999 GB, free: 42.74 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.332e-06/8.858, allocations: 0 / 3.999 GB, free: 42.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008114/8.859, allocations: 342.4 kB / 3.999 GB, free: 42.4 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/8.859, allocations: 11.98 kB / 3.999 GB, free: 42.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.2e-06/8.859, allocations: 0 / 3.999 GB, free: 42.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/8.859, allocations: 7.953 kB / 3.999 GB, free: 42.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005699/8.86, allocations: 91.81 kB / 3.999 GB, free: 42.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.233e-06/8.86, allocations: 4 kB / 3.999 GB, free: 42.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003836/8.86, allocations: 24.2 kB / 3.999 GB, free: 42.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.194e-05/8.86, allocations: 23.92 kB / 3.999 GB, free: 42.24 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001089/8.861, allocations: 108.9 kB / 3.999 GB, free: 42.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.005e-05/8.861, allocations: 19.81 kB / 3.999 GB, free: 42.11 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005729/8.861, allocations: 178.6 kB / 3.999 GB, free: 41.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.529e-06/8.861, allocations: 7.953 kB / 4 GB, free: 41.92 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.224e-06/8.861, allocations: 0 / 4 GB, free: 41.92 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.291e-06/8.861, allocations: 0 / 4 GB, free: 41.92 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/8.863, allocations: 0.6551 MB / 4 GB, free: 41.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/8.863, allocations: 0 / 4 GB, free: 41.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006244/8.863, allocations: 84.05 kB / 4 GB, free: 41.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.709e-06/8.863, allocations: 0 / 4 GB, free: 41.12 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.981e-05/8.863, allocations: 7.984 kB / 4 GB, free: 41.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.081e-06/8.863, allocations: 4.375 kB / 4 GB, free: 41.11 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/8.863, allocations: 4 kB / 4 GB, free: 41.11 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/8.865, allocations: 0.7012 MB / 4.001 GB, free: 40.34 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/8.865, allocations: 128.8 kB / 4.001 GB, free: 40.19 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.388e-05/8.865, allocations: 3.938 kB / 4.001 GB, free: 40.19 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005007/8.865, allocations: 19.97 kB / 4.001 GB, free: 40.17 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/8.865, allocations: 23.92 kB / 4.001 GB, free: 40.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.506e-05/8.865, allocations: 12 kB / 4.001 GB, free: 40.13 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.288e-05/8.865, allocations: 99.2 kB / 4.001 GB, free: 40.04 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.72e-07/8.865, allocations: 4.062 kB / 4.001 GB, free: 40.03 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008509/8.866, allocations: 159.9 kB / 4.001 GB, free: 39.88 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001047/8.867, allocations: 0.7254 MB / 4.002 GB, free: 39.14 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005808/8.868, allocations: 280.6 kB / 4.002 GB, free: 38.86 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/8.868, allocations: 0 / 4.002 GB, free: 38.86 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002499/8.868, allocations: 151.8 kB / 4.002 GB, free: 38.71 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007306/8.869, allocations: 84.34 kB / 4.003 GB, free: 38.63 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/8.87, allocations: 0.4963 MB / 4.003 GB, free: 38.09 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/8.871, allocations: 0.7374 MB / 4.004 GB, free: 37.32 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002123/8.871, allocations: 39.42 kB / 4.004 GB, free: 37.28 MB / 346.7 MB Notification: Performance of SimCode: time 1.877e-06/8.871, allocations: 4 kB / 4.004 GB, free: 37.28 MB / 346.7 MB Notification: Performance of Templates: time 0.01077/8.882, allocations: 7.06 MB / 4.011 GB, free: 30.21 MB / 346.7 MB