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 1.975/1.975, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003509, allocations: 11.94 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1012, allocations: 44.51 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.06312/0.1644, allocations: 27.11 MB / 336.2 MB, free: 5.18 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.03132/0.1958, allocations: 13.31 MB / 349.5 MB, free: 7.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004589/0.1963, allocations: 7.938 kB / 349.5 MB, free: 7.832 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.1974, allocations: 227 kB / 349.7 MB, free: 7.609 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009799/0.1984, allocations: 255.2 kB / 350 MB, free: 7.359 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02984/0.2283, allocations: 4.515 MB / 354.5 MB, free: 2.832 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002134/0.2305, allocations: 0.6247 MB / 355.1 MB, free: 2.207 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003813/0.2309, allocations: 88.88 kB / 355.2 MB, free: 2.113 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01358/0.2445, allocations: 3.251 MB / 358.5 MB, free: 14.86 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006031/0.2452, allocations: 187.3 kB / 358.6 MB, free: 14.68 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.32e-05/0.2453, allocations: 16 kB / 358.7 MB, free: 14.66 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01429/0.2596, allocations: 3.41 MB / 362.1 MB, free: 11.25 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002607/0.2599, allocations: 67.8 kB / 362.1 MB, free: 11.18 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002756/0.2602, allocations: 109.5 kB / 362.2 MB, free: 11.07 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004455/0.2647, allocations: 1.653 MB / 363.9 MB, free: 9.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2648, allocations: 0 / 363.9 MB, free: 9.41 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.2648, allocations: 0 / 363.9 MB, free: 9.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.2648, allocations: 0 / 363.9 MB, free: 9.41 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.002074/0.2669, allocations: 0.7407 MB / 364.6 MB, free: 8.621 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.267, allocations: 12.03 kB / 364.6 MB, free: 8.609 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009878/0.268, allocations: 87.48 kB / 364.7 MB, free: 8.523 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005417/0.2685, allocations: 298.4 kB / 365 MB, free: 8.191 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.342e-05/0.2686, allocations: 24.66 kB / 365 MB, free: 8.164 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.741e-05/0.2687, allocations: 32 kB / 365.1 MB, free: 8.133 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.2699, allocations: 434.1 kB / 365.5 MB, free: 7.664 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.2699, allocations: 4 kB / 365.5 MB, free: 7.66 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.036e-05/0.27, allocations: 16 kB / 365.5 MB, free: 7.645 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.27, allocations: 8 kB / 365.5 MB, free: 7.637 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009459/0.271, allocations: 321.8 kB / 365.8 MB, free: 7.324 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.004165/0.2751, allocations: 2.625 MB / 368.5 MB, free: 4.453 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008249/0.276, allocations: 246.6 kB / 368.7 MB, free: 4.203 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2936/0.5696, allocations: 15.59 MB / 384.3 MB, free: 59.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.45e-05/0.5697, allocations: 35.03 kB / 384.3 MB, free: 59.46 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 2.755e-06/0.5697, allocations: 0 / 384.3 MB, free: 59.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=30): time 0.006471/0.5762, allocations: 1.31 MB / 385.6 MB, free: 58.9 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.205e-05/0.5762, allocations: 58.16 kB / 385.7 MB, free: 58.83 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003626/0.5766, allocations: 271.5 kB / 386 MB, free: 58.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.802e-05/0.5767, allocations: 32.45 kB / 386 MB, free: 58.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.5768, allocations: 193.7 kB / 386.2 MB, free: 58.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.792e-05/0.5769, allocations: 109.4 kB / 386.3 MB, free: 58.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.489e-05/0.5769, allocations: 5.375 kB / 386.3 MB, free: 58.34 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.987e-05/0.577, allocations: 341.7 kB / 386.6 MB, free: 58 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002559/0.5773, allocations: 98.34 kB / 386.7 MB, free: 57.95 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003167/0.5776, allocations: 219 kB / 386.9 MB, free: 57.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003549/0.578, allocations: 141.2 kB / 387.1 MB, free: 57.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.578, allocations: 1.344 kB / 387.1 MB, free: 57.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001177/0.5792, allocations: 439.2 kB / 387.5 MB, free: 57.44 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.5792, allocations: 7.781 kB / 387.5 MB, free: 57.44 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.5792, allocations: 2.844 kB / 387.5 MB, free: 57.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005448/0.5847, allocations: 263.6 kB / 387.8 MB, free: 57.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006043/0.5853, allocations: 86.56 kB / 387.9 MB, free: 57.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001644/0.587, allocations: 1.877 MB / 389.7 MB, free: 55.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004787/0.5875, allocations: 32.73 kB / 389.8 MB, free: 55.37 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.365e-05/0.5876, allocations: 18.47 kB / 389.8 MB, free: 55.37 MB / 314.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.0002476/0.5878, allocations: 172.9 kB / 390 MB, free: 55.21 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.42e-05/0.5879, allocations: 27.78 kB / 390 MB, free: 55.2 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001458/0.5894, allocations: 0.9433 MB / 390.9 MB, free: 54.64 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001198/0.5906, allocations: 1.124 MB / 392 MB, free: 53.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.5907, allocations: 0 / 392 MB, free: 53.79 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/0.5908, allocations: 132.3 kB / 392.2 MB, free: 53.65 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.002e-05/0.591, allocations: 7.969 kB / 392.2 MB, free: 53.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003968/0.5914, allocations: 23.89 kB / 392.2 MB, free: 53.63 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.5914, allocations: 19.83 kB / 392.2 MB, free: 53.62 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001382/0.5928, allocations: 0.644 MB / 392.9 MB, free: 53.23 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001359/0.5942, allocations: 0.9574 MB / 393.8 MB, free: 52.61 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003779/0.5946, allocations: 247.3 kB / 394.1 MB, free: 52.46 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003455/0.595, allocations: 238.5 kB / 394.3 MB, free: 52.31 MB / 314.7 MB Notification: Performance of Backend: time 5.01e-07/0.595, allocations: 0 / 394.3 MB, free: 52.31 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004727/0.5997, allocations: 0.9497 MB / 395.3 MB, free: 51.62 MB / 314.7 MB Notification: Performance of SimCode: time 0.002613/0.6024, allocations: 1.519 MB / 396.8 MB, free: 50.07 MB / 314.7 MB Notification: Performance of Templates: time 0.03962/0.642, allocations: 20.47 MB / 417.2 MB, free: 29.62 MB / 314.7 MB