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_pT.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_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadModel(Modelica): time 2.153/2.153, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003608, allocations: 12 kB / 264.6 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09549/0.09587, allocations: 44.51 MB / 309.1 MB, free: 356 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.719/8.815, allocations: 2.574 GB / 2.876 GB, free: 90.73 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/8.815, allocations: 99.47 kB / 2.876 GB, free: 90.72 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.273/10.09, allocations: 297.3 MB / 3.167 GB, free: 3.617 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.555e-06/10.09, allocations: 0 / 3.167 GB, free: 3.617 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.222e-05/10.09, allocations: 7.906 kB / 3.167 GB, free: 3.613 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.004096/10.09, allocations: 0.9431 MB / 3.167 GB, free: 2.617 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/10.09, allocations: 15.97 kB / 3.167 GB, free: 2.602 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001713/10.09, allocations: 83.88 kB / 3.168 GB, free: 2.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007707/10.09, allocations: 306.7 kB / 3.168 GB, free: 2.184 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.145e-05/10.1, allocations: 20.66 kB / 3.168 GB, free: 2.164 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.27e-05/10.1, allocations: 32 kB / 3.168 GB, free: 2.133 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/10.1, allocations: 438.2 kB / 3.168 GB, free: 1.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.252e-05/10.1, allocations: 3.938 kB / 3.168 GB, free: 1.656 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.12e-05/10.1, allocations: 20 kB / 3.168 GB, free: 1.637 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/10.1, allocations: 8 kB / 3.168 GB, free: 1.629 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/10.1, allocations: 313.9 kB / 3.169 GB, free: 1.32 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.3293/10.43, allocations: 2.622 MB / 3.171 GB, free: 52.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007623/10.43, allocations: 245.6 kB / 3.171 GB, free: 52.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05163/10.48, allocations: 15.34 MB / 3.186 GB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.78e-05/10.48, allocations: 39.08 kB / 3.186 GB, free: 42.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.254e-06/10.48, allocations: 4.031 kB / 3.186 GB, free: 42.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.006385/10.49, allocations: 1.284 MB / 3.188 GB, free: 42.58 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/10.49, allocations: 60.62 kB / 3.188 GB, free: 42.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004243/10.49, allocations: 267.6 kB / 3.188 GB, free: 42.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.054e-05/10.49, allocations: 30.48 kB / 3.188 GB, free: 42.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/10.49, allocations: 200.9 kB / 3.188 GB, free: 42.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/10.49, allocations: 102.5 kB / 3.188 GB, free: 42.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/10.49, allocations: 6.531 kB / 3.188 GB, free: 42.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.483e-05/10.49, allocations: 343.5 kB / 3.189 GB, free: 41.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002756/10.49, allocations: 100.6 kB / 3.189 GB, free: 41.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000345/10.49, allocations: 217.4 kB / 3.189 GB, free: 41.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003421/10.49, allocations: 131.8 kB / 3.189 GB, free: 41.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/10.49, allocations: 1.375 kB / 3.189 GB, free: 41.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001168/10.49, allocations: 443.9 kB / 3.19 GB, free: 41.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/10.49, allocations: 6.5 kB / 3.19 GB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/10.49, allocations: 5.25 kB / 3.19 GB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00691/10.5, allocations: 261.9 kB / 3.19 GB, free: 41.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006155/10.5, allocations: 80.56 kB / 3.19 GB, free: 41.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001679/10.5, allocations: 1.869 MB / 3.192 GB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005241/10.5, allocations: 34.56 kB / 3.192 GB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-05/10.5, allocations: 22.69 kB / 3.192 GB, free: 39.89 MB / 410.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002789/10.5, allocations: 161.4 kB / 3.192 GB, free: 39.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.852e-05/10.5, allocations: 35.83 kB / 3.192 GB, free: 39.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001536/10.5, allocations: 0.946 MB / 3.193 GB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/10.5, allocations: 11.09 kB / 3.193 GB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/10.5, allocations: 0 / 3.193 GB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001262/10.5, allocations: 1.113 MB / 3.194 GB, free: 39.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002446/10.51, allocations: 1.594 MB / 3.196 GB, free: 38.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/10.51, allocations: 6.531 kB / 3.196 GB, free: 38.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003599/10.51, allocations: 58.97 kB / 3.196 GB, free: 38.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003068/10.51, allocations: 290.4 kB / 3.196 GB, free: 38.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.89e-05/10.51, allocations: 10.98 kB / 3.196 GB, free: 38.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006206/10.51, allocations: 0.6618 MB / 3.197 GB, free: 38.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/10.51, allocations: 3.953 kB / 3.197 GB, free: 38.24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/10.51, allocations: 0.9547 MB / 3.197 GB, free: 38.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000183/10.51, allocations: 128.9 kB / 3.198 GB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.476e-05/10.51, allocations: 7.75 kB / 3.198 GB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003779/10.51, allocations: 20.11 kB / 3.198 GB, free: 37.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/10.51, allocations: 30.16 kB / 3.198 GB, free: 37.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-05/10.51, allocations: 13.86 kB / 3.198 GB, free: 37.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003324/10.51, allocations: 236.1 kB / 3.198 GB, free: 37.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/10.51, allocations: 0 / 3.198 GB, free: 37.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003038/10.52, allocations: 0.5438 MB / 3.198 GB, free: 37.86 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.T) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004235/10.52, allocations: 0.8429 MB / 3.199 GB, free: 37.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001305/10.52, allocations: 0.5182 MB / 3.2 GB, free: 37.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/10.52, allocations: 0 / 3.2 GB, free: 37.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000593/10.52, allocations: 287.7 kB / 3.2 GB, free: 37.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001817/10.52, allocations: 185.4 kB / 3.2 GB, free: 37.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/10.53, allocations: 1.227 MB / 3.201 GB, free: 37.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/10.53, allocations: 0.8378 MB / 3.202 GB, free: 36.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005653/10.53, allocations: 113.2 kB / 3.202 GB, free: 36.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/10.53, allocations: 39.72 kB / 3.202 GB, free: 36.43 MB / 410.7 MB Notification: Performance of SimCode: time 2.615e-06/10.53, allocations: 0 / 3.202 GB, free: 36.43 MB / 410.7 MB Notification: Performance of Templates: time 0.06823/10.59, allocations: 23.59 MB / 3.225 GB, free: 35.66 MB / 410.7 MB