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_pT.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_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadModel(Modelica): time 1.762/1.762, allocations: 171.1 MB / 186.7 MB, free: 1.141 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008002/0.0008002, allocations: 8 kB / 233.9 MB, free: 2.379 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08252/0.08336, allocations: 38.77 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.04338/0.1268, allocations: 26.91 MB / 299.6 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2627/0.3896, allocations: 13.18 MB / 312.7 MB, free: 9.969 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005853/0.3902, allocations: 6.438 kB / 312.7 MB, free: 9.969 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001512/0.3917, allocations: 238.6 kB / 313 MB, free: 9.961 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001275/0.3931, allocations: 244.8 kB / 313.2 MB, free: 9.961 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02724/0.4203, allocations: 4.484 MB / 317.7 MB, free: 9.727 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001783/0.4222, allocations: 0.6152 MB / 318.3 MB, free: 9.707 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003842/0.4226, allocations: 84.09 kB / 318.4 MB, free: 9.691 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01099/0.4336, allocations: 3.219 MB / 321.6 MB, free: 9.266 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007186/0.4344, allocations: 184.4 kB / 321.8 MB, free: 9.203 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.4345, allocations: 17.84 kB / 321.8 MB, free: 9.203 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01136/0.4459, allocations: 3.353 MB / 325.2 MB, free: 7.773 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002272/0.4462, allocations: 79.08 kB / 325.2 MB, free: 7.723 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003324/0.4466, allocations: 104 kB / 325.3 MB, free: 7.664 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004638/0.4512, allocations: 1.638 MB / 327 MB, free: 6.742 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4513, allocations: 0 / 327 MB, free: 6.742 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.4513, allocations: 7.938 kB / 327 MB, free: 6.734 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.4513, allocations: 2.375 kB / 327 MB, free: 6.734 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.002514/0.4538, allocations: 0.7433 MB / 327.7 MB, free: 6.133 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6e-05/0.4539, allocations: 8.969 kB / 327.7 MB, free: 6.133 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001476/0.4554, allocations: 80.33 kB / 327.8 MB, free: 6.105 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006551/0.4561, allocations: 300.5 kB / 328.1 MB, free: 5.809 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.085e-05/0.4562, allocations: 20.31 kB / 328.1 MB, free: 5.801 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.715e-05/0.4563, allocations: 35.81 kB / 328.2 MB, free: 5.785 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.4577, allocations: 440.3 kB / 328.6 MB, free: 5.465 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.267e-05/0.4578, allocations: 3.438 kB / 328.6 MB, free: 5.465 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.23e-05/0.4578, allocations: 11.25 kB / 328.6 MB, free: 5.457 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.4579, allocations: 9.312 kB / 328.6 MB, free: 5.457 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.459, allocations: 317.4 kB / 328.9 MB, free: 5.305 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.004296/0.4634, allocations: 2.625 MB / 331.6 MB, free: 2.465 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009836/0.4644, allocations: 250.5 kB / 331.8 MB, free: 2.211 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06349/0.5279, allocations: 15.51 MB / 347.3 MB, free: 0.918 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.811e-05/0.528, allocations: 35.66 kB / 347.3 MB, free: 0.875 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 3.066e-06/0.528, allocations: 4 kB / 347.3 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of matching and sorting (n=30): time 0.006695/0.5347, allocations: 1.309 MB / 348.7 MB, free: 15.49 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.5348, allocations: 55.41 kB / 348.7 MB, free: 15.42 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004424/0.5352, allocations: 266.5 kB / 349 MB, free: 15.15 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.024e-05/0.5353, allocations: 33.7 kB / 349 MB, free: 15.11 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.5355, allocations: 196 kB / 349.2 MB, free: 14.92 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.5356, allocations: 109.9 kB / 349.3 MB, free: 14.81 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/0.5357, allocations: 8 kB / 349.3 MB, free: 14.8 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.5358, allocations: 338.8 kB / 349.6 MB, free: 14.46 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002825/0.5361, allocations: 92.84 kB / 349.7 MB, free: 14.37 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003945/0.5365, allocations: 222.9 kB / 349.9 MB, free: 14.1 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003657/0.5369, allocations: 127.9 kB / 350.1 MB, free: 13.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.5369, allocations: 3.938 kB / 350.1 MB, free: 13.97 MB / 282.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001253/0.5382, allocations: 446.5 kB / 350.5 MB, free: 13.52 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.5382, allocations: 8.625 kB / 350.5 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.5383, allocations: 4 kB / 350.5 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005698/0.544, allocations: 269.8 kB / 350.8 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006061/0.5446, allocations: 79.89 kB / 350.9 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00215/0.5468, allocations: 1.88 MB / 352.7 MB, free: 11.13 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004791/0.5473, allocations: 33.02 kB / 352.8 MB, free: 11.1 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.896e-05/0.5474, allocations: 23.95 kB / 352.8 MB, free: 11.07 MB / 282.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.0002945/0.5477, allocations: 165.7 kB / 353 MB, free: 10.9 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.559e-05/0.5478, allocations: 27.66 kB / 353 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001763/0.5495, allocations: 0.9513 MB / 353.9 MB, free: 9.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001582/0.5511, allocations: 1.118 MB / 355.1 MB, free: 8.703 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.5512, allocations: 0 / 355.1 MB, free: 8.703 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002201/0.5514, allocations: 132.5 kB / 355.2 MB, free: 8.555 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.502e-05/0.5515, allocations: 11.95 kB / 355.2 MB, free: 8.543 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004058/0.5519, allocations: 23.89 kB / 355.2 MB, free: 8.52 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.662e-05/0.552, allocations: 15.97 kB / 355.2 MB, free: 8.504 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001592/0.5536, allocations: 0.6563 MB / 355.9 MB, free: 7.844 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001684/0.5553, allocations: 0.9381 MB / 356.8 MB, free: 6.891 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004615/0.5558, allocations: 248.5 kB / 357.1 MB, free: 6.648 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004027/0.5562, allocations: 243 kB / 357.3 MB, free: 6.414 MB / 282.7 MB Notification: Performance of Backend: time 5.01e-07/0.5562, allocations: 0 / 357.3 MB, free: 6.414 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.004815/0.5611, allocations: 0.9442 MB / 358.3 MB, free: 5.496 MB / 282.7 MB Notification: Performance of SimCode: time 0.002855/0.564, allocations: 1.516 MB / 359.8 MB, free: 3.941 MB / 282.7 MB Notification: Performance of Templates: time 0.04781/0.6118, allocations: 20.29 MB / 380.1 MB, free: 15.66 MB / 314.7 MB