Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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) 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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.011/0.011, allocations: 107 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001234/0.001234, allocations: 180.6 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.084/2.084, allocations: 194.5 MB / 211.3 MB, free: 11.03 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2972/0.2972, allocations: 40.04 MB / 296.5 MB, free: 6.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006432/0.0006433, allocations: 12 kB / 361.1 MB, free: 9.516 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1163, allocations: 54.89 MB / 416 MB, free: 2.531 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.02197/0.1383, allocations: 14 MB / 430 MB, free: 4.469 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01017/0.1485, allocations: 4.757 MB / 434.8 MB, free: 15.7 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001082/0.1497, allocations: 23.75 kB / 434.8 MB, free: 15.68 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001257/0.151, allocations: 266.6 kB / 435.1 MB, free: 15.41 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002912/0.1539, allocations: 0.6855 MB / 435.8 MB, free: 14.73 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003672/0.1576, allocations: 0.7911 MB / 436.6 MB, free: 13.93 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002536/0.1602, allocations: 1.02 MB / 437.6 MB, free: 12.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.1612, allocations: 381.3 kB / 438 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001786/0.1631, allocations: 0.5452 MB / 438.5 MB, free: 11.99 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001037/0.1641, allocations: 398.6 kB / 438.9 MB, free: 11.6 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001678/0.1643, allocations: 32 kB / 438.9 MB, free: 11.57 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0012/0.1655, allocations: 247.7 kB / 439.2 MB, free: 11.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003748/0.1659, allocations: 207.4 kB / 439.4 MB, free: 11.12 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002932/0.1663, allocations: 165.3 kB / 439.5 MB, free: 10.95 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001573/0.1678, allocations: 0.7795 MB / 440.3 MB, free: 10.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.1679, allocations: 0 / 440.3 MB, free: 10.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1679, allocations: 0 / 440.3 MB, free: 10.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.1679, allocations: 0 / 440.3 MB, free: 10.18 MB / 378.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.002698/0.1706, allocations: 0.9076 MB / 441.2 MB, free: 9.219 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.1707, allocations: 12.03 kB / 441.2 MB, free: 9.207 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002364/0.1709, allocations: 102.4 kB / 441.3 MB, free: 9.098 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004933/0.1714, allocations: 95.05 kB / 441.4 MB, free: 9.004 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.1728, allocations: 0.4965 MB / 441.9 MB, free: 8.465 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001842/0.173, allocations: 104.4 kB / 442 MB, free: 8.352 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.1731, allocations: 48 kB / 442.1 MB, free: 8.305 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002036/0.1752, allocations: 0.8231 MB / 442.9 MB, free: 7.398 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.154e-05/0.1752, allocations: 3.938 kB / 442.9 MB, free: 7.395 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/0.1754, allocations: 24 kB / 442.9 MB, free: 7.371 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-05/0.1755, allocations: 36.98 kB / 442.9 MB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001857/0.1773, allocations: 0.6399 MB / 443.6 MB, free: 6.695 MB / 378.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.007473/0.1848, allocations: 4.336 MB / 447.9 MB, free: 2.051 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.1859, allocations: 339.4 kB / 448.3 MB, free: 1.711 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2906/0.4765, allocations: 1.806 MB / 450.1 MB, free: 60.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.4766, allocations: 41.16 kB / 450.1 MB, free: 60.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=23): time 3.376e-06/0.4766, allocations: 2.844 kB / 450.1 MB, free: 60.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.004532/0.4812, allocations: 1.224 MB / 451.3 MB, free: 59.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.4813, allocations: 135.1 kB / 451.5 MB, free: 59.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009729/0.4823, allocations: 0.6165 MB / 452.1 MB, free: 59.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.907e-05/0.4824, allocations: 35.36 kB / 452.1 MB, free: 59.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002909/0.4827, allocations: 413 kB / 452.5 MB, free: 59.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.4828, allocations: 123.7 kB / 452.6 MB, free: 59.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.103e-05/0.4828, allocations: 13.31 kB / 452.6 MB, free: 59.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.483, allocations: 377.3 kB / 453 MB, free: 58.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004239/0.4834, allocations: 177.9 kB / 453.2 MB, free: 58.99 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006084/0.484, allocations: 0.579 MB / 453.8 MB, free: 58.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006143/0.4846, allocations: 292.1 kB / 454.1 MB, free: 58.47 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.317e-06/0.4847, allocations: 3.094 kB / 454.1 MB, free: 58.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001721/0.4864, allocations: 0.7819 MB / 454.8 MB, free: 58.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.116e-05/0.4865, allocations: 15.7 kB / 454.9 MB, free: 58.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/0.4865, allocations: 15.88 kB / 454.9 MB, free: 58.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.114e-05/0.4865, allocations: 21.72 kB / 454.9 MB, free: 58.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/0.4881, allocations: 213.3 kB / 455.1 MB, free: 58.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.045e-05/0.4881, allocations: 25.25 kB / 455.1 MB, free: 58.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009345/0.4891, allocations: 51.16 kB / 455.2 MB, free: 58.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.78e-05/0.4892, allocations: 44.83 kB / 455.2 MB, free: 58.3 MB / 378.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.0004648/0.4896, allocations: 258 kB / 455.5 MB, free: 58.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.4898, allocations: 71.41 kB / 455.5 MB, free: 58.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.4909, allocations: 440.1 kB / 456 MB, free: 58.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.4909, allocations: 3.156 kB / 456 MB, free: 58.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.4909, allocations: 0 / 456 MB, free: 58.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.4909, allocations: 10.7 kB / 456 MB, free: 58.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002422/0.4933, allocations: 1.235 MB / 457.2 MB, free: 57.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.4934, allocations: 3.125 kB / 457.2 MB, free: 57.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004999/0.4939, allocations: 75.75 kB / 457.3 MB, free: 57.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002864/0.4942, allocations: 36.95 kB / 457.3 MB, free: 57.51 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.511e-05/0.4943, allocations: 16.08 kB / 457.3 MB, free: 57.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003917/0.4947, allocations: 0.5589 MB / 457.9 MB, free: 56.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.4947, allocations: 3.375 kB / 457.9 MB, free: 56.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/0.496, allocations: 0.8435 MB / 458.8 MB, free: 56.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003774/0.4964, allocations: 194.1 kB / 458.9 MB, free: 56.35 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.4965, allocations: 15.97 kB / 459 MB, free: 56.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006594/0.4972, allocations: 22.66 kB / 459 MB, free: 56.35 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.707e-05/0.4973, allocations: 34.16 kB / 459 MB, free: 56.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.603e-05/0.4974, allocations: 25.23 kB / 459 MB, free: 56.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007743/0.4982, allocations: 424.8 kB / 459.5 MB, free: 56.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4982, allocations: 0 / 459.5 MB, free: 56.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001273/0.4995, allocations: 192.5 kB / 459.6 MB, free: 56.25 MB / 378.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.002224/0.5017, allocations: 2.396 MB / 462 MB, free: 54.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001152/0.5029, allocations: 466.8 kB / 462.5 MB, free: 54.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/0.503, allocations: 0 / 462.5 MB, free: 54.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005618/0.5035, allocations: 176.3 kB / 462.7 MB, free: 54.26 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002258/0.5058, allocations: 274.5 kB / 462.9 MB, free: 54.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009351/0.5152, allocations: 12.99 MB / 475.9 MB, free: 42.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000487/0.5157, allocations: 0.9501 MB / 476.9 MB, free: 42.04 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001252/0.517, allocations: 203.1 kB / 477.1 MB, free: 42.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004433/0.5175, allocations: 229.7 kB / 477.3 MB, free: 41.86 MB / 378.7 MB Notification: Performance of SimCode: time 1.212e-06/0.5175, allocations: 0 / 477.3 MB, free: 41.86 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05697/0.5745, allocations: 16.95 MB / 494.2 MB, free: 40.11 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001864/0.5747, allocations: 296.9 kB / 494.5 MB, free: 39.75 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.12/3.695, allocations: 1.531 kB / 494.5 MB, free: 39.75 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat