Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.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) 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 ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01621/0.0162, allocations: 103.8 kB / 15.05 MB, free: 5.949 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001203/0.001203, allocations: 174.3 kB / 15.93 MB, free: 5.91 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.746/1.746, allocations: 170.9 MB / 187.5 MB, free: 0.8594 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2537/0.2537, allocations: 38.09 MB / 265.1 MB, free: 3.949 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006381/0.0006382, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1018, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.02358/0.1255, allocations: 13.98 MB / 386.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009722/0.1352, allocations: 4.741 MB / 391 MB, free: 10.06 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008048/0.1361, allocations: 23.81 kB / 391.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.1372, allocations: 274.6 kB / 391.3 MB, free: 9.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002518/0.1398, allocations: 0.6926 MB / 392 MB, free: 9.078 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003376/0.1432, allocations: 0.7912 MB / 392.8 MB, free: 8.285 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002086/0.1453, allocations: 1.016 MB / 393.8 MB, free: 7.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007705/0.1461, allocations: 381.3 kB / 394.2 MB, free: 6.891 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001352/0.1474, allocations: 0.5491 MB / 394.7 MB, free: 6.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008289/0.1483, allocations: 402.5 kB / 395.1 MB, free: 5.945 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.1484, allocations: 32 kB / 395.2 MB, free: 5.914 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.1495, allocations: 235.8 kB / 395.4 MB, free: 5.684 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003465/0.1499, allocations: 215.4 kB / 395.6 MB, free: 5.473 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002199/0.1501, allocations: 161.4 kB / 395.8 MB, free: 5.309 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.1515, allocations: 0.7834 MB / 396.5 MB, free: 4.523 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1515, allocations: 0 / 396.5 MB, free: 4.523 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.1516, allocations: 7.938 kB / 396.6 MB, free: 4.516 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.1516, allocations: 0 / 396.6 MB, free: 4.516 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002516/0.1541, allocations: 0.9075 MB / 397.5 MB, free: 3.559 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.1541, allocations: 8.031 kB / 397.5 MB, free: 3.551 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001793/0.1543, allocations: 94.52 kB / 397.6 MB, free: 3.449 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004406/0.1548, allocations: 95.09 kB / 397.7 MB, free: 3.355 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.156, allocations: 0.4927 MB / 398.1 MB, free: 2.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/0.1561, allocations: 104.4 kB / 398.2 MB, free: 2.707 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.1563, allocations: 48 kB / 398.3 MB, free: 2.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/0.1582, allocations: 0.8269 MB / 399.1 MB, free: 1.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.805e-05/0.1583, allocations: 0 / 399.1 MB, free: 1.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/0.1584, allocations: 24 kB / 399.1 MB, free: 1.727 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.066e-05/0.1585, allocations: 48.88 kB / 399.2 MB, free: 1.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001807/0.1603, allocations: 0.6322 MB / 399.8 MB, free: 1.047 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.007158/0.1675, allocations: 4.344 MB / 404.2 MB, free: 12.39 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009564/0.1685, allocations: 335.4 kB / 404.5 MB, free: 12.06 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00307/0.1715, allocations: 1.804 MB / 406.3 MB, free: 10.01 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/0.1716, allocations: 42.52 kB / 406.3 MB, free: 9.957 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 2.625e-06/0.1716, allocations: 0 / 406.3 MB, free: 9.957 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.004557/0.1762, allocations: 1.238 MB / 407.6 MB, free: 8.668 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.17e-05/0.1763, allocations: 132.5 kB / 407.7 MB, free: 8.508 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.1775, allocations: 0.6249 MB / 408.3 MB, free: 7.871 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.439e-05/0.1776, allocations: 33.7 kB / 408.4 MB, free: 7.832 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004148/0.178, allocations: 409.9 kB / 408.8 MB, free: 7.426 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.1782, allocations: 122.4 kB / 408.9 MB, free: 7.305 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.501e-05/0.1782, allocations: 16 kB / 408.9 MB, free: 7.289 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.1784, allocations: 374.7 kB / 409.3 MB, free: 6.914 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004718/0.1789, allocations: 177.9 kB / 409.4 MB, free: 6.742 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009413/0.1799, allocations: 0.5849 MB / 410 MB, free: 5.965 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00082/0.1807, allocations: 295.7 kB / 410.3 MB, free: 5.676 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.1807, allocations: 4 kB / 410.3 MB, free: 5.672 MB / 314.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001976/0.1827, allocations: 0.7784 MB / 411.1 MB, free: 4.887 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.1828, allocations: 16.06 kB / 411.1 MB, free: 4.871 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.155e-05/0.1828, allocations: 16 kB / 411.1 MB, free: 4.855 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.93e-05/0.1829, allocations: 20 kB / 411.1 MB, free: 4.836 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001564/0.1844, allocations: 207.6 kB / 411.4 MB, free: 4.633 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.42e-05/0.1845, allocations: 31.91 kB / 411.4 MB, free: 4.602 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009291/0.1854, allocations: 43.98 kB / 411.4 MB, free: 4.559 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.059e-05/0.1856, allocations: 44 kB / 411.5 MB, free: 4.516 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 95 * 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.0005123/0.1861, allocations: 266.6 kB / 411.7 MB, free: 4.246 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/0.1862, allocations: 71.16 kB / 411.8 MB, free: 4.176 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/0.1874, allocations: 441.8 kB / 412.2 MB, free: 3.73 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.1874, allocations: 0 / 412.2 MB, free: 3.73 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.1875, allocations: 4 kB / 412.2 MB, free: 3.727 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.1875, allocations: 0 / 412.2 MB, free: 3.727 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002547/0.19, allocations: 1.225 MB / 413.5 MB, free: 2.383 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/0.1901, allocations: 8.391 kB / 413.5 MB, free: 2.375 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006239/0.1907, allocations: 83.86 kB / 413.5 MB, free: 2.293 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002873/0.191, allocations: 36.92 kB / 413.6 MB, free: 2.254 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.574e-05/0.1911, allocations: 16 kB / 413.6 MB, free: 2.238 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005548/0.1916, allocations: 0.564 MB / 414.2 MB, free: 1.648 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/0.1917, allocations: 7.938 kB / 414.2 MB, free: 1.641 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/0.1932, allocations: 0.8326 MB / 415 MB, free: 0.668 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003754/0.1936, allocations: 188.2 kB / 415.2 MB, free: 476 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.1937, allocations: 16.06 kB / 415.2 MB, free: 460 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006393/0.1944, allocations: 27.92 kB / 415.2 MB, free: 432 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.634e-05/0.1945, allocations: 27.92 kB / 415.3 MB, free: 404 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.219e-05/0.1945, allocations: 27.98 kB / 415.3 MB, free: 376 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007736/0.1953, allocations: 431 kB / 415.7 MB, free: 15.95 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.1953, allocations: 3.938 kB / 415.7 MB, free: 15.94 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001118/0.1965, allocations: 188 kB / 415.9 MB, free: 15.76 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002484/0.199, allocations: 2.417 MB / 418.3 MB, free: 13.23 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001182/0.2002, allocations: 469.3 kB / 418.8 MB, free: 12.78 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.2002, allocations: 0 / 418.8 MB, free: 12.78 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005499/0.2008, allocations: 165.3 kB / 418.9 MB, free: 12.62 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002123/0.2029, allocations: 272.4 kB / 419.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2663/0.4692, allocations: 12.98 MB / 432.2 MB, free: 62.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000602/0.4699, allocations: 0.9488 MB / 433.1 MB, free: 61.62 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001254/0.4711, allocations: 206.4 kB / 433.3 MB, free: 61.61 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005654/0.4717, allocations: 230.1 kB / 433.5 MB, free: 61.61 MB / 330.7 MB Notification: Performance of SimCode: time 9.72e-07/0.4717, allocations: 0 / 433.5 MB, free: 61.61 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06167/0.5334, allocations: 16.95 MB / 450.5 MB, free: 54.93 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003002/0.5338, allocations: 295.9 kB / 450.8 MB, free: 54.57 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.06/3.594, allocations: 0 / 450.8 MB, free: 54.57 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat