Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.CO2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.CO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.CO2") Notification: Performance of loadModel(ModelicaTest): time 2.132/2.132, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.981e-05/1.994e-05, allocations: 4 kB / 303.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2685, allocations: 54.86 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.333/1.602, allocations: 492.1 MB / 0.8302 GB, free: 125.8 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/1.602, allocations: 72.88 kB / 0.8303 GB, free: 125.8 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2418/1.844, allocations: 56.52 MB / 0.8855 GB, free: 102.4 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.315e-06/1.844, allocations: 0 / 0.8855 GB, free: 102.4 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.395e-05/1.844, allocations: 4 kB / 0.8855 GB, free: 102.4 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001652/1.846, allocations: 0.6857 MB / 0.8861 GB, free: 101.7 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/1.846, allocations: 12.03 kB / 0.8861 GB, free: 101.7 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008798/1.855, allocations: 0.5802 MB / 0.8867 GB, free: 101.1 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000436/1.855, allocations: 260.1 kB / 0.887 GB, free: 100.9 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/1.855, allocations: 123.4 kB / 0.8871 GB, free: 100.7 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/1.855, allocations: 19.94 kB / 0.8871 GB, free: 100.7 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001327/1.857, allocations: 0.5411 MB / 0.8876 GB, free: 100.3 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005404/1.857, allocations: 321.3 kB / 0.8879 GB, free: 99.96 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/1.857, allocations: 3.938 kB / 0.8879 GB, free: 99.96 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.283e-05/1.857, allocations: 4 kB / 0.8879 GB, free: 99.95 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.239e-05/1.858, allocations: 8 kB / 0.8879 GB, free: 99.95 MB / 474.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.002939/1.86, allocations: 2.54 MB / 0.8904 GB, free: 97.11 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/1.862, allocations: 114.5 kB / 0.8905 GB, free: 96.98 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.326e-05/1.862, allocations: 37 kB / 0.8906 GB, free: 96.95 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.855e-05/1.862, allocations: 24.77 kB / 0.8906 GB, free: 96.92 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.853e-05/1.862, allocations: 34.56 kB / 0.8906 GB, free: 96.88 MB / 474.7 MB Notification: Performance of pre-optimization done (n=10): time 3.592e-06/1.862, allocations: 4 kB / 0.8906 GB, free: 96.87 MB / 474.7 MB Notification: Performance of matching and sorting (n=11): time 0.003379/1.865, allocations: 0.4987 MB / 0.8911 GB, free: 96.34 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.031e-05/1.865, allocations: 55.41 kB / 0.8912 GB, free: 96.28 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/1.865, allocations: 183 kB / 0.8913 GB, free: 96.09 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/1.865, allocations: 29.7 kB / 0.8914 GB, free: 96.06 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/1.866, allocations: 285.1 kB / 0.8916 GB, free: 95.78 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.876e-05/1.866, allocations: 47.38 kB / 0.8917 GB, free: 95.73 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.52e-05/1.866, allocations: 0 / 0.8917 GB, free: 95.73 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.025e-05/1.866, allocations: 326.8 kB / 0.892 GB, free: 95.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/1.866, allocations: 64.8 kB / 0.8921 GB, free: 95.34 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/1.866, allocations: 250.1 kB / 0.8923 GB, free: 95 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/1.868, allocations: 283.5 kB / 0.8926 GB, free: 94.72 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/1.868, allocations: 0 / 0.8926 GB, free: 94.72 MB / 474.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001868/1.869, allocations: 0.5153 MB / 0.8931 GB, free: 94.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/1.87, allocations: 8 kB / 0.8931 GB, free: 94.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/1.87, allocations: 11.98 kB / 0.8931 GB, free: 94.18 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/1.87, allocations: 8 kB / 0.8931 GB, free: 94.18 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00068/1.87, allocations: 163.8 kB / 0.8933 GB, free: 94.02 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002941/1.871, allocations: 0.6099 MB / 0.8939 GB, free: 93.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003724/1.871, allocations: 8 kB / 0.8939 GB, free: 93.38 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.14e-05/1.871, allocations: 55.98 kB / 0.8939 GB, free: 93.32 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001229/1.871, allocations: 123.5 kB / 0.894 GB, free: 93.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.486e-05/1.871, allocations: 23.77 kB / 0.8941 GB, free: 93.17 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007713/1.872, allocations: 240.3 kB / 0.8943 GB, free: 92.93 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.964e-06/1.872, allocations: 0 / 0.8943 GB, free: 92.93 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.872, allocations: 0 / 0.8943 GB, free: 92.93 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.448e-06/1.872, allocations: 4 kB / 0.8943 GB, free: 92.93 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006843/1.873, allocations: 464.6 kB / 0.8947 GB, free: 92.42 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.758e-06/1.873, allocations: 4 kB / 0.8947 GB, free: 92.42 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003802/1.873, allocations: 71.95 kB / 0.8948 GB, free: 92.35 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.277e-06/1.873, allocations: 4.062 kB / 0.8948 GB, free: 92.34 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/1.873, allocations: 8 kB / 0.8948 GB, free: 92.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002597/1.874, allocations: 0.5938 MB / 0.8954 GB, free: 91.72 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/1.874, allocations: 0 / 0.8954 GB, free: 91.72 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003042/1.874, allocations: 264.6 kB / 0.8956 GB, free: 91.43 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/1.874, allocations: 120.8 kB / 0.8958 GB, free: 91.29 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.787e-05/1.874, allocations: 0 / 0.8958 GB, free: 91.29 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003164/1.874, allocations: 11.98 kB / 0.8958 GB, free: 91.28 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/1.875, allocations: 15.94 kB / 0.8958 GB, free: 91.26 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-05/1.875, allocations: 27.98 kB / 0.8958 GB, free: 91.23 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001148/1.875, allocations: 147.2 kB / 0.896 GB, free: 91.09 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.502e-06/1.875, allocations: 0 / 0.896 GB, free: 91.09 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001183/1.876, allocations: 267.7 kB / 0.8962 GB, free: 90.83 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00157/1.877, allocations: 0.864 MB / 0.8971 GB, free: 89.96 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006224/1.878, allocations: 218.9 kB / 0.8973 GB, free: 89.75 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.994e-06/1.878, allocations: 0 / 0.8973 GB, free: 89.75 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002584/1.878, allocations: 71.91 kB / 0.8973 GB, free: 89.68 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/1.879, allocations: 24.98 kB / 0.8974 GB, free: 89.66 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09716/1.976, allocations: 29.97 MB / 0.9266 GB, free: 59.54 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001746/1.976, allocations: 0.7287 MB / 0.9273 GB, free: 58.78 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004387/1.977, allocations: 91.38 kB / 0.9274 GB, free: 58.69 MB / 474.7 MB Notification: Performance of SimCode: time 1.827e-06/1.977, allocations: 0 / 0.9274 GB, free: 58.69 MB / 474.7 MB Notification: Performance of Templates: time 0.01514/1.992, allocations: 9.734 MB / 0.9369 GB, free: 48.94 MB / 474.7 MB