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.WaterIF97_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.WaterIF97_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.WaterIF97_ph") Notification: Performance of loadModel(Modelica): time 1.739/1.739, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.0003625, allocations: 12 kB / 264 MB, free: 13.55 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08133/0.08172, allocations: 44.51 MB / 308.5 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.017/6.099, allocations: 2.576 GB / 2.877 GB, free: 83.74 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/6.099, allocations: 91.12 kB / 2.877 GB, free: 83.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.85/7.949, allocations: 430.9 MB / 3.298 GB, free: 33.76 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.719e-06/7.949, allocations: 3.188 kB / 3.298 GB, free: 33.76 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.042e-05/7.949, allocations: 7.656 kB / 3.298 GB, free: 33.76 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.004126/7.953, allocations: 1.275 MB / 3.299 GB, free: 33.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/7.953, allocations: 10.34 kB / 3.299 GB, free: 33.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001659/7.955, allocations: 159.5 kB / 3.299 GB, free: 33.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004931/7.955, allocations: 312.6 kB / 3.3 GB, free: 33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.937e-05/7.955, allocations: 28.75 kB / 3.3 GB, free: 33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.19e-05/7.955, allocations: 30.91 kB / 3.3 GB, free: 33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/7.957, allocations: 0.5709 MB / 3.3 GB, free: 32.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/7.957, allocations: 5.578 kB / 3.3 GB, free: 32.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.581e-05/7.957, allocations: 14.91 kB / 3.3 GB, free: 32.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/7.957, allocations: 13.81 kB / 3.3 GB, free: 32.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001896/7.959, allocations: 0.5343 MB / 3.301 GB, free: 32.89 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.003294/7.962, allocations: 2.623 MB / 3.304 GB, free: 30.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001914/7.964, allocations: 487.1 kB / 3.304 GB, free: 30.94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008496/7.965, allocations: 0.5615 MB / 3.305 GB, free: 30.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/7.965, allocations: 34.5 kB / 3.305 GB, free: 30.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 2.843e-06/7.965, allocations: 0 / 3.305 GB, free: 30.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.006254/7.971, allocations: 1.602 MB / 3.306 GB, free: 30 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/7.972, allocations: 55.06 kB / 3.306 GB, free: 29.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000282/7.972, allocations: 218.2 kB / 3.306 GB, free: 29.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.846e-05/7.972, allocations: 35.42 kB / 3.306 GB, free: 29.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.099e-05/7.972, allocations: 245 kB / 3.307 GB, free: 29.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.352e-05/7.972, allocations: 113.8 kB / 3.307 GB, free: 29.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-05/7.972, allocations: 6.75 kB / 3.307 GB, free: 29.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.391e-05/7.972, allocations: 328.3 kB / 3.307 GB, free: 29.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004719/7.973, allocations: 152.3 kB / 3.307 GB, free: 29.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005037/7.973, allocations: 246.2 kB / 3.307 GB, free: 29.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005086/7.974, allocations: 169.3 kB / 3.308 GB, free: 29.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.34e-06/7.974, allocations: 0 / 3.308 GB, free: 29.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00156/7.975, allocations: 0.5303 MB / 3.308 GB, free: 29.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/7.975, allocations: 8.5 kB / 3.308 GB, free: 29.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.894e-06/7.975, allocations: 4.594 kB / 3.308 GB, free: 29.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006368/7.976, allocations: 113.5 kB / 3.308 GB, free: 29.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004222/7.976, allocations: 91.8 kB / 3.308 GB, free: 29.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001875/7.978, allocations: 2.428 MB / 3.311 GB, free: 26.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000571/7.979, allocations: 49.28 kB / 3.311 GB, free: 26.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.787e-05/7.979, allocations: 24.95 kB / 3.311 GB, free: 26.73 MB / 410.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 (ambient.medium.phase,volume.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked 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.0002537/7.979, allocations: 161.9 kB / 3.311 GB, free: 26.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.205e-05/7.979, allocations: 26.47 kB / 3.311 GB, free: 26.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002353/7.982, allocations: 1.373 MB / 3.312 GB, free: 26.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.568e-05/7.982, allocations: 24.69 kB / 3.312 GB, free: 26.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.42e-06/7.982, allocations: 0 / 3.312 GB, free: 26.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002017/7.984, allocations: 1.458 MB / 3.314 GB, free: 25.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003341/7.987, allocations: 2.134 MB / 3.316 GB, free: 25.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-06/7.987, allocations: 0 / 3.316 GB, free: 25.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005514/7.988, allocations: 111.5 kB / 3.316 GB, free: 25.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005073/7.988, allocations: 74.19 kB / 3.316 GB, free: 25.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.78e-05/7.988, allocations: 17.03 kB / 3.316 GB, free: 25.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003668/7.989, allocations: 0.5881 MB / 3.317 GB, free: 24.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/7.989, allocations: 0 / 3.317 GB, free: 24.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002309/7.991, allocations: 1.315 MB / 3.318 GB, free: 24.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002148/7.991, allocations: 163.7 kB / 3.318 GB, free: 24.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.801e-05/7.991, allocations: 6.812 kB / 3.318 GB, free: 24.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004635/7.992, allocations: 49.06 kB / 3.318 GB, free: 24.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/7.992, allocations: 40.97 kB / 3.318 GB, free: 24.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.638e-05/7.992, allocations: 10.34 kB / 3.318 GB, free: 24.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002964/7.992, allocations: 230.7 kB / 3.318 GB, free: 24.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.17e-07/7.992, allocations: 0 / 3.318 GB, free: 24.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003652/7.996, allocations: 0.8917 MB / 3.319 GB, free: 24.41 MB / 410.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: 11 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.006616/8.003, allocations: 1.324 MB / 3.321 GB, free: 24.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001649/8.004, allocations: 0.6602 MB / 3.321 GB, free: 24.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.844e-06/8.004, allocations: 0 / 3.321 GB, free: 24.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008513/8.005, allocations: 425.1 kB / 3.322 GB, free: 24.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/8.007, allocations: 185.8 kB / 3.322 GB, free: 24.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/8.009, allocations: 1.594 MB / 3.323 GB, free: 23.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/8.01, allocations: 0.8867 MB / 3.324 GB, free: 22.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/8.01, allocations: 39.22 kB / 3.324 GB, free: 22.67 MB / 410.7 MB Notification: Performance of SimCode: time 1.474e-06/8.01, allocations: 0 / 3.324 GB, free: 22.67 MB / 410.7 MB Notification: Performance of Templates: time 0.04168/8.051, allocations: 27.83 MB / 3.351 GB, free: 20.66 MB / 410.7 MB