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.WaterIF97OnePhase_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.WaterIF97OnePhase_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.WaterIF97OnePhase_ph") Notification: Performance of loadModel(Modelica): time 1.642/1.642, allocations: 171.3 MB / 179.2 MB, free: 7.504 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.919e-05/1.93e-05, allocations: 4 kB / 222.5 MB, free: 8.684 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06988/0.06993, allocations: 38.78 MB / 261.3 MB, free: 1.82 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.874/5.944, allocations: 2.466 GB / 2.721 GB, free: 92.88 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/5.945, allocations: 87.75 kB / 2.721 GB, free: 92.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.778/7.723, allocations: 415.3 MB / 3.126 GB, free: 32.87 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.516e-06/7.723, allocations: 3.938 kB / 3.126 GB, free: 32.87 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.317e-05/7.723, allocations: 8.375 kB / 3.126 GB, free: 32.87 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.003586/7.727, allocations: 1.187 MB / 3.128 GB, free: 32.22 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/7.727, allocations: 7.656 kB / 3.128 GB, free: 32.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001786/7.729, allocations: 164.1 kB / 3.128 GB, free: 32.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004703/7.729, allocations: 316.2 kB / 3.128 GB, free: 31.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/7.729, allocations: 7.375 kB / 3.128 GB, free: 31.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.689e-05/7.729, allocations: 18.5 kB / 3.128 GB, free: 31.99 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005329/7.73, allocations: 247.5 kB / 3.128 GB, free: 31.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006186/7.73, allocations: 361.8 kB / 3.129 GB, free: 31.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/7.73, allocations: 7.844 kB / 3.129 GB, free: 31.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.942e-05/7.73, allocations: 0 / 3.129 GB, free: 31.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/7.73, allocations: 7.844 kB / 3.129 GB, free: 31.87 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.07301/7.803, allocations: 33.19 MB / 3.161 GB, free: 27.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003825/7.804, allocations: 192.7 kB / 3.161 GB, free: 27.65 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/7.804, allocations: 95.61 kB / 3.161 GB, free: 27.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07552/7.88, allocations: 30.88 MB / 3.192 GB, free: 24.57 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.615e-05/7.88, allocations: 43.86 kB / 3.192 GB, free: 24.54 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 4.095e-06/7.88, allocations: 0.9844 kB / 3.192 GB, free: 24.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=29): time 0.003334/7.883, allocations: 0.9197 MB / 3.192 GB, free: 24.19 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/7.883, allocations: 55.25 kB / 3.193 GB, free: 24.13 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/7.883, allocations: 206.4 kB / 3.193 GB, free: 24.03 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.632e-05/7.883, allocations: 25.7 kB / 3.193 GB, free: 24 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/7.884, allocations: 257.4 kB / 3.193 GB, free: 23.79 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.882e-05/7.884, allocations: 97.22 kB / 3.193 GB, free: 23.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.754e-05/7.884, allocations: 1.203 kB / 3.193 GB, free: 23.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001699/7.884, allocations: 327.8 kB / 3.193 GB, free: 23.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/7.884, allocations: 80.19 kB / 3.193 GB, free: 23.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/7.884, allocations: 206.4 kB / 3.194 GB, free: 23.27 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004391/7.885, allocations: 115.5 kB / 3.194 GB, free: 23.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.932e-06/7.885, allocations: 4 kB / 3.194 GB, free: 23.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001058/7.886, allocations: 362.1 kB / 3.194 GB, free: 23.2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/7.886, allocations: 11.09 kB / 3.194 GB, free: 23.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/7.886, allocations: 3.781 kB / 3.194 GB, free: 23.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002874/7.886, allocations: 60.33 kB / 3.194 GB, free: 23.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004306/7.887, allocations: 89.22 kB / 3.194 GB, free: 23.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002183/7.889, allocations: 2.383 MB / 3.197 GB, free: 20.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003971/7.889, allocations: 29.06 kB / 3.197 GB, free: 20.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.956e-05/7.889, allocations: 20.67 kB / 3.197 GB, free: 20.86 MB / 394.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 () * 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.0001837/7.89, allocations: 123.9 kB / 3.197 GB, free: 20.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.312e-05/7.89, allocations: 26.97 kB / 3.197 GB, free: 20.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/7.891, allocations: 0.7455 MB / 3.198 GB, free: 20.63 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/7.891, allocations: 14.55 kB / 3.198 GB, free: 20.63 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.369e-06/7.891, allocations: 0 / 3.198 GB, free: 20.63 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001108/7.892, allocations: 0.978 MB / 3.199 GB, free: 20.13 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001944/7.894, allocations: 1.317 MB / 3.2 GB, free: 19.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.663e-06/7.894, allocations: 7.172 kB / 3.2 GB, free: 19.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003348/7.894, allocations: 51.69 kB / 3.2 GB, free: 19.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002809/7.895, allocations: 69.3 kB / 3.2 GB, free: 19.74 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/7.895, allocations: 3.891 kB / 3.2 GB, free: 19.74 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005506/7.895, allocations: 0.6189 MB / 3.201 GB, free: 19.21 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.774e-06/7.895, allocations: 9.891 kB / 3.201 GB, free: 19.21 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/7.896, allocations: 0.8021 MB / 3.201 GB, free: 18.98 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/7.897, allocations: 112 kB / 3.201 GB, free: 18.87 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.247e-05/7.897, allocations: 4.016 kB / 3.201 GB, free: 18.87 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004997/7.897, allocations: 46.14 kB / 3.201 GB, free: 18.86 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/7.897, allocations: 15.23 kB / 3.201 GB, free: 18.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/7.897, allocations: 21.62 kB / 3.202 GB, free: 18.86 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001957/7.898, allocations: 153 kB / 3.202 GB, free: 18.78 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.36e-07/7.898, allocations: 0.5469 kB / 3.202 GB, free: 18.78 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003585/7.901, allocations: 0.8546 MB / 3.202 GB, free: 18.65 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * 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.006569/7.908, allocations: 1.405 MB / 3.204 GB, free: 18.35 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001158/7.909, allocations: 459.3 kB / 3.204 GB, free: 18.24 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.635e-06/7.909, allocations: 0 / 3.204 GB, free: 18.24 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004469/7.909, allocations: 233.3 kB / 3.205 GB, free: 18.15 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/7.911, allocations: 141.8 kB / 3.205 GB, free: 18.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/7.912, allocations: 0.7111 MB / 3.205 GB, free: 17.51 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005116/7.913, allocations: 0.8188 MB / 3.206 GB, free: 16.71 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/7.913, allocations: 41.14 kB / 3.206 GB, free: 16.68 MB / 394.7 MB Notification: Performance of SimCode: time 1.606e-06/7.913, allocations: 0 / 3.206 GB, free: 16.68 MB / 394.7 MB Notification: Performance of Templates: time 0.2564/8.169, allocations: 25.86 MB / 3.231 GB, free: 68.11 MB / 394.7 MB