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.Incompressible.Glycol47.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.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",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.01079/0.01079, allocations: 105.4 kB / 15.06 MB, free: 6.027 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.001183/0.001183, allocations: 174.2 kB / 15.94 MB, free: 5.961 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.554/1.554, allocations: 170.9 MB / 187.5 MB, free: 1.012 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.2549/0.2549, allocations: 38.09 MB / 265.1 MB, free: 3.973 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004561/0.0004561, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09815/0.09864, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.03009/0.1288, allocations: 17.13 MB / 389.4 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01216/0.141, allocations: 5.78 MB / 395.2 MB, free: 5.875 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009361/0.142, allocations: 23.81 kB / 395.2 MB, free: 5.852 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001045/0.1431, allocations: 246.6 kB / 395.5 MB, free: 5.609 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005227/0.1483, allocations: 1.425 MB / 396.9 MB, free: 4.184 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004569/0.1529, allocations: 1.201 MB / 398.1 MB, free: 2.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002184/0.1551, allocations: 1.051 MB / 399.2 MB, free: 1.926 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007847/0.1559, allocations: 409.2 kB / 399.6 MB, free: 1.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006914/0.1628, allocations: 2.605 MB / 402.2 MB, free: 14.91 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002737/0.1656, allocations: 1.013 MB / 403.2 MB, free: 13.89 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002396/0.1659, allocations: 32 kB / 403.2 MB, free: 13.86 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003678/0.1696, allocations: 1.178 MB / 404.4 MB, free: 12.68 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004639/0.1701, allocations: 211.4 kB / 404.6 MB, free: 12.48 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003248/0.1704, allocations: 165.3 kB / 404.7 MB, free: 12.31 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002545/0.173, allocations: 1.006 MB / 405.8 MB, free: 11.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.173, allocations: 0 / 405.8 MB, free: 11.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.173, allocations: 0 / 405.8 MB, free: 11.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.173, allocations: 0 / 405.8 MB, free: 11.3 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.00309/0.1761, allocations: 0.9894 MB / 406.7 MB, free: 10.26 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.1762, allocations: 12.03 kB / 406.8 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002676/0.1765, allocations: 102.5 kB / 406.9 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001378/0.1779, allocations: 135 kB / 407 MB, free: 10.01 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/0.1793, allocations: 0.5044 MB / 407.5 MB, free: 9.461 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/0.1795, allocations: 104.4 kB / 407.6 MB, free: 9.348 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.1796, allocations: 47.98 kB / 407.6 MB, free: 9.301 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002334/0.182, allocations: 0.8355 MB / 408.5 MB, free: 8.383 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.424e-05/0.182, allocations: 3.953 kB / 408.5 MB, free: 8.379 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/0.1822, allocations: 24 kB / 408.5 MB, free: 8.355 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.543e-05/0.1823, allocations: 44.92 kB / 408.5 MB, free: 8.309 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00197/0.1843, allocations: 0.6048 MB / 409.1 MB, free: 7.707 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.007654/0.1919, allocations: 4.617 MB / 413.8 MB, free: 2.727 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.1931, allocations: 314.9 kB / 414.1 MB, free: 2.41 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003509/0.1934, allocations: 344.4 kB / 414.4 MB, free: 2 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.1935, allocations: 38.56 kB / 414.4 MB, free: 1.953 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 2.986e-06/0.1935, allocations: 0 / 414.4 MB, free: 1.953 MB / 314.7 MB Notification: Performance of matching and sorting (n=35): time 0.00611/0.1996, allocations: 1.495 MB / 415.9 MB, free: 388 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.728e-05/0.1997, allocations: 136.5 kB / 416.1 MB, free: 220 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.2009, allocations: 0.6368 MB / 416.7 MB, free: 15.57 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.652e-05/0.201, allocations: 33.7 kB / 416.7 MB, free: 15.53 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003973/0.2014, allocations: 406.2 kB / 417.1 MB, free: 15.12 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/0.2016, allocations: 126.3 kB / 417.3 MB, free: 15 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.948e-05/0.2017, allocations: 16 kB / 417.3 MB, free: 14.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002231/0.2019, allocations: 386.6 kB / 417.7 MB, free: 14.6 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005823/0.2025, allocations: 197.9 kB / 417.9 MB, free: 14.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008488/0.2034, allocations: 0.5271 MB / 418.4 MB, free: 13.72 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007843/0.2042, allocations: 297.7 kB / 418.7 MB, free: 13.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.2042, allocations: 4 kB / 418.7 MB, free: 13.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002438/0.2066, allocations: 0.8893 MB / 419.6 MB, free: 12.53 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.371e-05/0.2067, allocations: 10.34 kB / 419.6 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.262e-05/0.2067, allocations: 12 kB / 419.6 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002055/0.2088, allocations: 297.8 kB / 419.9 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007779/0.2096, allocations: 127.8 kB / 420 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001668/0.2113, allocations: 1.378 MB / 421.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008547/0.2121, allocations: 43.83 kB / 421.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.2123, allocations: 51.98 kB / 421.5 MB, free: 10.56 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (75): * Single equations (assignments): 73 * 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 {1 4,1 13} Notification: Performance of prepare postOptimizeDAE: time 0.0004755/0.2128, allocations: 246.6 kB / 421.7 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.2129, allocations: 63.25 kB / 421.8 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002202/0.2151, allocations: 0.6228 MB / 422.4 MB, free: 9.613 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.2152, allocations: 4 kB / 422.4 MB, free: 9.609 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.2152, allocations: 0 / 422.4 MB, free: 9.609 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.2152, allocations: 7.984 kB / 422.4 MB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002943/0.2181, allocations: 1.184 MB / 423.6 MB, free: 8.348 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.2182, allocations: 0 / 423.6 MB, free: 8.348 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003007/0.2185, allocations: 43.97 kB / 423.6 MB, free: 8.305 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001341/0.2199, allocations: 197.5 kB / 423.8 MB, free: 8.105 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.796e-05/0.2199, allocations: 15.95 kB / 423.8 MB, free: 8.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001462/0.2214, allocations: 1.304 MB / 425.1 MB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.2214, allocations: 3.984 kB / 425.2 MB, free: 6.73 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002112/0.2235, allocations: 0.8096 MB / 426 MB, free: 5.879 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004143/0.224, allocations: 196.2 kB / 426.2 MB, free: 5.668 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001401/0.2241, allocations: 4 kB / 426.2 MB, free: 5.664 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006416/0.2248, allocations: 24.05 kB / 426.2 MB, free: 5.641 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.2249, allocations: 27.95 kB / 426.2 MB, free: 5.613 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.453e-05/0.225, allocations: 24.03 kB / 426.2 MB, free: 5.59 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007973/0.2258, allocations: 447 kB / 426.7 MB, free: 5.156 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.2258, allocations: 0 / 426.7 MB, free: 5.156 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001304/0.2271, allocations: 276 kB / 426.9 MB, free: 4.887 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 22 * 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 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.00345/0.2306, allocations: 1.731 MB / 428.7 MB, free: 3.113 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001576/0.2322, allocations: 0.5055 MB / 429.2 MB, free: 2.609 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.2322, allocations: 4 kB / 429.2 MB, free: 2.605 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007852/0.233, allocations: 220.4 kB / 429.4 MB, free: 2.391 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002216/0.2352, allocations: 285.1 kB / 429.7 MB, free: 2.117 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2598/0.4951, allocations: 11.2 MB / 440.9 MB, free: 55.11 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005929/0.4957, allocations: 0.944 MB / 441.8 MB, free: 54.41 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001324/0.4971, allocations: 200.3 kB / 442 MB, free: 54.4 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005768/0.4977, allocations: 230.5 kB / 442.2 MB, free: 54.39 MB / 330.7 MB Notification: Performance of SimCode: time 2.635e-06/0.4977, allocations: 0 / 442.2 MB, free: 54.39 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1137/0.6114, allocations: 20.59 MB / 462.8 MB, free: 43.63 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002944/0.6118, allocations: 284.5 kB / 463.1 MB, free: 43.27 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.277/3.889, allocations: 0 / 463.1 MB, free: 43.27 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat