Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.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) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.744/1.744, allocations: 171.1 MB / 186.7 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004735/0.0004736, allocations: 8 kB / 233.4 MB, free: 2.902 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08025/0.08076, allocations: 38.77 MB / 272.1 MB, free: 12.05 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.273/1.354, allocations: 429 MB / 0.6847 GB, free: 26.73 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003181/1.354, allocations: 96.55 kB / 0.6848 GB, free: 26.67 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7432/2.098, allocations: 155.4 MB / 0.8366 GB, free: 24.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.994e-06/2.098, allocations: 192 / 0.8366 GB, free: 24.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.172e-05/2.098, allocations: 8 kB / 0.8366 GB, free: 24.07 MB / 362.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.001193/2.099, allocations: 0.6322 MB / 0.8372 GB, free: 23.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/2.099, allocations: 8.031 kB / 0.8372 GB, free: 23.38 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.061e-05/2.099, allocations: 66.53 kB / 0.8373 GB, free: 23.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003483/2.099, allocations: 39.62 kB / 0.8373 GB, free: 23.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003923/2.1, allocations: 286.5 kB / 0.8376 GB, free: 22.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/2.1, allocations: 16.56 kB / 0.8376 GB, free: 22.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.203e-05/2.1, allocations: 24 kB / 0.8376 GB, free: 22.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006313/2.101, allocations: 315.7 kB / 0.8379 GB, free: 22.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/2.101, allocations: 7.906 kB / 0.8379 GB, free: 22.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.177e-05/2.101, allocations: 12 kB / 0.8379 GB, free: 22.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/2.101, allocations: 8 kB / 0.8379 GB, free: 22.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004403/2.101, allocations: 201.5 kB / 0.8381 GB, free: 22.34 MB / 362.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.002026/2.103, allocations: 1.574 MB / 0.8397 GB, free: 20.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004034/2.104, allocations: 164.1 kB / 0.8398 GB, free: 20.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.096e-05/2.104, allocations: 8.188 kB / 0.8398 GB, free: 20.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/2.104, allocations: 46.64 kB / 0.8399 GB, free: 20.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 3.607e-06/2.104, allocations: 3.984 kB / 0.8399 GB, free: 20.38 MB / 362.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.008826/2.113, allocations: 1.623 MB / 0.8415 GB, free: 18.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/2.113, allocations: 59.39 kB / 0.8415 GB, free: 18.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/2.113, allocations: 228.1 kB / 0.8417 GB, free: 18.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.361e-05/2.113, allocations: 33.7 kB / 0.8418 GB, free: 18.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.297e-05/2.113, allocations: 226.7 kB / 0.842 GB, free: 18.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.419e-05/2.113, allocations: 98.62 kB / 0.8421 GB, free: 17.97 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/2.113, allocations: 4 kB / 0.8421 GB, free: 17.97 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.073e-05/2.113, allocations: 326.8 kB / 0.8424 GB, free: 17.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/2.114, allocations: 87.75 kB / 0.8425 GB, free: 17.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/2.114, allocations: 191.7 kB / 0.8427 GB, free: 17.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002943/2.114, allocations: 123.9 kB / 0.8428 GB, free: 17.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/2.114, allocations: 3.953 kB / 0.8428 GB, free: 17.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008882/2.115, allocations: 382.8 kB / 0.8432 GB, free: 16.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/2.115, allocations: 8 kB / 0.8432 GB, free: 16.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/2.115, allocations: 0 / 0.8432 GB, free: 16.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003089/2.115, allocations: 74.08 kB / 0.8432 GB, free: 16.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005665/2.116, allocations: 87.89 kB / 0.8433 GB, free: 16.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/2.117, allocations: 1.856 MB / 0.8451 GB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004439/2.118, allocations: 15.91 kB / 0.8451 GB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.338e-05/2.118, allocations: 43.98 kB / 0.8452 GB, free: 14.57 MB / 362.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.0002444/2.118, allocations: 157.8 kB / 0.8453 GB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.82e-05/2.118, allocations: 27.72 kB / 0.8454 GB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/2.12, allocations: 451.8 kB / 0.8458 GB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/2.12, allocations: 4 kB / 0.8458 GB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/2.12, allocations: 0 / 0.8458 GB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006237/2.12, allocations: 0.563 MB / 0.8464 GB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/2.122, allocations: 0.7119 MB / 0.847 GB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/2.122, allocations: 8 kB / 0.8471 GB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005328/2.122, allocations: 75.89 kB / 0.8471 GB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001101/2.122, allocations: 20.78 kB / 0.8471 GB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.556e-05/2.123, allocations: 15.98 kB / 0.8472 GB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008389/2.123, allocations: 1.284 MB / 0.8484 GB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/2.123, allocations: 4.031 kB / 0.8484 GB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009933/2.124, allocations: 0.4933 MB / 0.8489 GB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/2.125, allocations: 104.8 kB / 0.849 GB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.249e-05/2.125, allocations: 8 kB / 0.849 GB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004345/2.125, allocations: 23.92 kB / 0.849 GB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.897e-05/2.125, allocations: 31.97 kB / 0.8491 GB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.18e-05/2.125, allocations: 27.98 kB / 0.8491 GB, free: 10.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002446/2.126, allocations: 186 kB / 0.8493 GB, free: 10.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.61e-07/2.126, allocations: 0 / 0.8493 GB, free: 10.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009902/2.127, allocations: 184 kB / 0.8494 GB, free: 9.836 MB / 362.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.002562/2.129, allocations: 1.836 MB / 0.8512 GB, free: 7.957 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009408/2.13, allocations: 371.3 kB / 0.8516 GB, free: 7.582 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/2.13, allocations: 4 kB / 0.8516 GB, free: 7.578 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003684/2.13, allocations: 218.6 kB / 0.8518 GB, free: 7.352 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/2.132, allocations: 156.7 kB / 0.8519 GB, free: 7.199 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003966/2.136, allocations: 3.887 MB / 0.8557 GB, free: 3.188 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/2.136, allocations: 0.7687 MB / 0.8565 GB, free: 2.395 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005136/2.137, allocations: 139.4 kB / 0.8566 GB, free: 2.258 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/2.137, allocations: 3.938 kB / 0.8566 GB, free: 2.254 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.331/5.468, allocations: 12.91 MB / 0.8692 GB, free: 75.18 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.mat does not exist to compare? outputFormat=mat