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.LinearFluid.LinearColdWater.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.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",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.01113/0.01113, allocations: 107.2 kB / 15.06 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.2.mo): time 0.001251/0.001251, allocations: 185.5 kB / 15.95 MB, free: 5.902 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 1.899/1.899, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.2602/0.2602, allocations: 40.04 MB / 296.5 MB, free: 6.293 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007585/0.0007588, allocations: 8 kB / 361.2 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1235, allocations: 54.88 MB / 416 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02318/0.1468, allocations: 14.09 MB / 430.1 MB, free: 4.418 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008939/0.1558, allocations: 4.083 MB / 434.2 MB, free: 336 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009257/0.1567, allocations: 27.81 kB / 434.2 MB, free: 308 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001387/0.1581, allocations: 270.6 kB / 434.5 MB, free: 36 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002978/0.1612, allocations: 0.6932 MB / 435.2 MB, free: 15.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003048/0.1642, allocations: 0.6938 MB / 435.9 MB, free: 14.64 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002553/0.1668, allocations: 1.024 MB / 436.9 MB, free: 13.62 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/0.1682, allocations: 381.3 kB / 437.3 MB, free: 13.24 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003221/0.1715, allocations: 0.6231 MB / 437.9 MB, free: 12.62 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001806/0.1734, allocations: 418.5 kB / 438.3 MB, free: 12.21 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000353/0.1738, allocations: 32 kB / 438.3 MB, free: 12.18 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001863/0.1757, allocations: 231.8 kB / 438.6 MB, free: 11.95 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007878/0.1765, allocations: 223.4 kB / 438.8 MB, free: 11.73 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005845/0.1771, allocations: 161.3 kB / 438.9 MB, free: 11.57 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002283/0.1795, allocations: 0.7484 MB / 439.7 MB, free: 10.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1795, allocations: 0 / 439.7 MB, free: 10.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.108e-06/0.1795, allocations: 0 / 439.7 MB, free: 10.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.075e-05/0.1796, allocations: 0 / 439.7 MB, free: 10.82 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.00302/0.1826, allocations: 0.9232 MB / 440.6 MB, free: 9.844 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.1827, allocations: 12.03 kB / 440.6 MB, free: 9.832 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002006/0.1829, allocations: 94.52 kB / 440.7 MB, free: 9.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004734/0.1834, allocations: 91.05 kB / 440.8 MB, free: 9.641 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/0.1847, allocations: 0.4966 MB / 441.3 MB, free: 9.102 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/0.1848, allocations: 100.4 kB / 441.4 MB, free: 8.992 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.185, allocations: 51.91 kB / 441.5 MB, free: 8.941 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001977/0.187, allocations: 0.8143 MB / 442.3 MB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.053e-05/0.187, allocations: 3.938 kB / 442.3 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.1871, allocations: 20 kB / 442.3 MB, free: 8.027 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.56e-05/0.1872, allocations: 40.97 kB / 442.3 MB, free: 7.984 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00186/0.1891, allocations: 0.6478 MB / 443 MB, free: 7.34 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.00775/0.1969, allocations: 4.217 MB / 447.2 MB, free: 2.828 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/0.1983, allocations: 411.9 kB / 447.6 MB, free: 2.418 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006819/0.199, allocations: 0.5029 MB / 448.1 MB, free: 1.805 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.357e-05/0.1991, allocations: 42.89 kB / 448.1 MB, free: 1.754 MB / 378.7 MB Notification: Performance of pre-optimization done (n=40): time 3.246e-06/0.1991, allocations: 0 / 448.1 MB, free: 1.754 MB / 378.7 MB Notification: Performance of matching and sorting (n=45): time 0.005116/0.2042, allocations: 1.506 MB / 449.7 MB, free: 200 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.498e-05/0.2043, allocations: 132.5 kB / 449.8 MB, free: 36 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2883/0.4927, allocations: 0.5502 MB / 450.3 MB, free: 61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001257/0.4929, allocations: 35.39 kB / 450.4 MB, free: 60.97 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/0.4931, allocations: 363.5 kB / 450.7 MB, free: 60.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.4933, allocations: 160.2 kB / 450.9 MB, free: 60.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.085e-05/0.4934, allocations: 17.12 kB / 450.9 MB, free: 60.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.4935, allocations: 373.6 kB / 451.3 MB, free: 60.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000592/0.4941, allocations: 223.8 kB / 451.5 MB, free: 60.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007336/0.4948, allocations: 0.5408 MB / 452 MB, free: 60.06 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007464/0.4956, allocations: 328.8 kB / 452.3 MB, free: 60.06 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.4956, allocations: 8.047 kB / 452.3 MB, free: 60.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002849/0.4985, allocations: 0.9765 MB / 453.3 MB, free: 59.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.4985, allocations: 9.156 kB / 453.3 MB, free: 59.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.4986, allocations: 16.38 kB / 453.3 MB, free: 59.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001678/0.5003, allocations: 259.9 kB / 453.6 MB, free: 59.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008057/0.5011, allocations: 130.8 kB / 453.7 MB, free: 59.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.5023, allocations: 0.8625 MB / 454.6 MB, free: 59.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008766/0.5032, allocations: 39.89 kB / 454.6 MB, free: 59.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.277e-05/0.5033, allocations: 39 kB / 454.7 MB, free: 59.36 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (77): * Single equations (assignments): 76 * 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 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004163/0.5037, allocations: 249.5 kB / 454.9 MB, free: 59.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.5038, allocations: 66.45 kB / 455 MB, free: 59.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001881/0.5057, allocations: 0.7106 MB / 455.7 MB, free: 59.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.5058, allocations: 10.03 kB / 455.7 MB, free: 59.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.5058, allocations: 0 / 455.7 MB, free: 59.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.5058, allocations: 3.953 kB / 455.7 MB, free: 59.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003155/0.509, allocations: 1.389 MB / 457.1 MB, free: 58.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.509, allocations: 3.281 kB / 457.1 MB, free: 58.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001844/0.5109, allocations: 193 kB / 457.3 MB, free: 58.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004716/0.5114, allocations: 64.77 kB / 457.3 MB, free: 58.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.421e-05/0.5114, allocations: 12.72 kB / 457.4 MB, free: 58.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002572/0.514, allocations: 2.807 MB / 460.2 MB, free: 56.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.514, allocations: 2.938 kB / 460.2 MB, free: 56.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002216/0.5163, allocations: 1.069 MB / 461.2 MB, free: 55.49 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004026/0.5167, allocations: 211.2 kB / 461.4 MB, free: 55.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.5168, allocations: 11.22 kB / 461.5 MB, free: 55.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006706/0.5175, allocations: 27.44 kB / 461.5 MB, free: 55.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.5177, allocations: 37.2 kB / 461.5 MB, free: 55.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.483e-05/0.5177, allocations: 21.77 kB / 461.5 MB, free: 55.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000579/0.5183, allocations: 385.7 kB / 461.9 MB, free: 55.13 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5184, allocations: 0 / 461.9 MB, free: 55.13 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001045/0.5194, allocations: 210.1 kB / 462.1 MB, free: 55.11 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002897/0.5223, allocations: 2.205 MB / 464.3 MB, free: 53.44 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001642/0.524, allocations: 0.5997 MB / 464.9 MB, free: 53.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.524, allocations: 0 / 464.9 MB, free: 53.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001858/0.5259, allocations: 494.5 kB / 465.4 MB, free: 53.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002345/0.5282, allocations: 297.7 kB / 465.7 MB, free: 52.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/0.5386, allocations: 11.08 MB / 476.8 MB, free: 43.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004767/0.5391, allocations: 0.9487 MB / 477.7 MB, free: 43.04 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001186/0.5403, allocations: 208.1 kB / 477.9 MB, free: 42.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004493/0.5408, allocations: 235.5 kB / 478.2 MB, free: 42.83 MB / 378.7 MB Notification: Performance of SimCode: time 9.52e-07/0.5408, allocations: 0 / 478.2 MB, free: 42.83 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06063/0.6014, allocations: 19.41 MB / 497.6 MB, free: 39.37 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002687/0.6017, allocations: 285.7 kB / 497.8 MB, free: 39.02 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.238/3.84, allocations: 0 / 497.8 MB, free: 39.02 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat does not exist to compare? outputFormat=mat