Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.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.TwoPhaseWater.TestTwoPhaseStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4400,variableFilter="time|medium.h|medium.p",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates") Notification: Performance of loadModel(Modelica): time 1.855/1.855, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003535, allocations: 12 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08965/0.09002, allocations: 44.51 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates): time 0.01982/0.1099, allocations: 11.39 MB / 320.5 MB, free: 4.922 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02377/0.1337, allocations: 13.12 MB / 333.6 MB, free: 7.77 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001701/0.1339, allocations: 0 / 333.6 MB, free: 7.77 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003809/0.1343, allocations: 67.72 kB / 333.6 MB, free: 7.703 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003306/0.1347, allocations: 95.77 kB / 333.7 MB, free: 7.609 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0187/0.1534, allocations: 4.601 MB / 338.3 MB, free: 2.992 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004956/0.1539, allocations: 227.5 kB / 338.6 MB, free: 2.77 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.749e-05/0.154, allocations: 9.688 kB / 338.6 MB, free: 2.762 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007416/0.1547, allocations: 235.2 kB / 338.8 MB, free: 2.531 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.1549, allocations: 95.66 kB / 338.9 MB, free: 2.438 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.446e-05/0.155, allocations: 8 kB / 338.9 MB, free: 2.43 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01825/0.1732, allocations: 6.653 MB / 345.6 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.1734, allocations: 39.83 kB / 345.6 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.1735, allocations: 65.64 kB / 345.7 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007112/0.1806, allocations: 2.612 MB / 348.3 MB, free: 9.043 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1807, allocations: 0 / 348.3 MB, free: 9.043 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.103e-06/0.1807, allocations: 0 / 348.3 MB, free: 9.043 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.1807, allocations: 0 / 348.3 MB, free: 9.043 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.003264/0.184, allocations: 0.9476 MB / 349.2 MB, free: 8.047 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.184, allocations: 8.031 kB / 349.2 MB, free: 8.039 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001972/0.186, allocations: 187.6 kB / 349.4 MB, free: 7.855 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003677/0.1864, allocations: 254.7 kB / 349.7 MB, free: 7.566 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.261e-05/0.1865, allocations: 12.44 kB / 349.7 MB, free: 7.555 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.961e-05/0.1865, allocations: 24 kB / 349.7 MB, free: 7.531 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005006/0.1916, allocations: 0.909 MB / 350.6 MB, free: 6.602 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.1916, allocations: 3.938 kB / 350.6 MB, free: 6.598 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.122e-05/0.1917, allocations: 15.98 kB / 350.6 MB, free: 6.582 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.1917, allocations: 7.938 kB / 350.6 MB, free: 6.574 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005333/0.197, allocations: 0.989 MB / 351.6 MB, free: 5.586 MB / 298.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.002375/0.1994, allocations: 1.339 MB / 353 MB, free: 4.109 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004237/0.2037, allocations: 0.7331 MB / 353.7 MB, free: 3.367 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.361/0.5647, allocations: 37.75 MB / 391.4 MB, free: 50.77 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.5648, allocations: 38.44 kB / 391.5 MB, free: 50.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 2.605e-06/0.5648, allocations: 0 / 391.5 MB, free: 50.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.007991/0.5728, allocations: 1.372 MB / 392.9 MB, free: 50.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.125e-05/0.5728, allocations: 55 kB / 392.9 MB, free: 49.95 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.5729, allocations: 124.7 kB / 393 MB, free: 49.84 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.697e-05/0.573, allocations: 29.7 kB / 393.1 MB, free: 49.8 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.258e-05/0.5731, allocations: 121.4 kB / 393.2 MB, free: 49.7 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/0.5733, allocations: 109.6 kB / 393.3 MB, free: 49.61 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.78e-05/0.5734, allocations: 15.94 kB / 393.3 MB, free: 49.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.296e-05/0.5735, allocations: 322.7 kB / 393.6 MB, free: 49.27 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009824/0.5744, allocations: 337.6 kB / 393.9 MB, free: 49.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.5755, allocations: 415.8 kB / 394.3 MB, free: 48.83 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009727/0.5765, allocations: 339.2 kB / 394.7 MB, free: 48.64 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.5765, allocations: 2.844 kB / 394.7 MB, free: 48.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002639/0.5792, allocations: 0.8786 MB / 395.6 MB, free: 47.97 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.5792, allocations: 7.984 kB / 395.6 MB, free: 47.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.5792, allocations: 4 kB / 395.6 MB, free: 47.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.5792, allocations: 4 kB / 395.6 MB, free: 47.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.5804, allocations: 171.8 kB / 395.7 MB, free: 47.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.5804, allocations: 10.12 kB / 395.8 MB, free: 47.78 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000647/0.5811, allocations: 47.67 kB / 395.8 MB, free: 47.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001606/0.5812, allocations: 65.86 kB / 395.9 MB, free: 47.67 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 4 (medium.phase,medium.bubble2.phase,medium.bubble.phase,medium.dew.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002783/0.5815, allocations: 141.7 kB / 396 MB, free: 47.52 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/0.5817, allocations: 11.91 kB / 396 MB, free: 47.51 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009396/0.5911, allocations: 7.972 MB / 404 MB, free: 39.54 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/0.5911, allocations: 4 kB / 404 MB, free: 39.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.5912, allocations: 0 / 404 MB, free: 39.53 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.597e-05/0.5913, allocations: 144.2 kB / 404.1 MB, free: 39.37 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.5914, allocations: 11.94 kB / 404.1 MB, free: 39.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008137/0.5922, allocations: 71.45 kB / 404.2 MB, free: 39.29 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.5924, allocations: 39.72 kB / 404.3 MB, free: 39.26 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002466/0.5948, allocations: 1.152 MB / 405.4 MB, free: 38.11 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003133/0.598, allocations: 1.755 MB / 407.2 MB, free: 36.34 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000905/0.5989, allocations: 0.5401 MB / 407.7 MB, free: 35.8 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.275e-05/0.599, allocations: 95.3 kB / 407.8 MB, free: 35.7 MB / 314.7 MB Notification: Performance of Backend: time 6.31e-07/0.599, allocations: 0 / 407.8 MB, free: 35.7 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00819/0.6072, allocations: 1.8 MB / 409.6 MB, free: 34.16 MB / 314.7 MB Notification: Performance of SimCode: time 0.001659/0.6089, allocations: 1.41 MB / 411 MB, free: 32.71 MB / 314.7 MB Notification: Performance of Templates: time 0.07926/0.6882, allocations: 44.31 MB / 455.3 MB, free: 4.328 MB / 330.7 MB