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.356/2.356, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.003e-05/3.009e-05, allocations: 4 kB / 309.8 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3885, allocations: 54.85 MB / 364.6 MB, free: 5.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.295/1.684, allocations: 0.5043 GB / 0.8604 GB, free: 40.32 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003329/1.684, allocations: 96.22 kB / 0.8604 GB, free: 40.27 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.12/2.804, allocations: 233 MB / 1.088 GB, free: 13.38 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.485e-06/2.804, allocations: 3.984 kB / 1.088 GB, free: 13.37 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.529e-05/2.804, allocations: 16 kB / 1.088 GB, free: 13.36 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.003208/2.807, allocations: 1.1 MB / 1.089 GB, free: 12.21 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/2.808, allocations: 8.031 kB / 1.089 GB, free: 12.2 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001549/2.808, allocations: 94.52 kB / 1.089 GB, free: 12.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/2.809, allocations: 139 kB / 1.089 GB, free: 11.96 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/2.81, allocations: 0.5481 MB / 1.09 GB, free: 11.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/2.811, allocations: 108.4 kB / 1.09 GB, free: 11.26 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/2.811, allocations: 44 kB / 1.09 GB, free: 11.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/2.812, allocations: 0.7911 MB / 1.091 GB, free: 10.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/2.812, allocations: 7.938 kB / 1.091 GB, free: 10.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/2.813, allocations: 27.98 kB / 1.091 GB, free: 10.31 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.582e-05/2.813, allocations: 36.98 kB / 1.091 GB, free: 10.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/2.814, allocations: 0.6011 MB / 1.091 GB, free: 9.672 MB / 490.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.006168/2.82, allocations: 3.916 MB / 1.095 GB, free: 5.504 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007272/2.821, allocations: 315.4 kB / 1.096 GB, free: 5.188 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003869/2.821, allocations: 161.4 kB / 1.096 GB, free: 5.027 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/2.822, allocations: 28.98 kB / 1.096 GB, free: 5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/2.822, allocations: 38.84 kB / 1.096 GB, free: 4.953 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 2.845e-06/2.822, allocations: 0 / 1.096 GB, free: 4.953 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.007948/2.83, allocations: 1.505 MB / 1.097 GB, free: 3.371 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/2.83, allocations: 132.5 kB / 1.097 GB, free: 3.211 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007891/2.83, allocations: 0.5149 MB / 1.098 GB, free: 2.691 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.139e-05/2.831, allocations: 41.7 kB / 1.098 GB, free: 2.645 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002296/2.831, allocations: 409.1 kB / 1.098 GB, free: 2.238 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/2.831, allocations: 142 kB / 1.098 GB, free: 2.098 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.395e-05/2.831, allocations: 16 kB / 1.098 GB, free: 2.082 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.942e-05/2.831, allocations: 342.8 kB / 1.099 GB, free: 1.738 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004778/2.832, allocations: 185.5 kB / 1.099 GB, free: 1.555 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006465/2.832, allocations: 0.5255 MB / 1.099 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006451/2.833, allocations: 303.3 kB / 1.1 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/2.833, allocations: 4 kB / 1.1 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.3258/3.159, allocations: 0.8275 MB / 1.101 GB, free: 93.49 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/3.159, allocations: 13.06 kB / 1.101 GB, free: 93.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.283e-05/3.159, allocations: 12.02 kB / 1.101 GB, free: 93.49 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002203/3.161, allocations: 302.9 kB / 1.101 GB, free: 93.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008402/3.162, allocations: 131.7 kB / 1.101 GB, free: 93.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/3.163, allocations: 0.8945 MB / 1.102 GB, free: 92.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009843/3.164, allocations: 43.12 kB / 1.102 GB, free: 92.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/3.164, allocations: 72.98 kB / 1.102 GB, free: 92.96 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 () * 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.000224/3.165, allocations: 160.1 kB / 1.102 GB, free: 92.86 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/3.165, allocations: 68.12 kB / 1.102 GB, free: 92.86 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002245/3.167, allocations: 0.6535 MB / 1.103 GB, free: 92.79 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/3.167, allocations: 11.52 kB / 1.103 GB, free: 92.79 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/3.167, allocations: 2.812 kB / 1.103 GB, free: 92.79 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/3.167, allocations: 3.938 kB / 1.103 GB, free: 92.79 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00256/3.17, allocations: 1.242 MB / 1.104 GB, free: 92.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/3.17, allocations: 1.625 kB / 1.104 GB, free: 92.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001981/3.172, allocations: 214.5 kB / 1.104 GB, free: 92.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001274/3.172, allocations: 25.77 kB / 1.104 GB, free: 92.34 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-05/3.172, allocations: 19.84 kB / 1.104 GB, free: 92.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002031/3.174, allocations: 2.685 MB / 1.107 GB, free: 89.79 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/3.174, allocations: 2.469 kB / 1.107 GB, free: 89.79 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001889/3.176, allocations: 0.8268 MB / 1.108 GB, free: 89.52 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003953/3.176, allocations: 188.6 kB / 1.108 GB, free: 89.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/3.177, allocations: 7.25 kB / 1.108 GB, free: 89.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000734/3.177, allocations: 29.09 kB / 1.108 GB, free: 89.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/3.177, allocations: 44.97 kB / 1.108 GB, free: 89.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.985e-05/3.178, allocations: 41.2 kB / 1.108 GB, free: 89.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007416/3.178, allocations: 406.9 kB / 1.108 GB, free: 89.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.703e-06/3.178, allocations: 0 / 1.108 GB, free: 89.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00181/3.18, allocations: 389.5 kB / 1.109 GB, free: 89.3 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 () * 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.004276/3.184, allocations: 2.648 MB / 1.111 GB, free: 88.07 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001786/3.186, allocations: 0.5327 MB / 1.112 GB, free: 88.07 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/3.186, allocations: 3.953 kB / 1.112 GB, free: 88.06 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001372/3.188, allocations: 390.2 kB / 1.112 GB, free: 87.95 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002577/3.19, allocations: 314.6 kB / 1.113 GB, free: 87.94 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/3.202, allocations: 2.649 MB / 1.115 GB, free: 87.59 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006689/3.203, allocations: 0.944 MB / 1.116 GB, free: 86.89 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009046/3.204, allocations: 282.2 kB / 1.116 GB, free: 86.88 MB / 490.7 MB Notification: Performance of SimCode: time 1.753e-06/3.204, allocations: 0 / 1.116 GB, free: 86.88 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.347/6.551, allocations: 23.49 MB / 1.139 GB, free: 86.3 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