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.803/1.803, allocations: 194.8 MB / 211.6 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003598, allocations: 16 kB / 263.9 MB, free: 13.6 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07801/0.07839, allocations: 44.52 MB / 308.4 MB, free: 1.012 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.0397/0.1181, allocations: 27.1 MB / 335.5 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02208/0.1403, allocations: 13.31 MB / 348.8 MB, free: 8.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003771/0.1407, allocations: 4 kB / 348.8 MB, free: 8.496 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000817/0.1415, allocations: 227 kB / 349 MB, free: 8.273 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006407/0.1422, allocations: 255.2 kB / 349.3 MB, free: 8.023 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01539/0.1576, allocations: 4.523 MB / 353.8 MB, free: 3.488 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00114/0.1587, allocations: 0.6051 MB / 354.4 MB, free: 2.883 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002008/0.159, allocations: 84.95 kB / 354.5 MB, free: 2.793 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006812/0.1658, allocations: 3.263 MB / 357.7 MB, free: 15.53 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003388/0.1661, allocations: 203.2 kB / 357.9 MB, free: 15.33 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.519e-05/0.1662, allocations: 16 kB / 358 MB, free: 15.31 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01353/0.1798, allocations: 5.931 MB / 363.9 MB, free: 9.375 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.18, allocations: 87.7 kB / 364 MB, free: 9.289 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002156/0.1802, allocations: 105.5 kB / 364.1 MB, free: 9.18 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00516/0.1854, allocations: 2.588 MB / 366.7 MB, free: 6.586 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.448e-06/0.1854, allocations: 0 / 366.7 MB, free: 6.586 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.1854, allocations: 0 / 366.7 MB, free: 6.586 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.811e-06/0.1854, allocations: 0 / 366.7 MB, free: 6.586 MB / 314.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.002359/0.1878, allocations: 0.9513 MB / 367.6 MB, free: 5.586 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1879, allocations: 8.031 kB / 367.6 MB, free: 5.578 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001579/0.1894, allocations: 163.4 kB / 367.8 MB, free: 5.418 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005067/0.19, allocations: 314.4 kB / 368.1 MB, free: 5.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.149e-05/0.19, allocations: 28.66 kB / 368.1 MB, free: 5.039 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.969e-05/0.1901, allocations: 35.94 kB / 368.1 MB, free: 5.004 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/0.192, allocations: 0.5737 MB / 368.7 MB, free: 4.395 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.1921, allocations: 4 kB / 368.7 MB, free: 4.391 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.358e-05/0.1921, allocations: 12 kB / 368.7 MB, free: 4.379 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.1921, allocations: 8 kB / 368.7 MB, free: 4.371 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002005/0.1942, allocations: 0.5406 MB / 369.3 MB, free: 3.832 MB / 314.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.004052/0.1982, allocations: 2.608 MB / 371.9 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001957/0.2002, allocations: 482.3 kB / 372.4 MB, free: 496 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1982/0.3984, allocations: 0.555 MB / 372.9 MB, free: 64.99 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.3984, allocations: 35.48 kB / 373 MB, free: 64.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 3.424e-06/0.3985, allocations: 1.094 kB / 373 MB, free: 64.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.006385/0.4049, allocations: 1.599 MB / 374.6 MB, free: 64.56 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.4049, allocations: 55.53 kB / 374.6 MB, free: 64.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000333/0.4053, allocations: 248.7 kB / 374.9 MB, free: 64.39 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/0.4053, allocations: 32.61 kB / 374.9 MB, free: 64.36 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.885e-05/0.4054, allocations: 249.5 kB / 375.1 MB, free: 64.18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.848e-05/0.4055, allocations: 112.3 kB / 375.2 MB, free: 64.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.392e-05/0.4056, allocations: 8.062 kB / 375.2 MB, free: 64.11 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.267e-05/0.4056, allocations: 334.6 kB / 375.6 MB, free: 63.79 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005203/0.4062, allocations: 154.2 kB / 375.7 MB, free: 63.79 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000558/0.4067, allocations: 246.6 kB / 376 MB, free: 63.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005453/0.4073, allocations: 176.2 kB / 376.1 MB, free: 63.63 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.843e-06/0.4073, allocations: 1.062 kB / 376.1 MB, free: 63.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00163/0.409, allocations: 0.525 MB / 376.7 MB, free: 63.42 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.409, allocations: 6.312 kB / 376.7 MB, free: 63.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.409, allocations: 3.594 kB / 376.7 MB, free: 63.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006367/0.4097, allocations: 112.4 kB / 376.8 MB, free: 63.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004511/0.4101, allocations: 95.75 kB / 376.9 MB, free: 63.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001764/0.4119, allocations: 2.43 MB / 379.3 MB, free: 60.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004476/0.4124, allocations: 56.81 kB / 379.4 MB, free: 60.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.847e-05/0.4125, allocations: 19.73 kB / 379.4 MB, free: 60.96 MB / 314.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 (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 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.0002032/0.4127, allocations: 162.7 kB / 379.5 MB, free: 60.81 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.591e-05/0.4128, allocations: 31.09 kB / 379.6 MB, free: 60.8 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002442/0.4152, allocations: 1.365 MB / 380.9 MB, free: 60.2 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-05/0.4153, allocations: 19.67 kB / 381 MB, free: 60.2 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.967e-06/0.4153, allocations: 3.656 kB / 381 MB, free: 60.2 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002073/0.4174, allocations: 1.461 MB / 382.4 MB, free: 59.31 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003334/0.4207, allocations: 2.142 MB / 384.6 MB, free: 58.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.964e-06/0.4208, allocations: 0 / 384.6 MB, free: 58.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005083/0.4213, allocations: 102.5 kB / 384.7 MB, free: 58.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004622/0.4218, allocations: 83.14 kB / 384.7 MB, free: 58.16 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.609e-05/0.4218, allocations: 15.5 kB / 384.8 MB, free: 58.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003473/0.4222, allocations: 0.5915 MB / 385.3 MB, free: 57.6 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4222, allocations: 0 / 385.3 MB, free: 57.6 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002309/0.4245, allocations: 1.31 MB / 386.7 MB, free: 56.98 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.4247, allocations: 165.3 kB / 386.8 MB, free: 56.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.928e-05/0.4248, allocations: 10.75 kB / 386.8 MB, free: 56.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004001/0.4252, allocations: 46.02 kB / 386.9 MB, free: 56.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.914e-05/0.4253, allocations: 35.31 kB / 386.9 MB, free: 56.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.875e-05/0.4254, allocations: 15.95 kB / 386.9 MB, free: 56.81 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002855/0.4256, allocations: 230.9 kB / 387.2 MB, free: 56.69 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.64e-07/0.4257, allocations: 2.469 kB / 387.2 MB, free: 56.69 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002402/0.4281, allocations: 0.8601 MB / 388 MB, free: 56.63 MB / 314.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.003897/0.432, allocations: 0.9681 MB / 389 MB, free: 56.47 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001464/0.4335, allocations: 0.6608 MB / 389.6 MB, free: 56.17 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.513e-06/0.4335, allocations: 3.969 kB / 389.6 MB, free: 56.17 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008275/0.4343, allocations: 422.2 kB / 390.1 MB, free: 56 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.4356, allocations: 186 kB / 390.2 MB, free: 55.95 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.4377, allocations: 1.594 MB / 391.8 MB, free: 54.99 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.438, allocations: 0.888 MB / 392.7 MB, free: 54.22 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.4382, allocations: 42.89 kB / 392.8 MB, free: 54.2 MB / 314.7 MB Notification: Performance of SimCode: time 1.474e-06/0.4382, allocations: 0 / 392.8 MB, free: 54.2 MB / 314.7 MB Notification: Performance of Templates: time 0.03723/0.4754, allocations: 27.09 MB / 419.8 MB, free: 27.84 MB / 314.7 MB