Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.87/1.87, allocations: 209.2 MB / 224.8 MB, free: 0.6289 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004645/0.0004647, allocations: 19.98 kB / 282.7 MB, free: 9.539 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3662, allocations: 48.69 MB / 331.4 MB, free: 6.559 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.606/1.972, allocations: 0.4977 GB / 0.8213 GB, free: 120.4 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003489/1.973, allocations: 102.5 kB / 0.8214 GB, free: 120.4 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.125/3.098, allocations: 234.9 MB / 1.051 GB, free: 89.3 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.064e-06/3.098, allocations: 0 / 1.051 GB, free: 89.3 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.717e-05/3.098, allocations: 17.97 kB / 1.051 GB, free: 89.3 MB / 442.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.003656/3.102, allocations: 1.192 MB / 1.052 GB, free: 88.41 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/3.102, allocations: 10.83 kB / 1.052 GB, free: 88.41 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002246/3.102, allocations: 100.8 kB / 1.052 GB, free: 88.32 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/3.103, allocations: 132.6 kB / 1.052 GB, free: 88.26 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/3.105, allocations: 0.5492 MB / 1.053 GB, free: 87.83 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/3.105, allocations: 109.4 kB / 1.053 GB, free: 87.74 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/3.105, allocations: 47.97 kB / 1.053 GB, free: 87.73 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/3.107, allocations: 0.817 MB / 1.054 GB, free: 87.14 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.995e-05/3.107, allocations: 3.938 kB / 1.054 GB, free: 87.14 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/3.107, allocations: 23.56 kB / 1.054 GB, free: 87.12 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.591e-05/3.107, allocations: 38.92 kB / 1.054 GB, free: 87.12 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001563/3.109, allocations: 0.6152 MB / 1.054 GB, free: 86.81 MB / 442.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.005911/3.114, allocations: 3.909 MB / 1.058 GB, free: 83.33 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007931/3.115, allocations: 324.1 kB / 1.058 GB, free: 83.16 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/3.115, allocations: 30.45 kB / 1.059 GB, free: 83.15 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/3.115, allocations: 36.22 kB / 1.059 GB, free: 83.11 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 3.367e-06/3.115, allocations: 3.188 kB / 1.059 GB, free: 83.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.01105/3.127, allocations: 1.634 MB / 1.06 GB, free: 82.11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.856e-05/3.127, allocations: 132.5 kB / 1.06 GB, free: 81.95 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/3.128, allocations: 0.524 MB / 1.061 GB, free: 81.64 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.265e-05/3.128, allocations: 32.77 kB / 1.061 GB, free: 81.6 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003342/3.128, allocations: 414.3 kB / 1.061 GB, free: 81.23 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002069/3.129, allocations: 136.5 kB / 1.061 GB, free: 81.11 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.716e-05/3.129, allocations: 15.16 kB / 1.061 GB, free: 81.1 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/3.129, allocations: 349.3 kB / 1.062 GB, free: 80.76 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007856/3.13, allocations: 196.6 kB / 1.062 GB, free: 80.67 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/3.131, allocations: 0.5259 MB / 1.062 GB, free: 80.12 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/3.132, allocations: 305.9 kB / 1.063 GB, free: 79.98 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/3.132, allocations: 3.875 kB / 1.063 GB, free: 79.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003034/3.135, allocations: 0.8446 MB / 1.064 GB, free: 79.55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.529e-05/3.135, allocations: 11.66 kB / 1.064 GB, free: 79.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.426e-05/3.135, allocations: 14.16 kB / 1.064 GB, free: 79.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002965/3.138, allocations: 313 kB / 1.064 GB, free: 79.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009611/3.139, allocations: 131.2 kB / 1.064 GB, free: 79.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001821/3.141, allocations: 0.8955 MB / 1.065 GB, free: 78.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/3.142, allocations: 50.16 kB / 1.065 GB, free: 78.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001613/3.142, allocations: 68.67 kB / 1.065 GB, free: 78.66 MB / 442.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.0006334/3.143, allocations: 262 kB / 1.065 GB, free: 78.45 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/3.143, allocations: 62.69 kB / 1.065 GB, free: 78.42 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003005/3.146, allocations: 0.666 MB / 1.066 GB, free: 78.07 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/3.146, allocations: 3.938 kB / 1.066 GB, free: 78.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/3.146, allocations: 0 / 1.066 GB, free: 78.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/3.146, allocations: 3.984 kB / 1.066 GB, free: 78.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003458/3.15, allocations: 1.252 MB / 1.067 GB, free: 77.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/3.15, allocations: 15.25 kB / 1.067 GB, free: 77.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002493/3.152, allocations: 204.5 kB / 1.067 GB, free: 77.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001518/3.152, allocations: 30.69 kB / 1.067 GB, free: 77.05 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.465e-05/3.152, allocations: 19.08 kB / 1.067 GB, free: 77.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002639/3.155, allocations: 2.692 MB / 1.07 GB, free: 74.27 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/3.155, allocations: 6.844 kB / 1.07 GB, free: 74.27 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00239/3.158, allocations: 0.8581 MB / 1.071 GB, free: 73.68 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004704/3.158, allocations: 184.2 kB / 1.071 GB, free: 73.51 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002103/3.158, allocations: 10.31 kB / 1.071 GB, free: 73.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009723/3.159, allocations: 24.58 kB / 1.071 GB, free: 73.49 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/3.159, allocations: 43.73 kB / 1.071 GB, free: 73.47 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/3.16, allocations: 42.86 kB / 1.071 GB, free: 73.46 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009557/3.161, allocations: 410.1 kB / 1.072 GB, free: 73.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.41e-07/3.161, allocations: 0 / 1.072 GB, free: 73.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002521/3.163, allocations: 380.4 kB / 1.072 GB, free: 73.12 MB / 442.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.005739/3.169, allocations: 2.658 MB / 1.075 GB, free: 71.09 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002302/3.171, allocations: 0.5478 MB / 1.075 GB, free: 70.55 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.946e-06/3.171, allocations: 0 / 1.075 GB, free: 70.55 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001826/3.173, allocations: 385.9 kB / 1.075 GB, free: 70.16 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003297/3.176, allocations: 318 kB / 1.076 GB, free: 69.88 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02295/3.199, allocations: 12.95 MB / 1.088 GB, free: 56.88 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/3.2, allocations: 0.9416 MB / 1.089 GB, free: 55.91 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008461/3.201, allocations: 279.3 kB / 1.09 GB, free: 55.64 MB / 442.7 MB Notification: Performance of SimCode: time 1.824e-06/3.201, allocations: 4 kB / 1.09 GB, free: 55.63 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.306/6.507, allocations: 23.63 MB / 1.113 GB, free: 32.04 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat does not exist to compare? outputFormat=mat