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: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.336/2.336, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004428/0.0004428, allocations: 12 kB / 314.5 MB, free: 9.449 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3548, allocations: 54.85 MB / 369.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.71/2.065, allocations: 0.5044 GB / 0.8651 GB, free: 125.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003042/2.065, allocations: 106.1 kB / 0.8652 GB, free: 125.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.191/3.257, allocations: 233.5 MB / 1.093 GB, free: 112.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.184e-06/3.257, allocations: 0 / 1.093 GB, free: 112.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.885e-05/3.257, allocations: 19.75 kB / 1.093 GB, free: 112.1 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.003638/3.261, allocations: 1.173 MB / 1.094 GB, free: 111.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/3.261, allocations: 9.688 kB / 1.094 GB, free: 111.2 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002227/3.261, allocations: 95.23 kB / 1.094 GB, free: 111.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/3.262, allocations: 143.7 kB / 1.095 GB, free: 111 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/3.264, allocations: 0.5507 MB / 1.095 GB, free: 110.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/3.264, allocations: 96.91 kB / 1.095 GB, free: 110.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/3.264, allocations: 54.41 kB / 1.095 GB, free: 110.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/3.266, allocations: 0.805 MB / 1.096 GB, free: 110 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.244e-05/3.266, allocations: 1.875 kB / 1.096 GB, free: 110 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/3.266, allocations: 22.45 kB / 1.096 GB, free: 109.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.203e-05/3.266, allocations: 43.58 kB / 1.096 GB, free: 109.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/3.268, allocations: 0.6125 MB / 1.097 GB, free: 109.6 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.005867/3.273, allocations: 3.909 MB / 1.101 GB, free: 106.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008041/3.274, allocations: 331.1 kB / 1.101 GB, free: 106 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001319/3.274, allocations: 31.94 kB / 1.101 GB, free: 106 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/3.275, allocations: 38.78 kB / 1.101 GB, free: 105.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 4.007e-06/3.275, allocations: 3.688 kB / 1.101 GB, free: 105.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.008729/3.283, allocations: 1.616 MB / 1.103 GB, free: 104.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/3.283, allocations: 134.3 kB / 1.103 GB, free: 104.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008684/3.284, allocations: 0.5289 MB / 1.103 GB, free: 104.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.689e-05/3.284, allocations: 37.14 kB / 1.103 GB, free: 104.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002546/3.285, allocations: 408.6 kB / 1.104 GB, free: 104.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/3.285, allocations: 143.3 kB / 1.104 GB, free: 103.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.533e-05/3.285, allocations: 11.88 kB / 1.104 GB, free: 103.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.796e-05/3.285, allocations: 349.7 kB / 1.104 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005537/3.285, allocations: 199.5 kB / 1.104 GB, free: 103.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007164/3.286, allocations: 0.5289 MB / 1.105 GB, free: 103 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007076/3.287, allocations: 306.3 kB / 1.105 GB, free: 102.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/3.287, allocations: 7.562 kB / 1.105 GB, free: 102.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002083/3.289, allocations: 0.842 MB / 1.106 GB, free: 102.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/3.289, allocations: 12.22 kB / 1.106 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/3.289, allocations: 10.31 kB / 1.106 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002289/3.291, allocations: 304.9 kB / 1.106 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008167/3.292, allocations: 132.1 kB / 1.106 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/3.294, allocations: 0.9036 MB / 1.107 GB, free: 101.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/3.295, allocations: 51.25 kB / 1.107 GB, free: 101.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/3.295, allocations: 71.61 kB / 1.107 GB, free: 101.5 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.0005328/3.296, allocations: 249.4 kB / 1.108 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/3.296, allocations: 62.56 kB / 1.108 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002297/3.298, allocations: 0.6658 MB / 1.108 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/3.298, allocations: 7.922 kB / 1.108 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/3.298, allocations: 1 kB / 1.108 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/3.298, allocations: 3.984 kB / 1.108 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002818/3.301, allocations: 1.267 MB / 1.11 GB, free: 99.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/3.301, allocations: 0 / 1.11 GB, free: 99.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001917/3.303, allocations: 205.8 kB / 1.11 GB, free: 99.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001507/3.303, allocations: 19.28 kB / 1.11 GB, free: 99.91 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.51e-05/3.303, allocations: 30.2 kB / 1.11 GB, free: 99.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002202/3.306, allocations: 2.686 MB / 1.112 GB, free: 97.12 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/3.306, allocations: 7.828 kB / 1.112 GB, free: 97.12 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001909/3.308, allocations: 0.843 MB / 1.113 GB, free: 96.32 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004052/3.308, allocations: 172.3 kB / 1.113 GB, free: 96.14 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/3.308, allocations: 16 kB / 1.113 GB, free: 96.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007166/3.309, allocations: 27.17 kB / 1.113 GB, free: 96.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/3.309, allocations: 43.84 kB / 1.114 GB, free: 96.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.386e-05/3.309, allocations: 43.98 kB / 1.114 GB, free: 96.01 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007275/3.31, allocations: 415 kB / 1.114 GB, free: 95.61 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.6e-07/3.31, allocations: 2.656 kB / 1.114 GB, free: 95.61 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001987/3.312, allocations: 386.9 kB / 1.114 GB, free: 95.23 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.004545/3.316, allocations: 2.674 MB / 1.117 GB, free: 92.79 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001898/3.318, allocations: 0.5439 MB / 1.117 GB, free: 92.25 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/3.318, allocations: 0 / 1.117 GB, free: 92.25 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001435/3.32, allocations: 393.4 kB / 1.118 GB, free: 91.85 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002602/3.323, allocations: 316.6 kB / 1.118 GB, free: 91.56 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01853/3.341, allocations: 12.95 MB / 1.131 GB, free: 78.64 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005062/3.342, allocations: 0.9407 MB / 1.132 GB, free: 77.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009305/3.343, allocations: 285.4 kB / 1.132 GB, free: 77.41 MB / 490.7 MB Notification: Performance of SimCode: time 1.333e-06/3.343, allocations: 0 / 1.132 GB, free: 77.41 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.479/6.821, allocations: 23.58 MB / 1.155 GB, free: 53.92 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat does not exist to compare? outputFormat=mat