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.Essotherm650.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.Essotherm650,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",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.01093/0.01094, allocations: 105.5 kB / 15.06 MB, free: 6.035 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.001168/0.001168, allocations: 170 kB / 15.93 MB, free: 5.965 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.629/1.629, allocations: 170.9 MB / 187.5 MB, free: 1.004 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.2792/0.2792, allocations: 38.09 MB / 265.1 MB, free: 3.969 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004708/0.000471, allocations: 19.98 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09106/0.09156, allocations: 48.7 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.03059/0.1222, allocations: 17.13 MB / 389.4 MB, free: 11.65 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01259/0.1349, allocations: 5.764 MB / 395.2 MB, free: 5.879 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009873/0.1359, allocations: 31.69 kB / 395.2 MB, free: 5.848 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.1371, allocations: 250.7 kB / 395.5 MB, free: 5.602 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005608/0.1427, allocations: 1.469 MB / 396.9 MB, free: 4.129 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00479/0.1475, allocations: 1.228 MB / 398.2 MB, free: 2.898 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002457/0.15, allocations: 1.055 MB / 399.2 MB, free: 1.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009662/0.151, allocations: 413.1 kB / 399.6 MB, free: 1.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008108/0.1591, allocations: 2.882 MB / 402.5 MB, free: 14.54 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003025/0.1622, allocations: 1.111 MB / 403.6 MB, free: 13.43 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002318/0.1625, allocations: 32 kB / 403.7 MB, free: 13.4 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003909/0.1664, allocations: 1.245 MB / 404.9 MB, free: 12.15 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004337/0.1668, allocations: 219.4 kB / 405.1 MB, free: 11.94 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003182/0.1672, allocations: 165.4 kB / 405.3 MB, free: 11.77 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002283/0.1695, allocations: 1.002 MB / 406.3 MB, free: 10.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1695, allocations: 4 kB / 406.3 MB, free: 10.76 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1695, allocations: 0 / 406.3 MB, free: 10.76 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.1695, allocations: 0 / 406.3 MB, free: 10.76 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.002896/0.1724, allocations: 0.9933 MB / 407.3 MB, free: 9.719 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.1725, allocations: 8.031 kB / 407.3 MB, free: 9.711 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002131/0.1727, allocations: 102.5 kB / 407.4 MB, free: 9.602 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/0.174, allocations: 139 kB / 407.5 MB, free: 9.465 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.1753, allocations: 0.5005 MB / 408 MB, free: 8.922 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.1755, allocations: 100.4 kB / 408.1 MB, free: 8.812 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.1756, allocations: 52 kB / 408.2 MB, free: 8.762 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002328/0.178, allocations: 0.8277 MB / 409 MB, free: 7.852 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.51e-05/0.178, allocations: 15.89 kB / 409 MB, free: 7.836 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001367/0.1782, allocations: 27.97 kB / 409 MB, free: 7.809 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.619e-05/0.1783, allocations: 40.97 kB / 409.1 MB, free: 7.766 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002018/0.1803, allocations: 0.6009 MB / 409.7 MB, free: 7.168 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.007892/0.1882, allocations: 4.621 MB / 414.3 MB, free: 2.184 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.1894, allocations: 310.7 kB / 414.6 MB, free: 1.871 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003926/0.1898, allocations: 336.6 kB / 414.9 MB, free: 1.469 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/0.1898, allocations: 38.56 kB / 415 MB, free: 1.422 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 2.785e-06/0.1899, allocations: 4 kB / 415 MB, free: 1.418 MB / 314.7 MB Notification: Performance of matching and sorting (n=35): time 0.006251/0.1961, allocations: 1.495 MB / 416.5 MB, free: 15.84 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.1963, allocations: 132.5 kB / 416.6 MB, free: 15.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.1975, allocations: 0.6368 MB / 417.2 MB, free: 15.04 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.61e-05/0.1976, allocations: 37.7 kB / 417.3 MB, free: 14.99 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000446/0.198, allocations: 414.2 kB / 417.7 MB, free: 14.58 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001952/0.1982, allocations: 126.3 kB / 417.8 MB, free: 14.46 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.855e-05/0.1983, allocations: 19.94 kB / 417.8 MB, free: 14.44 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002218/0.1985, allocations: 370.8 kB / 418.2 MB, free: 14.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005978/0.1991, allocations: 205.9 kB / 418.4 MB, free: 13.87 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009261/0.2001, allocations: 0.527 MB / 418.9 MB, free: 13.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000788/0.2009, allocations: 293.7 kB / 419.2 MB, free: 12.9 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/0.2009, allocations: 4 kB / 419.2 MB, free: 12.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002419/0.2033, allocations: 0.8888 MB / 420.1 MB, free: 11.99 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/0.2034, allocations: 11.19 kB / 420.1 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.724e-05/0.2034, allocations: 12 kB / 420.1 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002031/0.2055, allocations: 289.3 kB / 420.4 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007652/0.2062, allocations: 131.8 kB / 420.5 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001752/0.208, allocations: 1.378 MB / 421.9 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008514/0.2089, allocations: 47.95 kB / 421.9 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.209, allocations: 44 kB / 422 MB, free: 10.04 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.0005241/0.2096, allocations: 251.4 kB / 422.2 MB, free: 9.781 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/0.2097, allocations: 63.25 kB / 422.3 MB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002317/0.212, allocations: 0.6306 MB / 422.9 MB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.2121, allocations: 4 kB / 422.9 MB, free: 9.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2121, allocations: 3.938 kB / 422.9 MB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.2121, allocations: 0 / 422.9 MB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003063/0.2152, allocations: 1.188 MB / 424.1 MB, free: 7.809 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.2152, allocations: 0 / 424.1 MB, free: 7.809 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002993/0.2155, allocations: 39.98 kB / 424.2 MB, free: 7.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00136/0.2169, allocations: 205.5 kB / 424.4 MB, free: 7.562 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.647e-05/0.217, allocations: 15.94 kB / 424.4 MB, free: 7.547 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001571/0.2185, allocations: 1.3 MB / 425.7 MB, free: 6.195 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.2186, allocations: 0 / 425.7 MB, free: 6.195 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002182/0.2208, allocations: 0.8172 MB / 426.5 MB, free: 5.336 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004325/0.2212, allocations: 188.2 kB / 426.7 MB, free: 5.133 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/0.2214, allocations: 12 kB / 426.7 MB, free: 5.121 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006536/0.222, allocations: 15.98 kB / 426.7 MB, free: 5.105 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.2222, allocations: 27.91 kB / 426.7 MB, free: 5.078 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.381e-05/0.2223, allocations: 20.05 kB / 426.8 MB, free: 5.059 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008411/0.2231, allocations: 443 kB / 427.2 MB, free: 4.629 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.2231, allocations: 0 / 427.2 MB, free: 4.629 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001316/0.2244, allocations: 280 kB / 427.5 MB, free: 4.355 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.003618/0.2281, allocations: 1.732 MB / 429.2 MB, free: 2.582 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001676/0.2298, allocations: 0.5138 MB / 429.7 MB, free: 2.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.2298, allocations: 0 / 429.7 MB, free: 2.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008407/0.2307, allocations: 219.7 kB / 429.9 MB, free: 1.855 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00232/0.233, allocations: 281.4 kB / 430.2 MB, free: 1.586 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3082/0.5412, allocations: 11.19 MB / 441.4 MB, free: 54.87 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006242/0.5419, allocations: 0.9413 MB / 442.3 MB, free: 54.17 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001359/0.5433, allocations: 209.8 kB / 442.5 MB, free: 54.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005463/0.5439, allocations: 233.4 kB / 442.8 MB, free: 54.13 MB / 330.7 MB Notification: Performance of SimCode: time 1.412e-06/0.5439, allocations: 2.562 kB / 442.8 MB, free: 54.13 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06365/0.6076, allocations: 20.59 MB / 463.3 MB, free: 43.32 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002624/0.6079, allocations: 290.8 kB / 463.6 MB, free: 42.96 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.198/3.806, allocations: 0 / 463.6 MB, free: 42.96 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat does not exist to compare? outputFormat=mat