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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.2 MB / 184.2 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.721e-05/2.731e-05, allocations: 0 / 228.8 MB, free: 15.31 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2652, allocations: 38.77 MB / 267.6 MB, free: 9.434 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.017/6.282, allocations: 2.466 GB / 2.728 GB, free: 71.39 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/6.282, allocations: 89.41 kB / 2.728 GB, free: 71.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.801/8.083, allocations: 418.9 MB / 3.137 GB, free: 32.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.04e-06/8.083, allocations: 0 / 3.137 GB, free: 32.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.346e-05/8.083, allocations: 8.031 kB / 3.137 GB, free: 32.6 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.004003/8.087, allocations: 1.229 MB / 3.138 GB, free: 32.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/8.087, allocations: 7.75 kB / 3.138 GB, free: 32.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001623/8.089, allocations: 165.5 kB / 3.138 GB, free: 32.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004567/8.089, allocations: 315 kB / 3.138 GB, free: 31.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.995e-05/8.089, allocations: 34.48 kB / 3.138 GB, free: 31.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.467e-05/8.089, allocations: 28.28 kB / 3.138 GB, free: 31.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/8.091, allocations: 0.5448 MB / 3.139 GB, free: 31.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/8.091, allocations: 3.906 kB / 3.139 GB, free: 31.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.452e-05/8.091, allocations: 18.81 kB / 3.139 GB, free: 31.74 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/8.091, allocations: 11.16 kB / 3.139 GB, free: 31.74 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001551/8.093, allocations: 478 kB / 3.139 GB, free: 31.73 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.003299/8.096, allocations: 2.629 MB / 3.142 GB, free: 29.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001802/8.098, allocations: 415.8 kB / 3.142 GB, free: 29.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002629/8.098, allocations: 133.8 kB / 3.143 GB, free: 29.78 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008122/8.099, allocations: 0.5583 MB / 3.143 GB, free: 29.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/8.099, allocations: 37.53 kB / 3.143 GB, free: 29.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 2.918e-06/8.099, allocations: 0 / 3.143 GB, free: 29.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.004639/8.104, allocations: 1.255 MB / 3.144 GB, free: 28.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/8.104, allocations: 57.72 kB / 3.144 GB, free: 28.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000277/8.104, allocations: 222.6 kB / 3.145 GB, free: 28.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/8.104, allocations: 33.08 kB / 3.145 GB, free: 28.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.881e-05/8.104, allocations: 238.7 kB / 3.145 GB, free: 28.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.09e-05/8.104, allocations: 117.1 kB / 3.145 GB, free: 28.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.311e-05/8.104, allocations: 3.75 kB / 3.145 GB, free: 28.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.06e-05/8.104, allocations: 326.1 kB / 3.145 GB, free: 28.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00025/8.105, allocations: 110.2 kB / 3.145 GB, free: 28.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002958/8.105, allocations: 195 kB / 3.146 GB, free: 28.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/8.105, allocations: 138.3 kB / 3.146 GB, free: 28.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/8.105, allocations: 0 / 3.146 GB, free: 28.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001055/8.106, allocations: 427.3 kB / 3.146 GB, free: 27.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/8.106, allocations: 3.812 kB / 3.146 GB, free: 27.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.323e-06/8.106, allocations: 3.781 kB / 3.146 GB, free: 27.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000474/8.107, allocations: 90.02 kB / 3.146 GB, free: 27.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004855/8.107, allocations: 89.78 kB / 3.146 GB, free: 27.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/8.109, allocations: 2.375 MB / 3.149 GB, free: 25.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005638/8.109, allocations: 60.61 kB / 3.149 GB, free: 25.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.666e-05/8.109, allocations: 18.03 kB / 3.149 GB, free: 25.66 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 (ambient.medium.phase,volume.medium.phase,fixedMassFlowRate.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.0001302/8.11, allocations: 125.1 kB / 3.149 GB, free: 25.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.922e-05/8.11, allocations: 30.08 kB / 3.149 GB, free: 25.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001817/8.112, allocations: 1.353 MB / 3.15 GB, free: 25.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.302e-05/8.112, allocations: 21.7 kB / 3.15 GB, free: 25.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.305e-06/8.112, allocations: 0 / 3.15 GB, free: 25.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001439/8.113, allocations: 1.427 MB / 3.152 GB, free: 24.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002682/8.116, allocations: 2.094 MB / 3.154 GB, free: 24.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.93e-06/8.116, allocations: 0 / 3.154 GB, free: 24.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005912/8.116, allocations: 111.7 kB / 3.154 GB, free: 24.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004296/8.117, allocations: 67.73 kB / 3.154 GB, free: 24.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.333e-05/8.117, allocations: 9.875 kB / 3.154 GB, free: 24.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003502/8.117, allocations: 0.591 MB / 3.154 GB, free: 23.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.084e-06/8.117, allocations: 1.875 kB / 3.154 GB, free: 23.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/8.119, allocations: 1.172 MB / 3.156 GB, free: 23.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/8.119, allocations: 163 kB / 3.156 GB, free: 23.53 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.971e-05/8.119, allocations: 8.75 kB / 3.156 GB, free: 23.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004338/8.12, allocations: 49.81 kB / 3.156 GB, free: 23.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/8.12, allocations: 38.81 kB / 3.156 GB, free: 23.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.681e-05/8.12, allocations: 15.89 kB / 3.156 GB, free: 23.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002764/8.12, allocations: 233.2 kB / 3.156 GB, free: 23.44 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.07e-07/8.12, allocations: 0 / 3.156 GB, free: 23.44 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003581/8.124, allocations: 0.8965 MB / 3.157 GB, free: 23.31 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: 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 () * 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.005491/8.129, allocations: 1.323 MB / 3.158 GB, free: 23.08 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001246/8.13, allocations: 0.5835 MB / 3.159 GB, free: 22.97 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.966e-06/8.131, allocations: 3.312 kB / 3.159 GB, free: 22.97 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005836/8.131, allocations: 370.5 kB / 3.159 GB, free: 22.97 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/8.132, allocations: 193 kB / 3.159 GB, free: 22.97 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/8.134, allocations: 0.9749 MB / 3.16 GB, free: 22.72 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000938/8.135, allocations: 0.8903 MB / 3.161 GB, free: 38.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/8.135, allocations: 38.53 kB / 3.161 GB, free: 38.02 MB / 378.7 MB Notification: Performance of SimCode: time 1.788e-06/8.135, allocations: 0 / 3.161 GB, free: 38.02 MB / 378.7 MB Notification: Performance of Templates: time 0.04166/8.177, allocations: 27.52 MB / 3.188 GB, free: 36.46 MB / 378.7 MB