Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadModel(Modelica): time 1.831/1.831, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.0003629, allocations: 8 kB / 233.8 MB, free: 2.398 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08574/0.08613, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 20.21/20.29, allocations: 6.605 GB / 6.871 GB, free: 90.9 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003482/20.29, allocations: 77.11 kB / 6.871 GB, free: 90.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.07/21.36, allocations: 190.5 MB / 7.058 GB, free: 71.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.755e-06/21.36, allocations: 0 / 7.058 GB, free: 71.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.223e-05/21.36, allocations: 3.969 kB / 7.058 GB, free: 71.45 MB / 378.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.008055/21.37, allocations: 1.453 MB / 7.059 GB, free: 70.53 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/21.37, allocations: 11.47 kB / 7.059 GB, free: 70.53 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002206/21.37, allocations: 23.23 kB / 7.059 GB, free: 70.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/21.37, allocations: 212.6 kB / 7.059 GB, free: 70.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/21.37, allocations: 21.09 kB / 7.059 GB, free: 70.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.38e-05/21.37, allocations: 27.06 kB / 7.059 GB, free: 70.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/21.37, allocations: 257.1 kB / 7.059 GB, free: 70.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/21.37, allocations: 0 / 7.059 GB, free: 70.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.54e-05/21.37, allocations: 7.312 kB / 7.059 GB, free: 70.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.706e-05/21.37, allocations: 11.64 kB / 7.06 GB, free: 70.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/21.37, allocations: 278.3 kB / 7.06 GB, free: 70.25 MB / 378.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.001841/21.38, allocations: 0.6834 MB / 7.06 GB, free: 69.85 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/21.38, allocations: 312.2 kB / 7.061 GB, free: 69.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01554/21.39, allocations: 10.06 MB / 7.071 GB, free: 59.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/21.39, allocations: 37.06 kB / 7.071 GB, free: 59.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 3.757e-06/21.39, allocations: 0 / 7.071 GB, free: 59.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.004643/21.4, allocations: 0.688 MB / 7.071 GB, free: 59.37 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/21.4, allocations: 85.27 kB / 7.071 GB, free: 59.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/21.4, allocations: 130.8 kB / 7.071 GB, free: 59.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.216e-05/21.4, allocations: 32.14 kB / 7.071 GB, free: 59.13 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.414e-05/21.4, allocations: 105.3 kB / 7.072 GB, free: 59.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/21.4, allocations: 125.5 kB / 7.072 GB, free: 58.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.903e-05/21.4, allocations: 11 kB / 7.072 GB, free: 58.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.712e-05/21.4, allocations: 328.1 kB / 7.072 GB, free: 58.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006266/21.4, allocations: 135.2 kB / 7.072 GB, free: 58.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007737/21.4, allocations: 207.9 kB / 7.072 GB, free: 58.56 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007515/21.4, allocations: 149 kB / 7.073 GB, free: 58.56 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/21.4, allocations: 0 / 7.073 GB, free: 58.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001836/21.4, allocations: 415.9 kB / 7.073 GB, free: 58.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/21.4, allocations: 6.594 kB / 7.073 GB, free: 58.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/21.4, allocations: 6.312 kB / 7.073 GB, free: 58.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.993e-05/21.4, allocations: 7.203 kB / 7.073 GB, free: 58.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008421/21.4, allocations: 93.34 kB / 7.073 GB, free: 58.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/21.4, allocations: 3.781 kB / 7.073 GB, free: 58.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005508/21.4, allocations: 32.27 kB / 7.073 GB, free: 58.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.578e-05/21.4, allocations: 15.5 kB / 7.073 GB, free: 58.48 MB / 378.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.0002021/21.4, allocations: 143.9 kB / 7.073 GB, free: 58.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/21.4, allocations: 18.69 kB / 7.073 GB, free: 58.35 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007256/21.41, allocations: 201.1 kB / 7.073 GB, free: 58.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/21.41, allocations: 7.719 kB / 7.073 GB, free: 58.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/21.41, allocations: 7.609 kB / 7.073 GB, free: 58.28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/21.41, allocations: 0 / 7.073 GB, free: 58.28 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002988/21.41, allocations: 0.958 MB / 7.074 GB, free: 57.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/21.41, allocations: 7.656 kB / 7.074 GB, free: 57.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007705/21.41, allocations: 78.33 kB / 7.074 GB, free: 57.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.12e-05/21.41, allocations: 3.688 kB / 7.074 GB, free: 57.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.781e-05/21.41, allocations: 16.05 kB / 7.074 GB, free: 57.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.157e-06/21.41, allocations: 7.031 kB / 7.074 GB, free: 57.83 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/21.41, allocations: 0 / 7.074 GB, free: 57.83 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002471/21.41, allocations: 0.7336 MB / 7.075 GB, free: 57.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/21.41, allocations: 124.4 kB / 7.075 GB, free: 57.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.208e-05/21.41, allocations: 10.75 kB / 7.075 GB, free: 57.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000577/21.41, allocations: 24.5 kB / 7.075 GB, free: 57.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.484e-05/21.41, allocations: 34.06 kB / 7.075 GB, free: 57.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.203e-05/21.41, allocations: 15.19 kB / 7.075 GB, free: 57.42 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.781e-05/21.41, allocations: 102.1 kB / 7.075 GB, free: 57.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.8e-07/21.41, allocations: 0 / 7.075 GB, free: 57.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005661/21.42, allocations: 1.085 MB / 7.077 GB, free: 57.15 MB / 378.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.01083/21.43, allocations: 1.608 MB / 7.078 GB, free: 56.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001782/21.43, allocations: 339.8 kB / 7.078 GB, free: 56.74 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/21.43, allocations: 3.625 kB / 7.078 GB, free: 56.74 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008056/21.43, allocations: 185.5 kB / 7.079 GB, free: 56.72 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/21.43, allocations: 99.67 kB / 7.079 GB, free: 56.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/21.44, allocations: 0.7438 MB / 7.079 GB, free: 56.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/21.44, allocations: 0.7468 MB / 7.08 GB, free: 55.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007628/21.44, allocations: 79.67 kB / 7.08 GB, free: 55.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002452/21.44, allocations: 35.52 kB / 7.08 GB, free: 55.56 MB / 378.7 MB Notification: Performance of SimCode: time 1.402e-06/21.44, allocations: 0 / 7.08 GB, free: 55.56 MB / 378.7 MB Notification: Performance of Templates: time 0.07158/21.51, allocations: 34.68 MB / 7.114 GB, free: 30.41 MB / 378.7 MB