Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.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.WaterIF97OnePhase_ph,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.613/1.613, allocations: 171.1 MB / 186.1 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003508, allocations: 8 kB / 233.4 MB, free: 2.262 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09538/0.09576, allocations: 38.77 MB / 272.1 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.611/7.707, allocations: 2.466 GB / 2.732 GB, free: 51.64 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003313/7.707, allocations: 85.52 kB / 2.732 GB, free: 51.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194/9.902, allocations: 420.3 MB / 3.143 GB, free: 28.37 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.225e-06/9.902, allocations: 2.188 kB / 3.143 GB, free: 28.37 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.699e-05/9.902, allocations: 10.94 kB / 3.143 GB, free: 28.36 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.005072/9.907, allocations: 1.216 MB / 3.144 GB, free: 27.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/9.907, allocations: 11.16 kB / 3.144 GB, free: 27.63 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001415/9.907, allocations: 69.73 kB / 3.144 GB, free: 27.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001795/9.909, allocations: 156.8 kB / 3.144 GB, free: 27.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005443/9.909, allocations: 326.2 kB / 3.144 GB, free: 27.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/9.909, allocations: 28.41 kB / 3.144 GB, free: 27.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.557e-05/9.909, allocations: 27.5 kB / 3.144 GB, free: 27.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/9.911, allocations: 0.5154 MB / 3.145 GB, free: 27.01 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/9.911, allocations: 8.297 kB / 3.145 GB, free: 27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.388e-05/9.911, allocations: 15.62 kB / 3.145 GB, free: 26.99 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/9.911, allocations: 6.938 kB / 3.145 GB, free: 26.99 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000849/9.912, allocations: 330.3 kB / 3.145 GB, free: 26.9 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.003659/9.916, allocations: 2.571 MB / 3.148 GB, free: 24.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007884/9.917, allocations: 269.7 kB / 3.148 GB, free: 24.58 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09855/10.02, allocations: 30.76 MB / 3.178 GB, free: 21.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.885e-05/10.02, allocations: 45.89 kB / 3.178 GB, free: 21.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 4.318e-06/10.02, allocations: 0 / 3.178 GB, free: 21.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.004882/10.02, allocations: 1.205 MB / 3.179 GB, free: 20.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/10.02, allocations: 58.61 kB / 3.179 GB, free: 20.49 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003325/10.02, allocations: 230.7 kB / 3.18 GB, free: 20.35 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.373e-05/10.02, allocations: 33.17 kB / 3.18 GB, free: 20.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/10.02, allocations: 187.9 kB / 3.18 GB, free: 20.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.804e-05/10.02, allocations: 111 kB / 3.18 GB, free: 20.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.629e-05/10.02, allocations: 4 kB / 3.18 GB, free: 20.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/10.02, allocations: 349.1 kB / 3.18 GB, free: 19.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002384/10.02, allocations: 95.33 kB / 3.18 GB, free: 19.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002984/10.02, allocations: 207.9 kB / 3.18 GB, free: 19.51 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000304/10.02, allocations: 126.8 kB / 3.181 GB, free: 19.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/10.02, allocations: 0 / 3.181 GB, free: 19.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001044/10.02, allocations: 410.9 kB / 3.181 GB, free: 19.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/10.02, allocations: 11.2 kB / 3.181 GB, free: 19.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/10.02, allocations: 7.062 kB / 3.181 GB, free: 19.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004301/10.02, allocations: 60.39 kB / 3.181 GB, free: 19.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000609/10.02, allocations: 99.12 kB / 3.181 GB, free: 19.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/10.03, allocations: 2.425 MB / 3.184 GB, free: 16.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004864/10.03, allocations: 36.91 kB / 3.184 GB, free: 16.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.873e-05/10.03, allocations: 18.62 kB / 3.184 GB, free: 16.73 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.000334/10.03, allocations: 158.3 kB / 3.184 GB, free: 16.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.987e-05/10.03, allocations: 30.42 kB / 3.184 GB, free: 16.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001411/10.03, allocations: 0.8761 MB / 3.185 GB, free: 16.15 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/10.03, allocations: 3.438 kB / 3.185 GB, free: 16.15 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/10.03, allocations: 3.953 kB / 3.185 GB, free: 16.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001242/10.03, allocations: 1.048 MB / 3.186 GB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002315/10.03, allocations: 1.48 MB / 3.187 GB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/10.03, allocations: 0 / 3.187 GB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004019/10.03, allocations: 64.06 kB / 3.187 GB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005548/10.03, allocations: 82.56 kB / 3.187 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/10.03, allocations: 11.67 kB / 3.187 GB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005021/10.03, allocations: 0.5857 MB / 3.188 GB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/10.03, allocations: 2.953 kB / 3.188 GB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/10.04, allocations: 0.8232 MB / 3.189 GB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001966/10.04, allocations: 134.3 kB / 3.189 GB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.566e-05/10.04, allocations: 7.469 kB / 3.189 GB, free: 13.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006025/10.04, allocations: 43.84 kB / 3.189 GB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.167e-05/10.04, allocations: 22.52 kB / 3.189 GB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-05/10.04, allocations: 19.3 kB / 3.189 GB, free: 13.33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003418/10.04, allocations: 229.3 kB / 3.189 GB, free: 13.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/10.04, allocations: 4.812 kB / 3.189 GB, free: 13.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005198/10.04, allocations: 0.8917 MB / 3.19 GB, free: 13.02 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.01369/10.06, allocations: 2.576 MB / 3.192 GB, free: 11.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002003/10.06, allocations: 486.1 kB / 3.193 GB, free: 11.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/10.06, allocations: 0 / 3.193 GB, free: 11.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007798/10.06, allocations: 247.7 kB / 3.193 GB, free: 11.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002702/10.06, allocations: 183.8 kB / 3.193 GB, free: 10.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/10.07, allocations: 5.031 MB / 3.198 GB, free: 5.977 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006445/10.07, allocations: 0.8285 MB / 3.199 GB, free: 5.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001013/10.08, allocations: 188.5 kB / 3.199 GB, free: 5.062 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003604/10.08, allocations: 141.8 kB / 3.199 GB, free: 4.938 MB / 378.7 MB Notification: Performance of SimCode: time 1.803e-06/10.08, allocations: 0 / 3.199 GB, free: 4.938 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4383/10.51, allocations: 35.33 MB / 3.234 GB, free: 41.58 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002585/10.51, allocations: 233.8 kB / 3.234 GB, free: 41.34 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.341/14.85, allocations: 0 / 3.234 GB, free: 41.34 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat does not exist to compare? outputFormat=mat