Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.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: 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_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadModel(Modelica): time 1.981/1.981, allocations: 194.9 MB / 211.7 MB, free: 2.875 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003638, allocations: 12 kB / 264.5 MB, free: 12.9 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09731/0.0977, allocations: 44.51 MB / 309.1 MB, free: 328 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.146/8.244, allocations: 2.576 GB / 2.878 GB, free: 91.33 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003559/8.244, allocations: 90.56 kB / 2.878 GB, free: 91.33 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.082/10.33, allocations: 430.9 MB / 3.299 GB, free: 23.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.395e-06/10.33, allocations: 4 kB / 3.299 GB, free: 23.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.173e-05/10.33, allocations: 4 kB / 3.299 GB, free: 23.82 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.006502/10.33, allocations: 1.284 MB / 3.3 GB, free: 22.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/10.33, allocations: 11.97 kB / 3.3 GB, free: 22.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003147/10.34, allocations: 163.2 kB / 3.3 GB, free: 22.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007932/10.34, allocations: 305.5 kB / 3.3 GB, free: 22.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.216e-05/10.34, allocations: 32.66 kB / 3.3 GB, free: 22.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/10.34, allocations: 28.69 kB / 3.3 GB, free: 21.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003088/10.34, allocations: 0.5723 MB / 3.301 GB, free: 21.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.203e-05/10.34, allocations: 3.906 kB / 3.301 GB, free: 21.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-05/10.34, allocations: 16 kB / 3.301 GB, free: 21.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/10.34, allocations: 8 kB / 3.301 GB, free: 21.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00342/10.34, allocations: 0.5431 MB / 3.302 GB, free: 20.83 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.005563/10.35, allocations: 2.615 MB / 3.304 GB, free: 17.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003703/10.35, allocations: 488 kB / 3.305 GB, free: 17.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001471/10.36, allocations: 0.5627 MB / 3.305 GB, free: 16.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.657e-05/10.36, allocations: 38.56 kB / 3.305 GB, free: 16.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 3.487e-06/10.36, allocations: 0 / 3.305 GB, free: 16.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.01107/10.37, allocations: 1.599 MB / 3.307 GB, free: 15.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/10.37, allocations: 55.41 kB / 3.307 GB, free: 15.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004583/10.37, allocations: 244.9 kB / 3.307 GB, free: 14.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.907e-05/10.37, allocations: 37.7 kB / 3.307 GB, free: 14.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/10.37, allocations: 184.1 kB / 3.307 GB, free: 14.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/10.37, allocations: 107.9 kB / 3.307 GB, free: 14.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.356e-05/10.37, allocations: 8 kB / 3.307 GB, free: 14.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/10.37, allocations: 338.6 kB / 3.308 GB, free: 14.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/10.37, allocations: 152.8 kB / 3.308 GB, free: 14.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009916/10.37, allocations: 247.1 kB / 3.308 GB, free: 13.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009746/10.37, allocations: 175.2 kB / 3.308 GB, free: 13.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/10.37, allocations: 4 kB / 3.308 GB, free: 13.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00286/10.37, allocations: 0.5359 MB / 3.309 GB, free: 13.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/10.37, allocations: 8 kB / 3.309 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/10.37, allocations: 0 / 3.309 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/10.37, allocations: 113.8 kB / 3.309 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008409/10.38, allocations: 94.56 kB / 3.309 GB, free: 12.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002947/10.38, allocations: 2.433 MB / 3.311 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009578/10.38, allocations: 47.45 kB / 3.311 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.639e-05/10.38, allocations: 20 kB / 3.311 GB, free: 10.16 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.0003616/10.38, allocations: 169.6 kB / 3.312 GB, free: 9.988 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/10.38, allocations: 35.52 kB / 3.312 GB, free: 9.953 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003303/10.38, allocations: 1.36 MB / 3.313 GB, free: 8.594 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.681e-05/10.38, allocations: 15.97 kB / 3.313 GB, free: 8.578 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/10.38, allocations: 0 / 3.313 GB, free: 8.578 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002463/10.39, allocations: 1.469 MB / 3.314 GB, free: 7.031 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003793/10.39, allocations: 2.139 MB / 3.316 GB, free: 4.836 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/10.39, allocations: 3.75 kB / 3.316 GB, free: 4.836 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007241/10.39, allocations: 106.7 kB / 3.317 GB, free: 4.734 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005692/10.39, allocations: 76.5 kB / 3.317 GB, free: 4.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.019e-05/10.39, allocations: 8 kB / 3.317 GB, free: 4.652 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003955/10.39, allocations: 0.5952 MB / 3.317 GB, free: 4.031 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/10.39, allocations: 0 / 3.317 GB, free: 4.031 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002727/10.39, allocations: 1.307 MB / 3.318 GB, free: 2.715 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002267/10.39, allocations: 172.1 kB / 3.319 GB, free: 2.527 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.275e-05/10.39, allocations: 4 kB / 3.319 GB, free: 2.523 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005483/10.4, allocations: 47.5 kB / 3.319 GB, free: 2.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/10.4, allocations: 38.66 kB / 3.319 GB, free: 2.445 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.733e-05/10.4, allocations: 8 kB / 3.319 GB, free: 2.438 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003311/10.4, allocations: 235 kB / 3.319 GB, free: 2.203 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.41e-07/10.4, allocations: 0 / 3.319 GB, free: 2.203 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004438/10.4, allocations: 0.8977 MB / 3.32 GB, free: 1.305 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.008362/10.41, allocations: 1.33 MB / 3.321 GB, free: 208 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002313/10.41, allocations: 0.6655 MB / 3.322 GB, free: 15.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/10.41, allocations: 0 / 3.322 GB, free: 15.54 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001329/10.41, allocations: 420.4 kB / 3.322 GB, free: 15.13 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002316/10.41, allocations: 185.5 kB / 3.322 GB, free: 14.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004102/10.42, allocations: 1.551 MB / 3.324 GB, free: 13.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006164/10.42, allocations: 0.8882 MB / 3.325 GB, free: 12.49 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007201/10.42, allocations: 144.6 kB / 3.325 GB, free: 12.36 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/10.42, allocations: 39.42 kB / 3.325 GB, free: 12.32 MB / 426.7 MB Notification: Performance of SimCode: time 1.202e-06/10.42, allocations: 0 / 3.325 GB, free: 12.32 MB / 426.7 MB Notification: Performance of Templates: time 0.3759/10.8, allocations: 32.63 MB / 3.357 GB, free: 60.36 MB / 426.7 MB