Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") Notification: Performance of loadModel(Modelica): time 1.764/1.764, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.0003571, allocations: 8 kB / 264 MB, free: 13.54 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0887/0.08908, allocations: 44.51 MB / 308.5 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.246/1.335, allocations: 434.8 MB / 0.7258 GB, free: 106.6 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/1.335, allocations: 89.78 kB / 0.7259 GB, free: 106.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6465/1.982, allocations: 155.4 MB / 0.8777 GB, free: 103.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.285e-06/1.982, allocations: 0 / 0.8777 GB, free: 103.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.966e-05/1.982, allocations: 5.719 kB / 0.8777 GB, free: 103.8 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.000981/1.983, allocations: 0.6319 MB / 0.8783 GB, free: 103.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/1.983, allocations: 7.406 kB / 0.8783 GB, free: 103.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003326/1.983, allocations: 46.59 kB / 0.8783 GB, free: 103.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/1.984, allocations: 280.2 kB / 0.8786 GB, free: 103.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/1.984, allocations: 18.78 kB / 0.8786 GB, free: 103.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.089e-05/1.984, allocations: 24.34 kB / 0.8786 GB, free: 103.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006152/1.984, allocations: 319.8 kB / 0.879 GB, free: 103 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/1.984, allocations: 1.688 kB / 0.879 GB, free: 103 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.68e-05/1.985, allocations: 11.19 kB / 0.879 GB, free: 103 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.546e-06/1.985, allocations: 7.688 kB / 0.879 GB, free: 103 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004269/1.985, allocations: 199.2 kB / 0.8792 GB, free: 103 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.001866/1.987, allocations: 1.58 MB / 0.8807 GB, free: 101.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003393/1.987, allocations: 167.1 kB / 0.8809 GB, free: 101.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.687e-05/1.987, allocations: 7.484 kB / 0.8809 GB, free: 101.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/1.987, allocations: 41.31 kB / 0.8809 GB, free: 101.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 5.628e-06/1.987, allocations: 7.625 kB / 0.8809 GB, free: 101.8 MB / 410.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.009303/1.997, allocations: 1.606 MB / 0.8825 GB, free: 101.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/1.997, allocations: 66.95 kB / 0.8825 GB, free: 101 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004632/1.997, allocations: 224.9 kB / 0.8828 GB, free: 100.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.23e-05/1.997, allocations: 32.89 kB / 0.8828 GB, free: 100.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/1.998, allocations: 230.6 kB / 0.883 GB, free: 100.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/1.998, allocations: 100.7 kB / 0.8831 GB, free: 100.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.461e-05/1.998, allocations: 9.578 kB / 0.8831 GB, free: 100.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.81e-05/1.998, allocations: 332.3 kB / 0.8834 GB, free: 100.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003601/1.998, allocations: 84.84 kB / 0.8835 GB, free: 100.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004251/1.999, allocations: 183.4 kB / 0.8837 GB, free: 100.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004848/1.999, allocations: 118.5 kB / 0.8838 GB, free: 100.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.584e-06/1.999, allocations: 0 / 0.8838 GB, free: 100.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001444/2.001, allocations: 385 kB / 0.8842 GB, free: 100.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/2.001, allocations: 8.375 kB / 0.8842 GB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/2.001, allocations: 3.906 kB / 0.8842 GB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004102/2.001, allocations: 75.11 kB / 0.8843 GB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000688/2.002, allocations: 79.31 kB / 0.8843 GB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001979/2.004, allocations: 1.866 MB / 0.8862 GB, free: 98.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006679/2.005, allocations: 16.77 kB / 0.8862 GB, free: 98.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/2.005, allocations: 47.12 kB / 0.8862 GB, free: 98.36 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003344/2.005, allocations: 146.8 kB / 0.8864 GB, free: 98.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/2.005, allocations: 26.78 kB / 0.8864 GB, free: 98.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002221/2.008, allocations: 445.5 kB / 0.8868 GB, free: 98.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/2.008, allocations: 3.938 kB / 0.8868 GB, free: 98.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.27e-06/2.008, allocations: 0 / 0.8868 GB, free: 98.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009763/2.009, allocations: 0.5654 MB / 0.8874 GB, free: 97.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002068/2.011, allocations: 0.7226 MB / 0.8881 GB, free: 97.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.209e-06/2.011, allocations: 0 / 0.8881 GB, free: 97.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000723/2.011, allocations: 76.89 kB / 0.8881 GB, free: 97.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001698/2.012, allocations: 22.3 kB / 0.8882 GB, free: 97.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.719e-05/2.012, allocations: 14.06 kB / 0.8882 GB, free: 97.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001275/2.013, allocations: 1.284 MB / 0.8894 GB, free: 96.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/2.013, allocations: 3.953 kB / 0.8894 GB, free: 96.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/2.015, allocations: 0.4969 MB / 0.8899 GB, free: 95.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/2.015, allocations: 107.6 kB / 0.89 GB, free: 95.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/2.015, allocations: 7.188 kB / 0.89 GB, free: 95.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006185/2.016, allocations: 16.81 kB / 0.89 GB, free: 95.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.007e-05/2.016, allocations: 24.78 kB / 0.8901 GB, free: 95.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-05/2.016, allocations: 31.88 kB / 0.8901 GB, free: 95.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003771/2.016, allocations: 187.6 kB / 0.8903 GB, free: 95.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.42e-07/2.016, allocations: 0 / 0.8903 GB, free: 95.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001594/2.018, allocations: 192.6 kB / 0.8905 GB, free: 95.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.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 (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001974/2.02, allocations: 0.7676 MB / 0.8912 GB, free: 95.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001354/2.021, allocations: 373.9 kB / 0.8916 GB, free: 95.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.957e-06/2.021, allocations: 3.219 kB / 0.8916 GB, free: 95.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005515/2.022, allocations: 230.5 kB / 0.8918 GB, free: 95.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00201/2.024, allocations: 154.3 kB / 0.8919 GB, free: 95.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/2.026, allocations: 0.8584 MB / 0.8928 GB, free: 94.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/2.027, allocations: 0.7688 MB / 0.8935 GB, free: 94.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006822/2.027, allocations: 79.05 kB / 0.8936 GB, free: 94.2 MB / 410.7 MB Notification: Performance of SimCode: time 2.611e-06/2.027, allocations: 3.656 kB / 0.8936 GB, free: 94.2 MB / 410.7 MB Notification: Performance of Templates: time 0.03012/2.057, allocations: 11.59 MB / 0.9049 GB, free: 90.98 MB / 410.7 MB