Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadModel(Modelica): time 1.82/1.82, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.0003641, allocations: 12 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08125/0.08164, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.04364/0.1253, allocations: 26.93 MB / 299.6 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2417/0.3671, allocations: 13.17 MB / 312.7 MB, free: 9.871 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000488/0.3676, allocations: 6.344 kB / 312.7 MB, free: 9.871 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009957/0.3687, allocations: 238.4 kB / 313 MB, free: 9.863 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007885/0.3695, allocations: 250.1 kB / 313.2 MB, free: 9.859 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01941/0.3889, allocations: 4.485 MB / 317.7 MB, free: 9.625 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001354/0.3903, allocations: 0.5932 MB / 318.3 MB, free: 9.605 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002511/0.3906, allocations: 84.27 kB / 318.4 MB, free: 9.586 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008801/0.3994, allocations: 3.236 MB / 321.6 MB, free: 9.16 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003939/0.3998, allocations: 194.5 kB / 321.8 MB, free: 9.098 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.485e-05/0.3999, allocations: 18.41 kB / 321.8 MB, free: 9.098 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01526/0.4152, allocations: 5.877 MB / 327.7 MB, free: 6.602 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000182/0.4154, allocations: 80.16 kB / 327.8 MB, free: 6.535 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002285/0.4157, allocations: 113.5 kB / 327.9 MB, free: 6.418 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006087/0.4218, allocations: 2.571 MB / 330.5 MB, free: 3.98 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4218, allocations: 0 / 330.5 MB, free: 3.98 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.544e-06/0.4218, allocations: 0 / 330.5 MB, free: 3.98 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.625e-05/0.4219, allocations: 0 / 330.5 MB, free: 3.98 MB / 250.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.002864/0.4247, allocations: 0.9466 MB / 331.4 MB, free: 2.988 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.4248, allocations: 12.03 kB / 331.4 MB, free: 2.977 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001794/0.4266, allocations: 159.5 kB / 331.6 MB, free: 2.82 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004972/0.4271, allocations: 309.9 kB / 331.9 MB, free: 2.48 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.095e-05/0.4272, allocations: 28.66 kB / 331.9 MB, free: 2.453 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.009e-05/0.4273, allocations: 35.98 kB / 331.9 MB, free: 2.418 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002064/0.4293, allocations: 0.5659 MB / 332.5 MB, free: 1.82 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.4294, allocations: 0 / 332.5 MB, free: 1.82 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-05/0.4295, allocations: 15.94 kB / 332.5 MB, free: 1.805 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.4295, allocations: 8 kB / 332.5 MB, free: 1.797 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002325/0.4318, allocations: 0.5368 MB / 333.1 MB, free: 1.258 MB / 250.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.004483/0.4363, allocations: 2.623 MB / 335.7 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002536/0.4389, allocations: 478.9 kB / 336.2 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001296/0.4402, allocations: 0.563 MB / 336.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.488e-05/0.4403, allocations: 38.56 kB / 336.8 MB, free: 13.22 MB / 266.7 MB Notification: Performance of pre-optimization done (n=30): time 3.166e-06/0.4403, allocations: 0 / 336.8 MB, free: 13.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=34): time 0.008094/0.4484, allocations: 1.605 MB / 338.4 MB, free: 11.54 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.4485, allocations: 55.41 kB / 338.4 MB, free: 11.47 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003988/0.4489, allocations: 241 kB / 338.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.922e-05/0.449, allocations: 29.7 kB / 338.7 MB, free: 11.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.4491, allocations: 191.7 kB / 338.9 MB, free: 11.01 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.4493, allocations: 114.4 kB / 339 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.4493, allocations: 4 kB / 339 MB, free: 10.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.4495, allocations: 342.8 kB / 339.3 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007227/0.4502, allocations: 148.7 kB / 339.5 MB, free: 10.4 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008/0.4511, allocations: 259.3 kB / 339.7 MB, free: 10.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000771/0.4519, allocations: 167.9 kB / 339.9 MB, free: 9.941 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.4519, allocations: 0 / 339.9 MB, free: 9.941 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002287/0.4542, allocations: 0.5346 MB / 340.4 MB, free: 9.391 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.4542, allocations: 7.953 kB / 340.4 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.4543, allocations: 4 kB / 340.4 MB, free: 9.379 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008378/0.4551, allocations: 114.8 kB / 340.5 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006678/0.4558, allocations: 91.83 kB / 340.6 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002805/0.4586, allocations: 2.429 MB / 343.1 MB, free: 6.555 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006696/0.4593, allocations: 52.22 kB / 343.1 MB, free: 6.504 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.266e-05/0.4594, allocations: 27.98 kB / 343.1 MB, free: 6.477 MB / 266.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.0003033/0.4597, allocations: 162 kB / 343.3 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-05/0.4598, allocations: 23.72 kB / 343.3 MB, free: 6.285 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003376/0.4632, allocations: 1.379 MB / 344.7 MB, free: 4.898 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002936/0.4662, allocations: 1.452 MB / 346.2 MB, free: 3.355 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.4662, allocations: 0 / 346.2 MB, free: 3.355 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002532/0.4665, allocations: 168.1 kB / 346.3 MB, free: 3.172 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.82e-05/0.4666, allocations: 8 kB / 346.3 MB, free: 3.164 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007141/0.4673, allocations: 67.88 kB / 346.4 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.4675, allocations: 36.27 kB / 346.4 MB, free: 3.062 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002668/0.4702, allocations: 0.9071 MB / 347.3 MB, free: 2.152 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003109/0.4733, allocations: 1.291 MB / 348.6 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009583/0.4743, allocations: 382.2 kB / 349 MB, free: 484 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003964/0.4747, allocations: 227.1 kB / 349.2 MB, free: 260 kB / 266.7 MB Notification: Performance of Backend: time 6.12e-07/0.4747, allocations: 0 / 349.2 MB, free: 260 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.008435/0.4832, allocations: 1.488 MB / 350.7 MB, free: 14.84 MB / 282.7 MB Notification: Performance of SimCode: time 0.003094/0.4863, allocations: 1.636 MB / 352.3 MB, free: 13.16 MB / 282.7 MB Notification: Performance of Templates: time 0.08795/0.5743, allocations: 37.64 MB / 390 MB, free: 7.512 MB / 314.7 MB