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.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_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadModel(Modelica): time 1.877/1.877, allocations: 194.8 MB / 212.3 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003613, allocations: 8 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09785/0.09824, allocations: 44.5 MB / 309 MB, free: 1.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 20.01/20.11, allocations: 6.611 GB / 6.913 GB, free: 38.9 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/20.11, allocations: 82.94 kB / 6.913 GB, free: 38.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.094/21.2, allocations: 191.4 MB / 7.1 GB, free: 19.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.574e-06/21.2, allocations: 0 / 7.1 GB, free: 19.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.435e-05/21.2, allocations: 3.938 kB / 7.1 GB, free: 19.68 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.008466/21.21, allocations: 1.469 MB / 7.101 GB, free: 18.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/21.21, allocations: 8.031 kB / 7.101 GB, free: 18.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002119/21.21, allocations: 19.81 kB / 7.101 GB, free: 18.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/21.21, allocations: 206.9 kB / 7.102 GB, free: 17.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/21.21, allocations: 16.33 kB / 7.102 GB, free: 17.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.687e-05/21.21, allocations: 20 kB / 7.102 GB, free: 17.85 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/21.21, allocations: 269.4 kB / 7.102 GB, free: 17.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/21.21, allocations: 0 / 7.102 GB, free: 17.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.777e-05/21.21, allocations: 8 kB / 7.102 GB, free: 17.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.593e-05/21.21, allocations: 4 kB / 7.102 GB, free: 17.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001249/21.21, allocations: 283.8 kB / 7.102 GB, free: 17.29 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.001969/21.21, allocations: 0.6756 MB / 7.103 GB, free: 16.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/21.22, allocations: 310.3 kB / 7.103 GB, free: 16.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01613/21.23, allocations: 10.06 MB / 7.113 GB, free: 4.156 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/21.23, allocations: 34.56 kB / 7.113 GB, free: 4.113 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 3.697e-06/21.23, allocations: 0 / 7.113 GB, free: 4.113 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.004784/21.24, allocations: 0.6957 MB / 7.114 GB, free: 3.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/21.24, allocations: 85.3 kB / 7.114 GB, free: 3.309 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/21.24, allocations: 126 kB / 7.114 GB, free: 3.176 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.316e-05/21.24, allocations: 29.7 kB / 7.114 GB, free: 3.141 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.862e-05/21.24, allocations: 183.2 kB / 7.114 GB, free: 2.961 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/21.24, allocations: 118.2 kB / 7.114 GB, free: 2.844 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/21.24, allocations: 8 kB / 7.114 GB, free: 2.836 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.885e-05/21.24, allocations: 322.8 kB / 7.115 GB, free: 2.512 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006475/21.24, allocations: 139.9 kB / 7.115 GB, free: 2.375 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008295/21.24, allocations: 203.8 kB / 7.115 GB, free: 2.148 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007707/21.24, allocations: 155.9 kB / 7.115 GB, free: 2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/21.24, allocations: 0 / 7.115 GB, free: 2 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001839/21.24, allocations: 421.9 kB / 7.115 GB, free: 1.582 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/21.24, allocations: 12.22 kB / 7.115 GB, free: 1.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/21.24, allocations: 0 / 7.115 GB, free: 1.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.648e-05/21.24, allocations: 4 kB / 7.115 GB, free: 1.566 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008814/21.24, allocations: 95.8 kB / 7.116 GB, free: 1.473 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/21.24, allocations: 0 / 7.116 GB, free: 1.473 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005672/21.24, allocations: 35.83 kB / 7.116 GB, free: 1.438 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.195e-05/21.24, allocations: 15.98 kB / 7.116 GB, free: 1.422 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.0002096/21.24, allocations: 137.8 kB / 7.116 GB, free: 1.277 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001983/21.24, allocations: 19.86 kB / 7.116 GB, free: 1.258 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007384/21.24, allocations: 206.1 kB / 7.116 GB, free: 1.047 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/21.24, allocations: 4 kB / 7.116 GB, free: 1.043 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/21.24, allocations: 0 / 7.116 GB, free: 1.043 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/21.24, allocations: 7.984 kB / 7.116 GB, free: 1.035 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003157/21.25, allocations: 0.9596 MB / 7.117 GB, free: 4 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.79e-05/21.56, allocations: 7.797 kB / 7.117 GB, free: 57.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009208/21.56, allocations: 78.83 kB / 7.117 GB, free: 57.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/21.56, allocations: 3.188 kB / 7.117 GB, free: 57.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.794e-05/21.56, allocations: 11.34 kB / 7.117 GB, free: 57.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.797e-06/21.56, allocations: 3.562 kB / 7.117 GB, free: 57.37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/21.56, allocations: 9.641 kB / 7.117 GB, free: 57.37 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002663/21.56, allocations: 0.7196 MB / 7.118 GB, free: 57.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002082/21.56, allocations: 130.8 kB / 7.118 GB, free: 57.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.958e-05/21.56, allocations: 8.5 kB / 7.118 GB, free: 57.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005948/21.56, allocations: 30.09 kB / 7.118 GB, free: 57.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/21.56, allocations: 23.27 kB / 7.118 GB, free: 57.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.383e-05/21.56, allocations: 19.19 kB / 7.118 GB, free: 57.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.485e-05/21.56, allocations: 101.6 kB / 7.118 GB, free: 56.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.71e-07/21.56, allocations: 0 / 7.118 GB, free: 56.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005882/21.57, allocations: 1.081 MB / 7.119 GB, free: 56.95 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.01164/21.58, allocations: 1.602 MB / 7.121 GB, free: 56.85 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001955/21.58, allocations: 347.1 kB / 7.121 GB, free: 56.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/21.58, allocations: 4.641 kB / 7.121 GB, free: 56.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008899/21.58, allocations: 189.1 kB / 7.121 GB, free: 56.85 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/21.58, allocations: 96.77 kB / 7.121 GB, free: 56.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002157/21.58, allocations: 0.7491 MB / 7.122 GB, free: 56.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/21.58, allocations: 0.7404 MB / 7.123 GB, free: 55.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000342/21.59, allocations: 43.64 kB / 7.123 GB, free: 55.81 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/21.59, allocations: 1.094 kB / 7.123 GB, free: 55.81 MB / 410.7 MB Notification: Performance of Templates: time 0.06382/21.65, allocations: 26.48 MB / 7.149 GB, free: 53.95 MB / 410.7 MB