Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadModel(Modelica): time 1.573/1.573, allocations: 171.3 MB / 179.2 MB, free: 7.504 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.99e-05/2e-05, allocations: 4 kB / 222.5 MB, free: 8.68 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07082/0.07086, allocations: 38.76 MB / 261.3 MB, free: 1.828 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.885/5.956, allocations: 2.466 GB / 2.721 GB, free: 88.92 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/5.956, allocations: 89.12 kB / 2.721 GB, free: 88.87 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.717/7.674, allocations: 415.3 MB / 3.126 GB, free: 31.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.476e-06/7.674, allocations: 0 / 3.126 GB, free: 31.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.329e-05/7.674, allocations: 7.312 kB / 3.126 GB, free: 31.68 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.003884/7.678, allocations: 1.224 MB / 3.128 GB, free: 31.06 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/7.678, allocations: 6.719 kB / 3.128 GB, free: 31.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001639/7.679, allocations: 158.6 kB / 3.128 GB, free: 31.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000461/7.68, allocations: 312.6 kB / 3.128 GB, free: 30.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.178e-05/7.68, allocations: 17.88 kB / 3.128 GB, free: 30.83 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.445e-05/7.68, allocations: 16.12 kB / 3.128 GB, free: 30.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006134/7.68, allocations: 305.5 kB / 3.128 GB, free: 30.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006651/7.681, allocations: 368.1 kB / 3.129 GB, free: 30.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/7.681, allocations: 3.906 kB / 3.129 GB, free: 30.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.603e-05/7.681, allocations: 3.938 kB / 3.129 GB, free: 30.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/7.681, allocations: 11.5 kB / 3.129 GB, free: 30.7 MB / 362.7 MB Warning: The model contains alias variables with conflicting start and/or 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.003088/7.684, allocations: 2.543 MB / 3.131 GB, free: 28.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005403/7.685, allocations: 234.7 kB / 3.131 GB, free: 28.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/7.685, allocations: 114.4 kB / 3.132 GB, free: 28.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008165/7.686, allocations: 0.5555 MB / 3.132 GB, free: 28.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/7.686, allocations: 41.47 kB / 3.132 GB, free: 28.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 3.103e-06/7.686, allocations: 0 / 3.132 GB, free: 28.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.003495/7.69, allocations: 0.9972 MB / 3.133 GB, free: 27.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/7.69, allocations: 58.28 kB / 3.133 GB, free: 27.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/7.69, allocations: 195.9 kB / 3.133 GB, free: 27.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/7.69, allocations: 25.7 kB / 3.133 GB, free: 27.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.656e-05/7.69, allocations: 253.5 kB / 3.134 GB, free: 27.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.429e-05/7.69, allocations: 108.9 kB / 3.134 GB, free: 27.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.077e-05/7.69, allocations: 0 / 3.134 GB, free: 27.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.922e-05/7.69, allocations: 325.4 kB / 3.134 GB, free: 27.15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/7.69, allocations: 94.88 kB / 3.134 GB, free: 27.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/7.691, allocations: 195.4 kB / 3.134 GB, free: 27.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004388/7.691, allocations: 124.7 kB / 3.134 GB, free: 27.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.481e-06/7.691, allocations: 2.781 kB / 3.134 GB, free: 27.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001132/7.692, allocations: 395.8 kB / 3.135 GB, free: 26.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/7.692, allocations: 6.438 kB / 3.135 GB, free: 26.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.896e-06/7.692, allocations: 3.781 kB / 3.135 GB, free: 26.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000335/7.693, allocations: 78.27 kB / 3.135 GB, free: 26.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004205/7.693, allocations: 90.36 kB / 3.135 GB, free: 26.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/7.695, allocations: 2.336 MB / 3.137 GB, free: 24.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005295/7.695, allocations: 63.5 kB / 3.137 GB, free: 24.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.423e-05/7.695, allocations: 18.56 kB / 3.137 GB, free: 24.7 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001186/7.695, allocations: 111.4 kB / 3.137 GB, free: 24.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.182e-05/7.695, allocations: 30.28 kB / 3.137 GB, free: 24.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/7.697, allocations: 1.116 MB / 3.139 GB, free: 24.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/7.697, allocations: 17.94 kB / 3.139 GB, free: 24.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.919e-06/7.697, allocations: 0 / 3.139 GB, free: 24.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001286/7.698, allocations: 1.251 MB / 3.14 GB, free: 23.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/7.701, allocations: 1.772 MB / 3.142 GB, free: 23.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/7.701, allocations: 0 / 3.142 GB, free: 23.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004715/7.701, allocations: 93.17 kB / 3.142 GB, free: 23.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002977/7.701, allocations: 67.44 kB / 3.142 GB, free: 23.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.097e-05/7.702, allocations: 6.922 kB / 3.142 GB, free: 23.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003914/7.702, allocations: 0.6095 MB / 3.142 GB, free: 23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/7.702, allocations: 6.891 kB / 3.142 GB, free: 23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/7.703, allocations: 1.015 MB / 3.143 GB, free: 22.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/7.704, allocations: 149.4 kB / 3.143 GB, free: 22.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.625e-05/7.704, allocations: 0 / 3.143 GB, free: 22.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004496/7.704, allocations: 41.19 kB / 3.143 GB, free: 22.67 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.915e-05/7.704, allocations: 31.92 kB / 3.143 GB, free: 22.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.826e-05/7.704, allocations: 13.22 kB / 3.143 GB, free: 22.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002549/7.704, allocations: 211.1 kB / 3.144 GB, free: 22.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.83e-07/7.704, allocations: 0 / 3.144 GB, free: 22.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003386/7.708, allocations: 0.8632 MB / 3.145 GB, free: 22.46 MB / 362.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: 8 ($cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,volume.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.005104/7.713, allocations: 1.409 MB / 3.146 GB, free: 22.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001138/7.714, allocations: 0.5171 MB / 3.146 GB, free: 22.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.978e-06/7.714, allocations: 0 / 3.146 GB, free: 22.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004943/7.715, allocations: 325.8 kB / 3.147 GB, free: 22.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009973/7.716, allocations: 137.8 kB / 3.147 GB, free: 22.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/7.717, allocations: 0.8624 MB / 3.148 GB, free: 21.87 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/7.718, allocations: 0.8531 MB / 3.149 GB, free: 21.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/7.718, allocations: 42.56 kB / 3.149 GB, free: 21.16 MB / 362.7 MB Notification: Performance of SimCode: time 2.343e-06/7.718, allocations: 0 / 3.149 GB, free: 21.16 MB / 362.7 MB Notification: Performance of Templates: time 0.04153/7.759, allocations: 27.09 MB / 3.175 GB, free: 18.77 MB / 362.7 MB