Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.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) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.923/1.923, allocations: 194.8 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.0003602, allocations: 11.94 kB / 264 MB, free: 13.46 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09846/0.09885, allocations: 44.5 MB / 308.6 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.429/1.527, allocations: 434.8 MB / 0.7259 GB, free: 102.3 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002952/1.528, allocations: 88.06 kB / 0.726 GB, free: 102.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8788/2.407, allocations: 155.4 MB / 0.8778 GB, free: 105.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.444e-06/2.407, allocations: 2.734 kB / 0.8778 GB, free: 105.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.851e-05/2.407, allocations: 7.625 kB / 0.8778 GB, free: 105.4 MB / 410.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.001366/2.408, allocations: 0.6276 MB / 0.8784 GB, free: 105 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/2.408, allocations: 7.656 kB / 0.8784 GB, free: 105 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001565/2.408, allocations: 63.12 kB / 0.8785 GB, free: 104.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003742/2.409, allocations: 46.98 kB / 0.8785 GB, free: 104.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005312/2.409, allocations: 273.1 kB / 0.8788 GB, free: 104.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/2.409, allocations: 22.66 kB / 0.8788 GB, free: 104.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.856e-05/2.409, allocations: 24.78 kB / 0.8788 GB, free: 104.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000723/2.41, allocations: 319.2 kB / 0.8791 GB, free: 104.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/2.41, allocations: 1.594 kB / 0.8791 GB, free: 104.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.92e-05/2.41, allocations: 11.31 kB / 0.8791 GB, free: 104.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/2.41, allocations: 9.922 kB / 0.8791 GB, free: 104.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004738/2.411, allocations: 207.3 kB / 0.8793 GB, free: 104.6 MB / 410.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.002371/2.413, allocations: 1.585 MB / 0.8809 GB, free: 103.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004043/2.414, allocations: 165 kB / 0.881 GB, free: 103.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.674e-05/2.414, allocations: 7.625 kB / 0.881 GB, free: 103.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/2.414, allocations: 40.12 kB / 0.8811 GB, free: 103.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 3.066e-06/2.414, allocations: 0 / 0.8811 GB, free: 103.4 MB / 410.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.008983/2.423, allocations: 1.615 MB / 0.8827 GB, free: 102.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/2.423, allocations: 59.27 kB / 0.8827 GB, free: 102.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003262/2.423, allocations: 226.3 kB / 0.8829 GB, free: 102.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.203e-05/2.423, allocations: 33.33 kB / 0.883 GB, free: 102.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/2.423, allocations: 227.6 kB / 0.8832 GB, free: 102.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.756e-05/2.423, allocations: 101.1 kB / 0.8833 GB, free: 102.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/2.423, allocations: 7.812 kB / 0.8833 GB, free: 102.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.205e-05/2.423, allocations: 329.8 kB / 0.8836 GB, free: 101.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002385/2.424, allocations: 87.59 kB / 0.8837 GB, free: 101.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000294/2.424, allocations: 184.7 kB / 0.8839 GB, free: 101.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003305/2.424, allocations: 117.1 kB / 0.884 GB, free: 101.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/2.424, allocations: 0 / 0.884 GB, free: 101.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009533/2.425, allocations: 384 kB / 0.8843 GB, free: 101.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/2.425, allocations: 7.625 kB / 0.8843 GB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/2.425, allocations: 3.938 kB / 0.8843 GB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003076/2.426, allocations: 72.98 kB / 0.8844 GB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005807/2.426, allocations: 82.16 kB / 0.8845 GB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/2.428, allocations: 1.862 MB / 0.8863 GB, free: 99.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005157/2.428, allocations: 21.86 kB / 0.8863 GB, free: 99.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-05/2.429, allocations: 46.44 kB / 0.8864 GB, free: 99.61 MB / 410.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.0002557/2.429, allocations: 143.7 kB / 0.8865 GB, free: 99.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.509e-05/2.429, allocations: 35.52 kB / 0.8865 GB, free: 99.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/2.43, allocations: 451 kB / 0.887 GB, free: 99.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/2.43, allocations: 2.531 kB / 0.887 GB, free: 99.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/2.43, allocations: 3.594 kB / 0.887 GB, free: 99.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006508/2.431, allocations: 0.5558 MB / 0.8875 GB, free: 98.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/2.433, allocations: 0.7286 MB / 0.8882 GB, free: 98.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/2.433, allocations: 0 / 0.8882 GB, free: 98.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005487/2.433, allocations: 68.61 kB / 0.8883 GB, free: 98.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001196/2.433, allocations: 19.72 kB / 0.8883 GB, free: 98.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.774e-05/2.433, allocations: 18.36 kB / 0.8883 GB, free: 98.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009007/2.434, allocations: 1.286 MB / 0.8896 GB, free: 96.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/2.434, allocations: 0 / 0.8896 GB, free: 96.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/2.435, allocations: 0.5014 MB / 0.8901 GB, free: 96.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/2.435, allocations: 104 kB / 0.8902 GB, free: 96.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.455e-05/2.436, allocations: 7.594 kB / 0.8902 GB, free: 96.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004372/2.436, allocations: 19.75 kB / 0.8902 GB, free: 96.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.578e-05/2.436, allocations: 25.95 kB / 0.8902 GB, free: 96.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.313e-05/2.436, allocations: 31.59 kB / 0.8903 GB, free: 96.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003006/2.436, allocations: 190.2 kB / 0.8904 GB, free: 96.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.8e-07/2.436, allocations: 0 / 0.8904 GB, free: 96.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001085/2.438, allocations: 178.2 kB / 0.8906 GB, free: 96.33 MB / 410.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.002703/2.44, allocations: 1.845 MB / 0.8924 GB, free: 95.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001059/2.441, allocations: 365.1 kB / 0.8928 GB, free: 95.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/2.441, allocations: 0 / 0.8928 GB, free: 95.06 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004175/2.442, allocations: 233.1 kB / 0.893 GB, free: 94.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/2.444, allocations: 161.3 kB / 0.8931 GB, free: 94.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004659/2.448, allocations: 3.87 MB / 0.8969 GB, free: 91.85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/2.449, allocations: 0.7655 MB / 0.8977 GB, free: 91.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005419/2.449, allocations: 134.3 kB / 0.8978 GB, free: 91.09 MB / 410.7 MB Notification: Performance of SimCode: time 1.212e-06/2.449, allocations: 3.125 kB / 0.8978 GB, free: 91.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.144/5.593, allocations: 12.93 MB / 0.9104 GB, free: 83.21 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.mat does not exist to compare? outputFormat=mat