Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.WaterIF97.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.WaterIF97,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_WaterIF97",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.18/2.18, allocations: 194.9 MB / 211.1 MB, free: 8.555 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003694, allocations: 8 kB / 264 MB, free: 3.492 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3043, allocations: 44.51 MB / 308.6 MB, free: 12.78 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.681/7.985, allocations: 2.614 GB / 2.916 GB, free: 100.1 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/7.985, allocations: 69.08 kB / 2.916 GB, free: 100.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4806/8.466, allocations: 107.3 MB / 3.021 GB, free: 16.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.785e-06/8.466, allocations: 0 / 3.021 GB, free: 16.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.33e-05/8.466, allocations: 0 / 3.021 GB, free: 16.07 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.008201/8.474, allocations: 1.16 MB / 3.022 GB, free: 14.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/8.474, allocations: 12.03 kB / 3.022 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.49e-05/8.474, allocations: 50.58 kB / 3.022 GB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006513/8.475, allocations: 55.72 kB / 3.022 GB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/8.475, allocations: 217.5 kB / 3.022 GB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.208e-05/8.475, allocations: 12.22 kB / 3.022 GB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.924e-05/8.475, allocations: 11.81 kB / 3.022 GB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00186/8.477, allocations: 396.8 kB / 3.022 GB, free: 14.17 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/8.477, allocations: 0 / 3.022 GB, free: 14.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.428e-05/8.477, allocations: 7.5 kB / 3.022 GB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/8.477, allocations: 4 kB / 3.022 GB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002224/8.48, allocations: 376.2 kB / 3.023 GB, free: 13.87 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.001737/8.481, allocations: 1.19 MB / 3.024 GB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/8.483, allocations: 291.4 kB / 3.024 GB, free: 12.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4198/8.903, allocations: 47.17 MB / 3.07 GB, free: 56.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/8.903, allocations: 37.95 kB / 3.07 GB, free: 56.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 3.035e-06/8.903, allocations: 0.9375 kB / 3.07 GB, free: 56.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.01099/8.914, allocations: 1.613 MB / 3.072 GB, free: 55.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/8.914, allocations: 113.7 kB / 3.072 GB, free: 55.83 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/8.914, allocations: 111.1 kB / 3.072 GB, free: 55.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.642e-05/8.914, allocations: 32.36 kB / 3.072 GB, free: 55.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.622e-05/8.914, allocations: 110.5 kB / 3.072 GB, free: 55.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/8.914, allocations: 110.4 kB / 3.072 GB, free: 55.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/8.914, allocations: 11.19 kB / 3.072 GB, free: 55.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.242e-05/8.914, allocations: 336.5 kB / 3.073 GB, free: 55.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006276/8.915, allocations: 137.5 kB / 3.073 GB, free: 55.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006576/8.916, allocations: 194.6 kB / 3.073 GB, free: 55.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006517/8.916, allocations: 157.6 kB / 3.073 GB, free: 55.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/8.916, allocations: 0 / 3.073 GB, free: 55.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001757/8.918, allocations: 433.3 kB / 3.074 GB, free: 55.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/8.918, allocations: 11.22 kB / 3.074 GB, free: 55.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/8.918, allocations: 0 / 3.074 GB, free: 55.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003651/8.918, allocations: 38.06 kB / 3.074 GB, free: 55.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007846/8.919, allocations: 92.84 kB / 3.074 GB, free: 55.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004064/8.92, allocations: 0.5532 MB / 3.074 GB, free: 54.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005163/8.92, allocations: 32.64 kB / 3.074 GB, free: 54.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.484e-05/8.92, allocations: 14.81 kB / 3.074 GB, free: 54.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (medium.phase,state.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002123/8.92, allocations: 138.5 kB / 3.074 GB, free: 54.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/8.921, allocations: 15.53 kB / 3.074 GB, free: 54.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003151/8.924, allocations: 1.469 MB / 3.076 GB, free: 54.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.448e-05/8.924, allocations: 24.25 kB / 3.076 GB, free: 54.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/8.924, allocations: 3.516 kB / 3.076 GB, free: 54.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/8.924, allocations: 4.453 kB / 3.076 GB, free: 54.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004079/8.928, allocations: 1.993 MB / 3.078 GB, free: 53.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/8.928, allocations: 3.938 kB / 3.078 GB, free: 53.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008824/8.929, allocations: 84.06 kB / 3.078 GB, free: 53.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005487/8.93, allocations: 79.45 kB / 3.078 GB, free: 53.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.773e-05/8.93, allocations: 18.52 kB / 3.078 GB, free: 53.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003683/8.93, allocations: 0.5845 MB / 3.079 GB, free: 53.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/8.93, allocations: 3.938 kB / 3.079 GB, free: 53.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003141/8.933, allocations: 1.77 MB / 3.08 GB, free: 52.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/8.933, allocations: 124.5 kB / 3.08 GB, free: 52.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.289e-05/8.933, allocations: 13.89 kB / 3.08 GB, free: 52.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005817/8.934, allocations: 32.33 kB / 3.08 GB, free: 52.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.171e-05/8.934, allocations: 33.94 kB / 3.081 GB, free: 52.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.171e-05/8.934, allocations: 19 kB / 3.081 GB, free: 52.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.938e-05/8.934, allocations: 91.58 kB / 3.081 GB, free: 52.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.9e-07/8.934, allocations: 0 / 3.081 GB, free: 52.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004904/8.939, allocations: 0.9698 MB / 3.082 GB, free: 52.72 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (medium.p,medium.h,V) * Number of discrete variables: 11 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,medium.phase,$cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01312/8.952, allocations: 3.863 MB / 3.085 GB, free: 51.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0021/8.955, allocations: 0.6062 MB / 3.086 GB, free: 51.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/8.955, allocations: 4.438 kB / 3.086 GB, free: 51.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001199/8.956, allocations: 0.5105 MB / 3.086 GB, free: 51.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009672/8.957, allocations: 69.7 kB / 3.087 GB, free: 51.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009937/8.967, allocations: 3.812 MB / 3.09 GB, free: 49.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/8.967, allocations: 0.8349 MB / 3.091 GB, free: 48.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006363/8.968, allocations: 138.2 kB / 3.091 GB, free: 48.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003203/8.968, allocations: 126.4 kB / 3.091 GB, free: 48.32 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/8.968, allocations: 0 / 3.091 GB, free: 48.32 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1574/9.125, allocations: 30.8 MB / 3.121 GB, free: 46.49 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000281/9.126, allocations: 194.6 kB / 3.122 GB, free: 46.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.557/13.68, allocations: 0 / 3.122 GB, free: 46.25 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.WaterIF97_res.mat does not exist to compare? outputFormat=mat