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.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_cpp_Modelica_Media_Examples_WaterIF97",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.902/1.902, allocations: 194.8 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003818/0.0003817, allocations: 8 kB / 264 MB, free: 13.49 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1017, allocations: 44.5 MB / 308.5 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.697/7.799, allocations: 2.614 GB / 2.916 GB, free: 86.57 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/7.799, allocations: 70.91 kB / 2.916 GB, free: 86.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7245/8.524, allocations: 107.3 MB / 3.021 GB, free: 74.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.064e-06/8.524, allocations: 0 / 3.021 GB, free: 74.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.633e-05/8.524, allocations: 2.5 kB / 3.021 GB, free: 74.86 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.008372/8.532, allocations: 1.158 MB / 3.022 GB, free: 74.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/8.532, allocations: 8.688 kB / 3.022 GB, free: 74.31 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.247e-05/8.533, allocations: 46.64 kB / 3.022 GB, free: 74.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006779/8.533, allocations: 67.03 kB / 3.022 GB, free: 74.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/8.534, allocations: 219.1 kB / 3.022 GB, free: 74.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.331e-05/8.534, allocations: 11.22 kB / 3.022 GB, free: 74.06 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.442e-05/8.534, allocations: 17.62 kB / 3.022 GB, free: 74.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/8.536, allocations: 399.3 kB / 3.022 GB, free: 73.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/8.536, allocations: 0.875 kB / 3.022 GB, free: 73.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.15e-05/8.536, allocations: 6.281 kB / 3.022 GB, free: 73.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/8.536, allocations: 3.969 kB / 3.022 GB, free: 73.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002332/8.538, allocations: 369.6 kB / 3.023 GB, free: 73.96 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.00175/8.54, allocations: 1.192 MB / 3.024 GB, free: 72.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/8.541, allocations: 291.1 kB / 3.024 GB, free: 72.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1443/8.685, allocations: 47.18 MB / 3.07 GB, free: 43.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/8.685, allocations: 45.25 kB / 3.07 GB, free: 43.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 3.386e-06/8.686, allocations: 0 / 3.07 GB, free: 43.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.01072/8.696, allocations: 1.609 MB / 3.072 GB, free: 43.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/8.696, allocations: 106.2 kB / 3.072 GB, free: 43.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.438e-05/8.696, allocations: 123.3 kB / 3.072 GB, free: 43.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.491e-05/8.696, allocations: 29.2 kB / 3.072 GB, free: 43.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.48e-05/8.697, allocations: 170.8 kB / 3.072 GB, free: 42.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/8.697, allocations: 121.5 kB / 3.072 GB, free: 42.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/8.697, allocations: 7.75 kB / 3.072 GB, free: 42.78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.362e-05/8.697, allocations: 327.5 kB / 3.073 GB, free: 42.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006253/8.697, allocations: 138.8 kB / 3.073 GB, free: 42.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006465/8.698, allocations: 207.9 kB / 3.073 GB, free: 42.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006437/8.699, allocations: 148.5 kB / 3.073 GB, free: 42.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/8.699, allocations: 3.844 kB / 3.073 GB, free: 42.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001694/8.7, allocations: 440.9 kB / 3.074 GB, free: 42.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/8.701, allocations: 7.031 kB / 3.074 GB, free: 42.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/8.701, allocations: 7.562 kB / 3.074 GB, free: 42.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003474/8.701, allocations: 39.75 kB / 3.074 GB, free: 42.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007994/8.702, allocations: 90.45 kB / 3.074 GB, free: 42.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003634/8.702, allocations: 0.549 MB / 3.074 GB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004884/8.703, allocations: 24.36 kB / 3.074 GB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.952e-05/8.703, allocations: 17.81 kB / 3.074 GB, free: 41.8 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.0001855/8.703, allocations: 137.5 kB / 3.074 GB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/8.703, allocations: 21.56 kB / 3.074 GB, free: 41.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00304/8.706, allocations: 1.464 MB / 3.076 GB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.079e-05/8.706, allocations: 22.52 kB / 3.076 GB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/8.706, allocations: 0 / 3.076 GB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/8.706, allocations: 3.656 kB / 3.076 GB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003983/8.71, allocations: 1.993 MB / 3.078 GB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/8.71, allocations: 0 / 3.078 GB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007616/8.711, allocations: 90.23 kB / 3.078 GB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005201/8.712, allocations: 73.38 kB / 3.078 GB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.313e-05/8.712, allocations: 21.69 kB / 3.078 GB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003638/8.712, allocations: 0.5883 MB / 3.079 GB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/8.712, allocations: 3.188 kB / 3.079 GB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003111/8.715, allocations: 1.779 MB / 3.08 GB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/8.715, allocations: 127.8 kB / 3.08 GB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.947e-05/8.715, allocations: 10.28 kB / 3.081 GB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000584/8.716, allocations: 26.97 kB / 3.081 GB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/8.716, allocations: 35 kB / 3.081 GB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.972e-05/8.716, allocations: 19.2 kB / 3.081 GB, free: 39.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.297e-05/8.716, allocations: 98.5 kB / 3.081 GB, free: 39.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.91e-07/8.716, allocations: 0 / 3.081 GB, free: 39.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004778/8.721, allocations: 0.9594 MB / 3.082 GB, free: 39.68 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.01252/8.734, allocations: 3.861 MB / 3.085 GB, free: 38.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001894/8.735, allocations: 0.6038 MB / 3.086 GB, free: 38.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/8.736, allocations: 448 / 3.086 GB, free: 38.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001162/8.737, allocations: 0.5204 MB / 3.086 GB, free: 38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009317/8.738, allocations: 76.64 kB / 3.087 GB, free: 37.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009431/8.747, allocations: 3.837 MB / 3.09 GB, free: 35.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/8.747, allocations: 0.8283 MB / 3.091 GB, free: 34.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003448/8.748, allocations: 132 kB / 3.091 GB, free: 34.55 MB / 410.7 MB Notification: Performance of SimCode: time 1.192e-06/8.748, allocations: 0 / 3.091 GB, free: 34.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.703/12.45, allocations: 24.79 MB / 3.115 GB, free: 31.38 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.WaterIF97_res.mat does not exist to compare? outputFormat=mat