Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.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.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadModel(Modelica): time 2.467/2.467, allocations: 194.8 MB / 211.7 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003718/0.0003721, allocations: 8 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1138, allocations: 44.5 MB / 309 MB, free: 388 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 20.05/20.16, allocations: 6.611 GB / 6.913 GB, free: 37.25 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003184/20.16, allocations: 86.94 kB / 6.913 GB, free: 37.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.118/21.28, allocations: 191.3 MB / 7.1 GB, free: 18.15 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.415e-06/21.28, allocations: 0 / 7.1 GB, free: 18.15 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.714e-05/21.28, allocations: 4 kB / 7.1 GB, free: 18.15 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.008026/21.29, allocations: 1.461 MB / 7.101 GB, free: 16.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/21.29, allocations: 12.03 kB / 7.101 GB, free: 16.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001926/21.29, allocations: 19.81 kB / 7.101 GB, free: 16.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/21.29, allocations: 214.8 kB / 7.102 GB, free: 16.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/21.29, allocations: 16.33 kB / 7.102 GB, free: 16.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.991e-05/21.29, allocations: 12 kB / 7.102 GB, free: 16.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/21.29, allocations: 261.4 kB / 7.102 GB, free: 16.06 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/21.29, allocations: 0 / 7.102 GB, free: 16.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.663e-05/21.29, allocations: 19.92 kB / 7.102 GB, free: 16.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.454e-05/21.29, allocations: 4 kB / 7.102 GB, free: 16.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/21.29, allocations: 283.7 kB / 7.102 GB, free: 15.76 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.001823/21.29, allocations: 0.6758 MB / 7.103 GB, free: 15.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/21.3, allocations: 319 kB / 7.103 GB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01567/21.31, allocations: 10.06 MB / 7.113 GB, free: 2.617 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/21.31, allocations: 42.5 kB / 7.113 GB, free: 2.566 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 3.737e-06/21.31, allocations: 0 / 7.113 GB, free: 2.566 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.00459/21.32, allocations: 0.6945 MB / 7.114 GB, free: 1.867 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/21.32, allocations: 85.3 kB / 7.114 GB, free: 1.766 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/21.32, allocations: 126.2 kB / 7.114 GB, free: 1.633 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.61e-05/21.32, allocations: 33.7 kB / 7.114 GB, free: 1.594 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.477e-05/21.32, allocations: 108.8 kB / 7.114 GB, free: 1.484 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/21.32, allocations: 126.1 kB / 7.114 GB, free: 1.359 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/21.32, allocations: 11.94 kB / 7.114 GB, free: 1.348 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.544e-05/21.32, allocations: 326.8 kB / 7.115 GB, free: 1.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000624/21.32, allocations: 131.9 kB / 7.115 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000759/21.32, allocations: 207.8 kB / 7.115 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007482/21.32, allocations: 144.9 kB / 7.115 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/21.32, allocations: 4 kB / 7.115 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001813/21.32, allocations: 417.6 kB / 7.115 GB, free: 104 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/21.32, allocations: 11.97 kB / 7.115 GB, free: 92 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/21.32, allocations: 4 kB / 7.115 GB, free: 88 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/21.32, allocations: 4 kB / 7.115 GB, free: 84 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3058/21.63, allocations: 88.64 kB / 7.116 GB, free: 57.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.433e-05/21.63, allocations: 2.156 kB / 7.116 GB, free: 57.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007038/21.63, allocations: 29.45 kB / 7.116 GB, free: 57.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.886e-05/21.63, allocations: 20.33 kB / 7.116 GB, free: 57.36 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.0002337/21.63, allocations: 141.3 kB / 7.116 GB, free: 57.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002069/21.63, allocations: 18.31 kB / 7.116 GB, free: 57.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007477/21.63, allocations: 189.9 kB / 7.116 GB, free: 57.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/21.63, allocations: 6.672 kB / 7.116 GB, free: 57.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/21.63, allocations: 0 / 7.116 GB, free: 57.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/21.63, allocations: 9.125 kB / 7.116 GB, free: 57.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003094/21.63, allocations: 0.9645 MB / 7.117 GB, free: 56.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/21.63, allocations: 3.812 kB / 7.117 GB, free: 56.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007786/21.63, allocations: 82.84 kB / 7.117 GB, free: 56.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.093e-05/21.63, allocations: 3.75 kB / 7.117 GB, free: 56.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.784e-05/21.63, allocations: 13.86 kB / 7.117 GB, free: 56.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.676e-06/21.63, allocations: 5.391 kB / 7.117 GB, free: 56.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/21.63, allocations: 2.969 kB / 7.117 GB, free: 56.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002532/21.64, allocations: 0.7205 MB / 7.118 GB, free: 56.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000219/21.64, allocations: 130.9 kB / 7.118 GB, free: 56.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.231e-05/21.64, allocations: 7.219 kB / 7.118 GB, free: 56.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005806/21.64, allocations: 26.64 kB / 7.118 GB, free: 56.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.058e-05/21.64, allocations: 28.17 kB / 7.118 GB, free: 56.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.391e-05/21.64, allocations: 17.19 kB / 7.118 GB, free: 56.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.002e-05/21.64, allocations: 100.8 kB / 7.118 GB, free: 56.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/21.64, allocations: 3.781 kB / 7.118 GB, free: 56.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006072/21.64, allocations: 1.086 MB / 7.119 GB, free: 56.37 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 (39): * Single equations (assignments): 39 * 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.01221/21.65, allocations: 1.597 MB / 7.121 GB, free: 56.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00194/21.66, allocations: 351.8 kB / 7.121 GB, free: 56.26 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/21.66, allocations: 3.812 kB / 7.121 GB, free: 56.26 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008759/21.66, allocations: 184.8 kB / 7.121 GB, free: 56.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/21.66, allocations: 99.97 kB / 7.121 GB, free: 56.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/21.66, allocations: 0.7249 MB / 7.122 GB, free: 55.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/21.66, allocations: 0.742 MB / 7.123 GB, free: 55.24 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007718/21.66, allocations: 87.12 kB / 7.123 GB, free: 55.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002588/21.66, allocations: 31.44 kB / 7.123 GB, free: 55.23 MB / 410.7 MB Notification: Performance of SimCode: time 1.342e-06/21.66, allocations: 0 / 7.123 GB, free: 55.23 MB / 410.7 MB Notification: Performance of Templates: time 0.0767/21.74, allocations: 34.8 MB / 7.157 GB, free: 54.48 MB / 410.7 MB