Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.986/1.986, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004938/0.0004938, allocations: 8 kB / 264.1 MB, free: 3.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3353, allocations: 44.52 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.509/1.845, allocations: 434.8 MB / 0.7259 GB, free: 116 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/1.845, allocations: 89.5 kB / 0.726 GB, free: 116 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7695/2.615, allocations: 155.4 MB / 0.8778 GB, free: 95.63 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.843e-06/2.615, allocations: 0 / 0.8778 GB, free: 95.63 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.532e-05/2.615, allocations: 8.5 kB / 0.8778 GB, free: 95.63 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.001302/2.616, allocations: 0.6218 MB / 0.8784 GB, free: 95.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/2.616, allocations: 6.656 kB / 0.8784 GB, free: 95.27 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001061/2.616, allocations: 64.94 kB / 0.8785 GB, free: 95.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003443/2.616, allocations: 44.77 kB / 0.8785 GB, free: 95.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000444/2.617, allocations: 280 kB / 0.8788 GB, free: 95.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/2.617, allocations: 18.58 kB / 0.8788 GB, free: 95.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.514e-05/2.617, allocations: 26.06 kB / 0.8788 GB, free: 95.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006984/2.618, allocations: 314.4 kB / 0.8791 GB, free: 94.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/2.618, allocations: 8.938 kB / 0.8791 GB, free: 94.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.55e-05/2.618, allocations: 12.19 kB / 0.8791 GB, free: 94.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/2.618, allocations: 6.469 kB / 0.8792 GB, free: 94.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004562/2.618, allocations: 203.7 kB / 0.8793 GB, free: 94.91 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.002313/2.621, allocations: 1.584 MB / 0.8809 GB, free: 93.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003867/2.621, allocations: 162.5 kB / 0.881 GB, free: 93.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.99e-05/2.621, allocations: 3.781 kB / 0.8811 GB, free: 93.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/2.621, allocations: 41.56 kB / 0.8811 GB, free: 93.67 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 3.236e-06/2.621, allocations: 0 / 0.8811 GB, free: 93.67 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.009082/2.63, allocations: 1.621 MB / 0.8827 GB, free: 92.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/2.63, allocations: 60.98 kB / 0.8827 GB, free: 92.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003147/2.631, allocations: 226 kB / 0.8829 GB, free: 92.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.688e-05/2.631, allocations: 30.7 kB / 0.883 GB, free: 92.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/2.631, allocations: 171.9 kB / 0.8831 GB, free: 92.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.869e-05/2.631, allocations: 103.2 kB / 0.8832 GB, free: 92.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/2.631, allocations: 9.781 kB / 0.8832 GB, free: 92.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.107e-05/2.631, allocations: 343.8 kB / 0.8836 GB, free: 92.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/2.631, allocations: 90.75 kB / 0.8837 GB, free: 92.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002822/2.632, allocations: 178.2 kB / 0.8838 GB, free: 92.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003022/2.632, allocations: 122.4 kB / 0.8839 GB, free: 92.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/2.632, allocations: 0 / 0.8839 GB, free: 92.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009491/2.633, allocations: 390.5 kB / 0.8843 GB, free: 92.13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/2.633, allocations: 12.12 kB / 0.8843 GB, free: 92.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/2.633, allocations: 2.875 kB / 0.8843 GB, free: 92.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003159/2.633, allocations: 73.53 kB / 0.8844 GB, free: 92.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006189/2.634, allocations: 81.94 kB / 0.8845 GB, free: 92.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001476/2.635, allocations: 1.857 MB / 0.8863 GB, free: 90.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004971/2.636, allocations: 25.16 kB / 0.8863 GB, free: 90.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.75e-05/2.636, allocations: 42.56 kB / 0.8864 GB, free: 90.35 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.0002535/2.636, allocations: 151.8 kB / 0.8865 GB, free: 90.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-05/2.636, allocations: 28.84 kB / 0.8865 GB, free: 90.22 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001465/2.638, allocations: 443 kB / 0.887 GB, free: 90.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/2.638, allocations: 7.156 kB / 0.887 GB, free: 90.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/2.638, allocations: 0 / 0.887 GB, free: 90.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006419/2.639, allocations: 0.5595 MB / 0.8875 GB, free: 89.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/2.64, allocations: 0.7238 MB / 0.8882 GB, free: 89.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/2.64, allocations: 6.219 kB / 0.8882 GB, free: 89.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005598/2.641, allocations: 66.55 kB / 0.8883 GB, free: 89.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001156/2.641, allocations: 24.31 kB / 0.8883 GB, free: 89.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.702e-05/2.641, allocations: 16.17 kB / 0.8883 GB, free: 89.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009019/2.642, allocations: 1.282 MB / 0.8896 GB, free: 88.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/2.642, allocations: 7.375 kB / 0.8896 GB, free: 88.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009856/2.643, allocations: 0.4885 MB / 0.8901 GB, free: 87.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/2.643, allocations: 112.2 kB / 0.8902 GB, free: 87.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.658e-05/2.643, allocations: 3.625 kB / 0.8902 GB, free: 87.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004297/2.643, allocations: 20.39 kB / 0.8902 GB, free: 87.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.355e-05/2.643, allocations: 30.39 kB / 0.8902 GB, free: 87.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.475e-05/2.644, allocations: 33.02 kB / 0.8903 GB, free: 87.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000252/2.644, allocations: 185.5 kB / 0.8904 GB, free: 87.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.51e-07/2.644, allocations: 3.375 kB / 0.8904 GB, free: 87.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001011/2.645, allocations: 189.5 kB / 0.8906 GB, free: 87.7 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.002643/2.647, allocations: 1.84 MB / 0.8924 GB, free: 86.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009799/2.649, allocations: 366 kB / 0.8928 GB, free: 86.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/2.649, allocations: 3.281 kB / 0.8928 GB, free: 86.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003913/2.649, allocations: 235.5 kB / 0.893 GB, free: 86.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/2.65, allocations: 153.2 kB / 0.8931 GB, free: 86.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00426/2.655, allocations: 3.84 MB / 0.8969 GB, free: 83.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/2.655, allocations: 0.7746 MB / 0.8976 GB, free: 83.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000989/2.656, allocations: 119.9 kB / 0.8978 GB, free: 83.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004184/2.657, allocations: 127.9 kB / 0.8979 GB, free: 83.13 MB / 410.7 MB Notification: Performance of SimCode: time 1.212e-06/2.657, allocations: 0 / 0.8979 GB, free: 83.13 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06202/2.719, allocations: 22.91 MB / 0.9202 GB, free: 82.43 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/2.719, allocations: 226.5 kB / 0.9205 GB, free: 82.19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.565/6.284, allocations: 0 / 0.9205 GB, free: 82.19 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.mat does not exist to compare? outputFormat=mat