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_ph.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_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadModel(Modelica): time 1.913/1.913, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003421/0.0003423, allocations: 12 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08991/0.09028, allocations: 44.51 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.04645/0.1368, allocations: 27.1 MB / 336.2 MB, free: 5.184 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02472/0.1616, allocations: 13.31 MB / 349.5 MB, free: 7.844 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004292/0.162, allocations: 4 kB / 349.5 MB, free: 7.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.1631, allocations: 227 kB / 349.7 MB, free: 7.617 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007784/0.1639, allocations: 255.2 kB / 350 MB, free: 7.367 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01887/0.1828, allocations: 4.527 MB / 354.5 MB, free: 2.828 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001371/0.1842, allocations: 0.6051 MB / 355.1 MB, free: 2.223 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000258/0.1844, allocations: 91.14 kB / 355.2 MB, free: 2.129 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009241/0.1937, allocations: 3.259 MB / 358.5 MB, free: 14.87 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004434/0.1942, allocations: 203.2 kB / 358.6 MB, free: 14.67 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.208e-05/0.1943, allocations: 16 kB / 358.7 MB, free: 14.65 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01629/0.2106, allocations: 5.931 MB / 364.6 MB, free: 8.715 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.2108, allocations: 83.78 kB / 364.7 MB, free: 8.633 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001961/0.211, allocations: 105.5 kB / 364.8 MB, free: 8.523 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006415/0.2175, allocations: 2.592 MB / 367.4 MB, free: 5.926 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2175, allocations: 0 / 367.4 MB, free: 5.926 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.2175, allocations: 0 / 367.4 MB, free: 5.926 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.2175, allocations: 0 / 367.4 MB, free: 5.926 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.003209/0.2208, allocations: 0.9474 MB / 368.3 MB, free: 4.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.2208, allocations: 12.03 kB / 368.3 MB, free: 4.918 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001819/0.2226, allocations: 159.4 kB / 368.5 MB, free: 4.762 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005464/0.2232, allocations: 310.4 kB / 368.8 MB, free: 4.418 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.161e-05/0.2233, allocations: 32.59 kB / 368.8 MB, free: 4.383 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.473e-05/0.2234, allocations: 35.98 kB / 368.9 MB, free: 4.348 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002281/0.2257, allocations: 0.562 MB / 369.4 MB, free: 3.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/0.2257, allocations: 7.938 kB / 369.4 MB, free: 3.742 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-05/0.2258, allocations: 16 kB / 369.4 MB, free: 3.727 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.2258, allocations: 12 kB / 369.5 MB, free: 3.715 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002515/0.2283, allocations: 0.529 MB / 370 MB, free: 3.188 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.004542/0.2329, allocations: 2.616 MB / 372.6 MB, free: 320 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2858/0.5187, allocations: 475 kB / 373.1 MB, free: 64.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001209/0.52, allocations: 0.561 MB / 373.6 MB, free: 64.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.52, allocations: 35.41 kB / 373.7 MB, free: 64.46 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 2.354e-06/0.52, allocations: 1.688 kB / 373.7 MB, free: 64.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.007984/0.528, allocations: 1.603 MB / 375.3 MB, free: 64.06 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/0.5281, allocations: 59.58 kB / 375.3 MB, free: 64 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003829/0.5285, allocations: 246.3 kB / 375.6 MB, free: 63.9 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.643e-05/0.5286, allocations: 31.36 kB / 375.6 MB, free: 63.87 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.5287, allocations: 187.3 kB / 375.8 MB, free: 63.74 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.5288, allocations: 115.5 kB / 375.9 MB, free: 63.67 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.5289, allocations: 9.656 kB / 375.9 MB, free: 63.67 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.146e-05/0.529, allocations: 344.9 kB / 376.2 MB, free: 63.35 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006969/0.5297, allocations: 148.6 kB / 376.4 MB, free: 63.31 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007438/0.5304, allocations: 249.2 kB / 376.6 MB, free: 63.15 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007455/0.5312, allocations: 171.9 kB / 376.8 MB, free: 63.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5312, allocations: 1.375 kB / 376.8 MB, free: 63.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002191/0.5334, allocations: 0.5334 MB / 377.3 MB, free: 62.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.5334, allocations: 6.625 kB / 377.3 MB, free: 62.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.5335, allocations: 7.438 kB / 377.3 MB, free: 62.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000822/0.5343, allocations: 116.1 kB / 377.5 MB, free: 62.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006694/0.535, allocations: 95.61 kB / 377.5 MB, free: 62.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/0.5371, allocations: 2.425 MB / 380 MB, free: 60.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006466/0.5378, allocations: 60.45 kB / 380 MB, free: 60.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.062e-05/0.5378, allocations: 18.48 kB / 380 MB, free: 60.41 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.0002498/0.5381, allocations: 163.1 kB / 380.2 MB, free: 60.26 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.834e-05/0.5382, allocations: 28.45 kB / 380.2 MB, free: 60.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003009/0.5412, allocations: 1.374 MB / 381.6 MB, free: 59.64 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002603/0.5438, allocations: 1.462 MB / 383.1 MB, free: 58.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.5439, allocations: 2.625 kB / 383.1 MB, free: 58.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002309/0.5441, allocations: 171.8 kB / 383.2 MB, free: 58.61 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.607e-05/0.5442, allocations: 10.58 kB / 383.3 MB, free: 58.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007328/0.545, allocations: 65.94 kB / 383.3 MB, free: 58.6 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/0.5451, allocations: 35.34 kB / 383.3 MB, free: 58.59 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002505/0.5477, allocations: 0.905 MB / 384.3 MB, free: 58.21 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002859/0.5505, allocations: 1.29 MB / 385.5 MB, free: 57.56 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008852/0.5515, allocations: 378.2 kB / 385.9 MB, free: 57.39 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003643/0.5519, allocations: 230.9 kB / 386.1 MB, free: 57.27 MB / 314.7 MB Notification: Performance of Backend: time 6.52e-07/0.5519, allocations: 5.047 kB / 386.1 MB, free: 57.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.008167/0.5601, allocations: 1.48 MB / 387.6 MB, free: 56.93 MB / 314.7 MB Notification: Performance of SimCode: time 0.002691/0.5628, allocations: 1.632 MB / 389.3 MB, free: 55.79 MB / 314.7 MB Notification: Performance of Templates: time 0.06668/0.6295, allocations: 37.85 MB / 427.1 MB, free: 20.79 MB / 314.7 MB