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/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) 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.62/1.62, allocations: 171.2 MB / 184.3 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.603e-05/2.612e-05, allocations: 8 kB / 228.8 MB, free: 15.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2495, allocations: 38.77 MB / 267.6 MB, free: 9.445 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.224/8.474, allocations: 3.693 GB / 3.955 GB, free: 4.637 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002036/8.474, allocations: 63.97 kB / 3.955 GB, free: 4.574 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3442/8.819, allocations: 48.36 MB / 4.002 GB, free: 109.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.862e-06/8.819, allocations: 0 / 4.002 GB, free: 109.9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.496e-05/8.819, allocations: 4 kB / 4.002 GB, free: 109.9 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001799/8.82, allocations: 0.6268 MB / 4.003 GB, free: 109.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/8.821, allocations: 8.031 kB / 4.003 GB, free: 109.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/8.821, allocations: 19.81 kB / 4.003 GB, free: 109.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/8.821, allocations: 214.8 kB / 4.003 GB, free: 108.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/8.821, allocations: 12.33 kB / 4.003 GB, free: 108.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.019e-05/8.821, allocations: 19.91 kB / 4.003 GB, free: 108.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004765/8.822, allocations: 241.5 kB / 4.003 GB, free: 108.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/8.822, allocations: 3.984 kB / 4.003 GB, free: 108.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.05e-05/8.822, allocations: 11.94 kB / 4.003 GB, free: 108.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.359e-05/8.822, allocations: 11.98 kB / 4.003 GB, free: 108.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004881/8.822, allocations: 227.8 kB / 4.003 GB, free: 108.4 MB / 362.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.001544/8.824, allocations: 0.6832 MB / 4.004 GB, free: 107.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006412/8.824, allocations: 205.2 kB / 4.004 GB, free: 107.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002368/8.825, allocations: 109.7 kB / 4.004 GB, free: 107.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003325/8.825, allocations: 360.4 kB / 4.005 GB, free: 106.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/8.825, allocations: 38.92 kB / 4.005 GB, free: 106.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 4.457e-06/8.825, allocations: 4 kB / 4.005 GB, free: 106.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.001776/8.827, allocations: 0.5059 MB / 4.005 GB, free: 106.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/8.827, allocations: 81.3 kB / 4.005 GB, free: 106.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.5e-05/8.827, allocations: 117 kB / 4.005 GB, free: 106.1 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.892e-05/8.827, allocations: 37.7 kB / 4.005 GB, free: 106.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.377e-05/8.827, allocations: 171 kB / 4.006 GB, free: 105.9 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.016e-05/8.827, allocations: 126.2 kB / 4.006 GB, free: 105.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/8.827, allocations: 8 kB / 4.006 GB, free: 105.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.695e-05/8.827, allocations: 322.8 kB / 4.006 GB, free: 105.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002458/8.828, allocations: 115.9 kB / 4.006 GB, free: 105.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/8.828, allocations: 183.8 kB / 4.006 GB, free: 105.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/8.828, allocations: 124.9 kB / 4.006 GB, free: 105 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.811e-06/8.828, allocations: 0 / 4.006 GB, free: 105 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007559/8.829, allocations: 353.3 kB / 4.007 GB, free: 104.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/8.829, allocations: 11.95 kB / 4.007 GB, free: 104.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/8.829, allocations: 0 / 4.007 GB, free: 104.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/8.829, allocations: 8.219 kB / 4.007 GB, free: 104.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006134/8.83, allocations: 95.75 kB / 4.007 GB, free: 104.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/8.83, allocations: 4 kB / 4.007 GB, free: 104.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000397/8.83, allocations: 27.91 kB / 4.007 GB, free: 104.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.946e-05/8.83, allocations: 16 kB / 4.007 GB, free: 104.5 MB / 362.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.0001174/8.83, allocations: 120.9 kB / 4.007 GB, free: 104.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.115e-05/8.83, allocations: 23.81 kB / 4.007 GB, free: 104.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004702/8.831, allocations: 178.1 kB / 4.007 GB, free: 104.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.312e-06/8.831, allocations: 4 kB / 4.007 GB, free: 104.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.938e-06/8.831, allocations: 0 / 4.007 GB, free: 104.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.631e-06/8.831, allocations: 3.984 kB / 4.007 GB, free: 104.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/8.832, allocations: 0.7107 MB / 4.008 GB, free: 103.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.611e-06/8.832, allocations: 4 kB / 4.008 GB, free: 103.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005474/8.833, allocations: 75.89 kB / 4.008 GB, free: 103.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.927e-06/8.833, allocations: 11.92 kB / 4.008 GB, free: 103.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-05/8.833, allocations: 8 kB / 4.008 GB, free: 103.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.436e-06/8.833, allocations: 8.156 kB / 4.008 GB, free: 103.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.385e-06/8.833, allocations: 0 / 4.008 GB, free: 103.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009907/8.834, allocations: 0.7188 MB / 4.009 GB, free: 102.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/8.834, allocations: 116.9 kB / 4.009 GB, free: 102.4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.188e-05/8.834, allocations: 8 kB / 4.009 GB, free: 102.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004449/8.835, allocations: 28.03 kB / 4.009 GB, free: 102.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/8.835, allocations: 27.92 kB / 4.009 GB, free: 102.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.36e-05/8.835, allocations: 11.98 kB / 4.009 GB, free: 102.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.965e-05/8.835, allocations: 99.59 kB / 4.009 GB, free: 102.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.36e-07/8.835, allocations: 0 / 4.009 GB, free: 102.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008972/8.836, allocations: 179.8 kB / 4.009 GB, free: 102 MB / 362.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.0009933/8.837, allocations: 0.649 MB / 4.01 GB, free: 101.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006592/8.838, allocations: 295.3 kB / 4.01 GB, free: 101.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/8.838, allocations: 448 / 4.01 GB, free: 101.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002838/8.838, allocations: 163.7 kB / 4.01 GB, free: 100.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007216/8.839, allocations: 92.16 kB / 4.01 GB, free: 100.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/8.84, allocations: 0.517 MB / 4.011 GB, free: 100.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002028/8.84, allocations: 0.7374 MB / 4.012 GB, free: 99.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/8.841, allocations: 39.41 kB / 4.012 GB, free: 99.45 MB / 362.7 MB Notification: Performance of SimCode: time 1.837e-06/8.841, allocations: 4 kB / 4.012 GB, free: 99.44 MB / 362.7 MB Notification: Performance of Templates: time 0.01089/8.851, allocations: 7.107 MB / 4.019 GB, free: 92.32 MB / 362.7 MB