Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.MoistAir.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_cpp_Modelica.Media.Examples.MoistAir") Notification: Performance of loadModel(Modelica): time 1.942/1.942, allocations: 194.8 MB / 212.3 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003662, allocations: 8 kB / 264.5 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1024, allocations: 44.5 MB / 309 MB, free: 1.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.36/10.46, allocations: 3.699 GB / 4.001 GB, free: 109 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/10.46, allocations: 81.58 kB / 4.001 GB, free: 109 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1665/10.63, allocations: 48.75 MB / 4.049 GB, free: 94.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.783e-06/10.63, allocations: 0 / 4.049 GB, free: 94.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.28e-05/10.63, allocations: 4 kB / 4.049 GB, free: 94.35 MB / 410.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.002207/10.63, allocations: 0.6309 MB / 4.049 GB, free: 93.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/10.63, allocations: 12.03 kB / 4.049 GB, free: 93.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/10.63, allocations: 27.73 kB / 4.049 GB, free: 93.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/10.63, allocations: 210.1 kB / 4.049 GB, free: 93.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/10.63, allocations: 12.08 kB / 4.049 GB, free: 93.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.59e-05/10.63, allocations: 15.94 kB / 4.049 GB, free: 93.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007838/10.63, allocations: 254.9 kB / 4.05 GB, free: 93.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/10.63, allocations: 0 / 4.05 GB, free: 93.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.438e-05/10.63, allocations: 11.86 kB / 4.05 GB, free: 93.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.303e-05/10.63, allocations: 8 kB / 4.05 GB, free: 93.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/10.63, allocations: 264 kB / 4.05 GB, free: 92.98 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.00178/10.63, allocations: 0.686 MB / 4.051 GB, free: 92.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009429/10.63, allocations: 215.2 kB / 4.051 GB, free: 92.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003708/10.63, allocations: 362.2 kB / 4.051 GB, free: 91.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/10.63, allocations: 38.06 kB / 4.051 GB, free: 91.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 1.933e-06/10.63, allocations: 0 / 4.051 GB, free: 91.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.003865/10.64, allocations: 0.6749 MB / 4.052 GB, free: 91.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/10.64, allocations: 89.22 kB / 4.052 GB, free: 91.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.756e-05/10.64, allocations: 118.2 kB / 4.052 GB, free: 90.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.462e-05/10.64, allocations: 32.2 kB / 4.052 GB, free: 90.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.351e-05/10.64, allocations: 181.3 kB / 4.052 GB, free: 90.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/10.64, allocations: 120.7 kB / 4.052 GB, free: 90.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/10.64, allocations: 9.688 kB / 4.052 GB, free: 90.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.338e-05/10.64, allocations: 329.8 kB / 4.053 GB, free: 90.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006228/10.64, allocations: 140.8 kB / 4.053 GB, free: 90.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006599/10.64, allocations: 203.5 kB / 4.053 GB, free: 90.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006656/10.64, allocations: 162.6 kB / 4.053 GB, free: 89.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/10.64, allocations: 3.938 kB / 4.053 GB, free: 89.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001538/10.64, allocations: 408.4 kB / 4.054 GB, free: 89.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/10.64, allocations: 4 kB / 4.054 GB, free: 89.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/10.64, allocations: 4 kB / 4.054 GB, free: 89.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/10.64, allocations: 4 kB / 4.054 GB, free: 89.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008313/10.64, allocations: 86.38 kB / 4.054 GB, free: 89.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/10.64, allocations: 7.984 kB / 4.054 GB, free: 89.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005365/10.64, allocations: 29.02 kB / 4.054 GB, free: 89.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.212e-05/10.64, allocations: 22.55 kB / 4.054 GB, free: 89.48 MB / 410.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 () * Number of clocked 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.0001752/10.64, allocations: 144.5 kB / 4.054 GB, free: 89.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.593e-05/10.64, allocations: 15.81 kB / 4.054 GB, free: 89.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005181/10.64, allocations: 183.2 kB / 4.054 GB, free: 89.19 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/10.64, allocations: 4 kB / 4.054 GB, free: 89.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/10.64, allocations: 0 / 4.054 GB, free: 89.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/10.64, allocations: 3.984 kB / 4.054 GB, free: 89.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002323/10.65, allocations: 0.7577 MB / 4.055 GB, free: 88.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/10.65, allocations: 0 / 4.055 GB, free: 88.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007586/10.65, allocations: 75.2 kB / 4.055 GB, free: 88.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.086e-06/10.65, allocations: 7.953 kB / 4.055 GB, free: 88.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.33e-05/10.65, allocations: 11.67 kB / 4.055 GB, free: 88.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/10.65, allocations: 4 kB / 4.055 GB, free: 88.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/10.65, allocations: 8.156 kB / 4.055 GB, free: 88.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002102/10.65, allocations: 0.7025 MB / 4.056 GB, free: 87.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/10.65, allocations: 120.9 kB / 4.056 GB, free: 87.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.992e-05/10.65, allocations: 16.05 kB / 4.056 GB, free: 87.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005718/10.65, allocations: 19.92 kB / 4.056 GB, free: 87.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/10.65, allocations: 23.97 kB / 4.056 GB, free: 87.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.682e-05/10.65, allocations: 19.98 kB / 4.056 GB, free: 87.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.832e-05/10.65, allocations: 95.2 kB / 4.056 GB, free: 87.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.022e-06/10.65, allocations: 288 / 4.056 GB, free: 87.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009048/10.65, allocations: 179.9 kB / 4.056 GB, free: 87.17 MB / 410.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 () * Number of clocked 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.001113/10.65, allocations: 0.6521 MB / 4.057 GB, free: 86.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001409/10.65, allocations: 339.6 kB / 4.057 GB, free: 86.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/10.65, allocations: 0 / 4.057 GB, free: 86.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000665/10.65, allocations: 184.5 kB / 4.057 GB, free: 85.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009045/10.66, allocations: 88.95 kB / 4.057 GB, free: 85.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/10.66, allocations: 0.7701 MB / 4.058 GB, free: 85.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002095/10.66, allocations: 0.7374 MB / 4.059 GB, free: 84.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002778/10.66, allocations: 35.42 kB / 4.059 GB, free: 84.29 MB / 410.7 MB Notification: Performance of SimCode: time 1.393e-06/10.66, allocations: 4 kB / 4.059 GB, free: 84.29 MB / 410.7 MB Notification: Performance of Templates: time 0.01308/10.67, allocations: 7.148 MB / 4.066 GB, free: 77.13 MB / 410.7 MB