Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.MoistAir") Notification: Performance of loadModel(Modelica): time 1.687/1.687, allocations: 171.2 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000464/0.0004641, allocations: 4 kB / 233.8 MB, free: 2.398 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08534/0.08584, allocations: 38.78 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.53/11.62, allocations: 3.693 GB / 3.96 GB, free: 104.3 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/11.62, allocations: 75.8 kB / 3.96 GB, free: 104.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1763/11.8, allocations: 48.46 MB / 4.007 GB, free: 82.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.134e-06/11.8, allocations: 4 kB / 4.007 GB, free: 82.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.428e-05/11.8, allocations: 4 kB / 4.007 GB, free: 82.73 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.002256/11.8, allocations: 0.6354 MB / 4.008 GB, free: 82.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/11.8, allocations: 8.031 kB / 4.008 GB, free: 82.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001731/11.8, allocations: 19.89 kB / 4.008 GB, free: 82.01 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/11.8, allocations: 206.8 kB / 4.008 GB, free: 81.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/11.8, allocations: 12.33 kB / 4.008 GB, free: 81.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.224e-05/11.8, allocations: 16 kB / 4.008 GB, free: 81.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007829/11.8, allocations: 261.4 kB / 4.008 GB, free: 81.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.855e-05/11.8, allocations: 4 kB / 4.008 GB, free: 81.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.379e-05/11.8, allocations: 8 kB / 4.008 GB, free: 81.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.537e-05/11.8, allocations: 11.94 kB / 4.008 GB, free: 81.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/11.8, allocations: 259.8 kB / 4.008 GB, free: 81.2 MB / 362.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.001808/11.8, allocations: 0.687 MB / 4.009 GB, free: 80.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009733/11.8, allocations: 213.2 kB / 4.009 GB, free: 80.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003661/11.8, allocations: 360.3 kB / 4.01 GB, free: 79.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/11.8, allocations: 38.55 kB / 4.01 GB, free: 79.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 2.806e-06/11.8, allocations: 0 / 4.01 GB, free: 79.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.003862/11.81, allocations: 0.679 MB / 4.01 GB, free: 79.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/11.81, allocations: 89.17 kB / 4.01 GB, free: 78.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.816e-05/11.81, allocations: 114.3 kB / 4.011 GB, free: 78.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.297e-05/11.81, allocations: 33.7 kB / 4.011 GB, free: 78.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.212e-05/11.81, allocations: 112.8 kB / 4.011 GB, free: 78.67 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/11.81, allocations: 129.8 kB / 4.011 GB, free: 78.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/11.81, allocations: 7.938 kB / 4.011 GB, free: 78.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.836e-05/11.81, allocations: 326.8 kB / 4.011 GB, free: 78.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006153/11.81, allocations: 131.9 kB / 4.011 GB, free: 78.08 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006561/11.81, allocations: 207.8 kB / 4.011 GB, free: 77.85 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006578/11.81, allocations: 157.3 kB / 4.012 GB, free: 77.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/11.81, allocations: 0 / 4.012 GB, free: 77.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001518/11.81, allocations: 416 kB / 4.012 GB, free: 77.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/11.81, allocations: 8 kB / 4.012 GB, free: 77.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/11.81, allocations: 0 / 4.012 GB, free: 77.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/11.81, allocations: 4 kB / 4.012 GB, free: 77.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008959/11.81, allocations: 88.09 kB / 4.012 GB, free: 77.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/11.81, allocations: 4 kB / 4.012 GB, free: 77.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005439/11.81, allocations: 31.83 kB / 4.012 GB, free: 77.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.309e-05/11.81, allocations: 15.98 kB / 4.012 GB, free: 77.14 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 () * 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.000182/11.81, allocations: 145.7 kB / 4.012 GB, free: 76.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.692e-05/11.81, allocations: 19.77 kB / 4.012 GB, free: 76.97 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005387/11.82, allocations: 180.4 kB / 4.013 GB, free: 76.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/11.82, allocations: 8 kB / 4.013 GB, free: 76.78 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/11.82, allocations: 0 / 4.013 GB, free: 76.78 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/11.82, allocations: 0 / 4.013 GB, free: 76.78 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002359/11.82, allocations: 0.7627 MB / 4.013 GB, free: 75.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/11.82, allocations: 0 / 4.013 GB, free: 75.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007592/11.82, allocations: 84.03 kB / 4.013 GB, free: 75.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.968e-06/11.82, allocations: 4 kB / 4.013 GB, free: 75.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.253e-05/11.82, allocations: 11.94 kB / 4.013 GB, free: 75.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/11.82, allocations: 8 kB / 4.013 GB, free: 75.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/11.82, allocations: 7.953 kB / 4.013 GB, free: 75.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002101/11.82, allocations: 0.7106 MB / 4.014 GB, free: 75.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001734/11.82, allocations: 120.9 kB / 4.014 GB, free: 74.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.319e-05/11.82, allocations: 4 kB / 4.014 GB, free: 74.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005703/11.82, allocations: 19.98 kB / 4.014 GB, free: 74.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.227e-05/11.82, allocations: 31.86 kB / 4.014 GB, free: 74.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.007e-05/11.82, allocations: 24.05 kB / 4.014 GB, free: 74.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.746e-05/11.82, allocations: 95.2 kB / 4.014 GB, free: 74.78 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/11.82, allocations: 0 / 4.014 GB, free: 74.78 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000981/11.82, allocations: 183.8 kB / 4.015 GB, free: 74.6 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 () * 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.001196/11.82, allocations: 0.6357 MB / 4.015 GB, free: 73.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001488/11.83, allocations: 343.8 kB / 4.015 GB, free: 73.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/11.83, allocations: 4.062 kB / 4.015 GB, free: 73.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006668/11.83, allocations: 175.8 kB / 4.016 GB, free: 73.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009324/11.83, allocations: 86.58 kB / 4.016 GB, free: 73.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00242/11.83, allocations: 0.7643 MB / 4.016 GB, free: 72.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/11.83, allocations: 0.7374 MB / 4.017 GB, free: 71.79 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006748/11.83, allocations: 77.88 kB / 4.017 GB, free: 71.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/11.83, allocations: 35.42 kB / 4.017 GB, free: 71.68 MB / 362.7 MB Notification: Performance of SimCode: time 1.242e-06/11.83, allocations: 288 / 4.017 GB, free: 71.68 MB / 362.7 MB Notification: Performance of Templates: time 0.02561/11.86, allocations: 12.22 MB / 4.029 GB, free: 59.47 MB / 362.7 MB