Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") Notification: Performance of loadModel(ModelicaTest): time 2.364/2.364, allocations: 234.9 MB / 251.1 MB, free: 9.699 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006098/0.0006099, allocations: 15.98 kB / 315 MB, free: 9.742 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4079, allocations: 54.85 MB / 369.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.32/1.728, allocations: 0.5043 GB / 0.8655 GB, free: 1.508 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003435/1.728, allocations: 98.02 kB / 0.8656 GB, free: 1.453 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.487/3.215, allocations: 233.5 MB / 1.094 GB, free: 108.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.537e-06/3.215, allocations: 0 / 1.094 GB, free: 108.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.307e-05/3.215, allocations: 20.81 kB / 1.094 GB, free: 108.8 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.004319/3.22, allocations: 1.173 MB / 1.095 GB, free: 108.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/3.22, allocations: 9.625 kB / 1.095 GB, free: 108.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/3.221, allocations: 144 kB / 1.095 GB, free: 108.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001856/3.223, allocations: 0.5485 MB / 1.095 GB, free: 108.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001475/3.223, allocations: 106.5 kB / 1.096 GB, free: 108 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001868/3.224, allocations: 53.91 kB / 1.096 GB, free: 108 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001993/3.226, allocations: 0.8125 MB / 1.096 GB, free: 107.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.709e-05/3.226, allocations: 3.562 kB / 1.096 GB, free: 107.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/3.226, allocations: 24.56 kB / 1.096 GB, free: 107.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-05/3.226, allocations: 45.5 kB / 1.097 GB, free: 107.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001804/3.228, allocations: 0.6073 MB / 1.097 GB, free: 107.8 MB / 490.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.006948/3.235, allocations: 3.902 MB / 1.101 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/3.236, allocations: 332.8 kB / 1.101 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001558/3.236, allocations: 28.34 kB / 1.101 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/3.236, allocations: 38.22 kB / 1.101 GB, free: 105.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 3.917e-06/3.236, allocations: 3.469 kB / 1.101 GB, free: 105.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.01233/3.248, allocations: 1.626 MB / 1.103 GB, free: 104.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.86e-05/3.249, allocations: 132.8 kB / 1.103 GB, free: 104.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/3.25, allocations: 0.5975 MB / 1.104 GB, free: 104.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001731/3.25, allocations: 32.45 kB / 1.104 GB, free: 104.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003731/3.251, allocations: 412.6 kB / 1.104 GB, free: 104.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/3.251, allocations: 140.1 kB / 1.104 GB, free: 104 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.911e-05/3.251, allocations: 15.28 kB / 1.104 GB, free: 104 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/3.251, allocations: 341.7 kB / 1.104 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007645/3.252, allocations: 198.8 kB / 1.105 GB, free: 103.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009835/3.253, allocations: 0.5365 MB / 1.105 GB, free: 103.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009934/3.254, allocations: 303.8 kB / 1.105 GB, free: 103.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/3.254, allocations: 3.375 kB / 1.105 GB, free: 103.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002947/3.257, allocations: 0.8468 MB / 1.106 GB, free: 103.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.688e-05/3.257, allocations: 14.31 kB / 1.106 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.584e-05/3.257, allocations: 15.22 kB / 1.106 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003095/3.26, allocations: 301.4 kB / 1.107 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/3.261, allocations: 130.5 kB / 1.107 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002096/3.263, allocations: 0.8948 MB / 1.108 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/3.265, allocations: 57.77 kB / 1.108 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002055/3.265, allocations: 68.92 kB / 1.108 GB, free: 102.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0007399/3.266, allocations: 253.8 kB / 1.108 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002823/3.266, allocations: 63.91 kB / 1.108 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003215/3.27, allocations: 0.6738 MB / 1.109 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/3.27, allocations: 3.844 kB / 1.109 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/3.27, allocations: 0 / 1.109 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/3.27, allocations: 7.562 kB / 1.109 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003847/3.274, allocations: 1.259 MB / 1.11 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/3.274, allocations: 5.938 kB / 1.11 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002602/3.276, allocations: 208.6 kB / 1.11 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001938/3.276, allocations: 26.62 kB / 1.11 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/3.277, allocations: 24.17 kB / 1.11 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002919/3.279, allocations: 2.678 MB / 1.113 GB, free: 99.42 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/3.28, allocations: 5.938 kB / 1.113 GB, free: 99.42 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002503/3.282, allocations: 0.7843 MB / 1.114 GB, free: 99.19 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006171/3.283, allocations: 181.4 kB / 1.114 GB, free: 99.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002432/3.283, allocations: 11.41 kB / 1.114 GB, free: 99.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/3.284, allocations: 35.12 kB / 1.114 GB, free: 99.06 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/3.284, allocations: 46 kB / 1.114 GB, free: 99.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/3.284, allocations: 39.61 kB / 1.114 GB, free: 99.06 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009993/3.285, allocations: 416.4 kB / 1.114 GB, free: 98.96 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.01e-07/3.285, allocations: 3.406 kB / 1.114 GB, free: 98.96 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002782/3.288, allocations: 378.9 kB / 1.115 GB, free: 98.94 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (39): * Single equations (assignments): 37 * 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: 1 * 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: 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.003352/3.292, allocations: 1.032 MB / 1.116 GB, free: 98.73 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002482/3.294, allocations: 0.5486 MB / 1.116 GB, free: 98.72 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/3.294, allocations: 3 kB / 1.116 GB, free: 98.72 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00208/3.296, allocations: 399 kB / 1.117 GB, free: 98.61 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003569/3.3, allocations: 321.5 kB / 1.117 GB, free: 98.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01448/3.314, allocations: 3.068 MB / 1.12 GB, free: 97.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006722/3.315, allocations: 0.9456 MB / 1.121 GB, free: 97.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009603/3.316, allocations: 115.4 kB / 1.121 GB, free: 97.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.553e-06/3.316, allocations: 0 / 1.121 GB, free: 97.2 MB / 490.7 MB Notification: Performance of Templates: time 0.04087/3.357, allocations: 20.56 MB / 1.141 GB, free: 96.43 MB / 490.7 MB