Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadModel(Modelica): time 1.756/1.756, allocations: 194.9 MB / 211.7 MB, free: 2.977 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004627/0.0004629, allocations: 8 kB / 264 MB, free: 13.55 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0859/0.08639, allocations: 44.5 MB / 308.5 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.028/6.115, allocations: 2.576 GB / 2.877 GB, free: 84.25 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/6.115, allocations: 87.12 kB / 2.877 GB, free: 84.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894/8.009, allocations: 431 MB / 3.298 GB, free: 33.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.333e-06/8.009, allocations: 0 / 3.298 GB, free: 33.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.522e-05/8.009, allocations: 10.69 kB / 3.298 GB, free: 33.55 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.004071/8.013, allocations: 1.235 MB / 3.299 GB, free: 33.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/8.013, allocations: 11.38 kB / 3.299 GB, free: 33.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001641/8.015, allocations: 156.1 kB / 3.3 GB, free: 33 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005001/8.015, allocations: 315.7 kB / 3.3 GB, free: 32.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/8.015, allocations: 24.78 kB / 3.3 GB, free: 32.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.228e-05/8.015, allocations: 34.61 kB / 3.3 GB, free: 32.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/8.017, allocations: 0.5165 MB / 3.3 GB, free: 32.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/8.017, allocations: 4 kB / 3.3 GB, free: 32.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.806e-05/8.017, allocations: 18.47 kB / 3.3 GB, free: 32.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/8.017, allocations: 7.875 kB / 3.3 GB, free: 32.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008001/8.018, allocations: 324.3 kB / 3.301 GB, free: 32.68 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.003131/8.021, allocations: 2.572 MB / 3.303 GB, free: 30.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007205/8.022, allocations: 269.7 kB / 3.304 GB, free: 30.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0725/8.094, allocations: 30.75 MB / 3.334 GB, free: 28.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.247e-05/8.094, allocations: 42.36 kB / 3.334 GB, free: 28.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 3.012e-06/8.094, allocations: 1.203 kB / 3.334 GB, free: 28.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.004354/8.099, allocations: 1.209 MB / 3.335 GB, free: 28.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/8.099, allocations: 51.41 kB / 3.335 GB, free: 28.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000337/8.099, allocations: 244.6 kB / 3.335 GB, free: 28.03 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.927e-05/8.099, allocations: 33.39 kB / 3.335 GB, free: 28 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/8.099, allocations: 251.6 kB / 3.335 GB, free: 27.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.463e-05/8.099, allocations: 108.2 kB / 3.335 GB, free: 27.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.198e-05/8.1, allocations: 6.438 kB / 3.335 GB, free: 27.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001588/8.1, allocations: 322 kB / 3.336 GB, free: 27.42 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/8.1, allocations: 93.73 kB / 3.336 GB, free: 27.42 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/8.1, allocations: 209.9 kB / 3.336 GB, free: 27.28 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/8.1, allocations: 124 kB / 3.336 GB, free: 27.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.099e-06/8.1, allocations: 0 / 3.336 GB, free: 27.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009701/8.101, allocations: 416.6 kB / 3.337 GB, free: 27.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/8.102, allocations: 8.438 kB / 3.337 GB, free: 27.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/8.102, allocations: 7.219 kB / 3.337 GB, free: 27.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003697/8.102, allocations: 62.72 kB / 3.337 GB, free: 27.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004991/8.102, allocations: 87.91 kB / 3.337 GB, free: 27.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00225/8.105, allocations: 2.423 MB / 3.339 GB, free: 24.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004394/8.105, allocations: 38.39 kB / 3.339 GB, free: 24.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.882e-05/8.105, allocations: 15.38 kB / 3.339 GB, free: 24.82 MB / 426.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.0002987/8.106, allocations: 172.5 kB / 3.339 GB, free: 24.69 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.051e-05/8.106, allocations: 27.38 kB / 3.339 GB, free: 24.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/8.107, allocations: 0.8723 MB / 3.34 GB, free: 24.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/8.107, allocations: 8.969 kB / 3.34 GB, free: 24.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.303e-06/8.107, allocations: 3.812 kB / 3.34 GB, free: 24.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001138/8.108, allocations: 1.038 MB / 3.341 GB, free: 24.06 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002101/8.11, allocations: 1.5 MB / 3.343 GB, free: 23.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.485e-06/8.11, allocations: 3.188 kB / 3.343 GB, free: 23.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003336/8.111, allocations: 55.64 kB / 3.343 GB, free: 23.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005066/8.111, allocations: 77.06 kB / 3.343 GB, free: 23.65 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.795e-05/8.111, allocations: 3.875 kB / 3.343 GB, free: 23.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005117/8.112, allocations: 0.5976 MB / 3.343 GB, free: 23.12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.448e-06/8.112, allocations: 0 / 3.343 GB, free: 23.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/8.113, allocations: 0.8197 MB / 3.344 GB, free: 22.94 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001922/8.113, allocations: 132.9 kB / 3.344 GB, free: 22.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.923e-05/8.113, allocations: 10.78 kB / 3.344 GB, free: 22.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004748/8.114, allocations: 46.75 kB / 3.344 GB, free: 22.81 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/8.114, allocations: 20.84 kB / 3.344 GB, free: 22.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-05/8.114, allocations: 19.89 kB / 3.344 GB, free: 22.81 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003262/8.114, allocations: 232 kB / 3.345 GB, free: 22.72 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.549e-06/8.114, allocations: 4 kB / 3.345 GB, free: 22.72 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003769/8.118, allocations: 0.8869 MB / 3.345 GB, free: 22.6 MB / 426.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.00661/8.125, allocations: 1.333 MB / 3.347 GB, free: 22.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00116/8.126, allocations: 472.9 kB / 3.347 GB, free: 22.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.77e-06/8.126, allocations: 0 / 3.347 GB, free: 22.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004408/8.126, allocations: 247.3 kB / 3.347 GB, free: 22.18 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/8.128, allocations: 181.5 kB / 3.348 GB, free: 22.16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/8.129, allocations: 1.226 MB / 3.349 GB, free: 21.53 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005026/8.13, allocations: 0.8289 MB / 3.35 GB, free: 20.83 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/8.13, allocations: 39.89 kB / 3.35 GB, free: 20.82 MB / 426.7 MB Notification: Performance of SimCode: time 1.612e-06/8.13, allocations: 0 / 3.35 GB, free: 20.82 MB / 426.7 MB Notification: Performance of Templates: time 0.04091/8.171, allocations: 26.32 MB / 3.375 GB, free: 18.22 MB / 426.7 MB