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.Incompressible.Glycol47.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.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.01175/0.01175, allocations: 104.3 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.2.mo): time 0.001214/0.001214, allocations: 182.4 kB / 15.95 MB, free: 5.953 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.044/2.044, allocations: 194.5 MB / 211.3 MB, free: 11.07 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.2712/0.2712, allocations: 40.03 MB / 296.5 MB, free: 6.297 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004682/0.0004683, allocations: 8 kB / 361.1 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1194, allocations: 54.88 MB / 416 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.02933/0.1487, allocations: 17.17 MB / 433.2 MB, free: 1.324 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01278/0.1616, allocations: 5.776 MB / 439 MB, free: 11.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001129/0.1628, allocations: 27.75 kB / 439 MB, free: 11.51 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.164, allocations: 250.7 kB / 439.3 MB, free: 11.27 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005799/0.1699, allocations: 1.422 MB / 440.7 MB, free: 9.84 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004843/0.1747, allocations: 1.201 MB / 441.9 MB, free: 8.637 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002481/0.1772, allocations: 1.051 MB / 442.9 MB, free: 7.582 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009057/0.1782, allocations: 397.3 kB / 443.3 MB, free: 7.191 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008111/0.1863, allocations: 2.777 MB / 446.1 MB, free: 4.41 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002945/0.1893, allocations: 1.064 MB / 447.2 MB, free: 3.344 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002199/0.1896, allocations: 36 kB / 447.2 MB, free: 3.309 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003979/0.1936, allocations: 1.221 MB / 448.4 MB, free: 2.086 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005305/0.1942, allocations: 223.3 kB / 448.6 MB, free: 1.867 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003487/0.1945, allocations: 165.3 kB / 448.8 MB, free: 1.699 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002562/0.1971, allocations: 1.002 MB / 449.8 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1971, allocations: 0 / 449.8 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.846e-06/0.1971, allocations: 0 / 449.8 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.1972, allocations: 8 kB / 449.8 MB, free: 0.6875 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.2996/0.4967, allocations: 0.9851 MB / 450.8 MB, free: 61.37 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.4968, allocations: 9.469 kB / 450.8 MB, free: 61.37 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003032/0.4971, allocations: 103.3 kB / 450.9 MB, free: 61.33 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001352/0.4985, allocations: 138.9 kB / 451 MB, free: 61.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.4998, allocations: 0.5027 MB / 451.5 MB, free: 61.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/0.5, allocations: 108.9 kB / 451.6 MB, free: 60.97 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.5001, allocations: 43.28 kB / 451.7 MB, free: 60.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002109/0.5022, allocations: 0.8336 MB / 452.5 MB, free: 60.72 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.129e-05/0.5023, allocations: 0 / 452.5 MB, free: 60.72 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/0.5024, allocations: 22.44 kB / 452.5 MB, free: 60.72 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.354e-05/0.5025, allocations: 41.55 kB / 452.6 MB, free: 60.72 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001879/0.5044, allocations: 0.6061 MB / 453.2 MB, free: 60.7 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.006764/0.5112, allocations: 4.636 MB / 457.8 MB, free: 57.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.5123, allocations: 311.2 kB / 458.1 MB, free: 57.31 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002926/0.5126, allocations: 344.2 kB / 458.5 MB, free: 56.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.5127, allocations: 37.12 kB / 458.5 MB, free: 56.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 2.535e-06/0.5127, allocations: 0 / 458.5 MB, free: 56.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.006243/0.5189, allocations: 1.495 MB / 460 MB, free: 56.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.519, allocations: 132.1 kB / 460.1 MB, free: 56.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.5202, allocations: 0.6402 MB / 460.8 MB, free: 56.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001193/0.5204, allocations: 33.7 kB / 460.8 MB, free: 56.06 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003601/0.5207, allocations: 408.5 kB / 461.2 MB, free: 55.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.5209, allocations: 130.7 kB / 461.3 MB, free: 55.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.149e-05/0.521, allocations: 17.72 kB / 461.3 MB, free: 55.74 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.5211, allocations: 377.7 kB / 461.7 MB, free: 55.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005552/0.5217, allocations: 199.7 kB / 461.9 MB, free: 55.33 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007166/0.5224, allocations: 0.5232 MB / 462.4 MB, free: 54.83 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007763/0.5232, allocations: 300.8 kB / 462.7 MB, free: 54.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.5232, allocations: 3.188 kB / 462.7 MB, free: 54.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002187/0.5254, allocations: 0.8885 MB / 463.6 MB, free: 54.35 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.275e-05/0.5255, allocations: 11.94 kB / 463.6 MB, free: 54.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.056e-05/0.5255, allocations: 13.83 kB / 463.6 MB, free: 54.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002005/0.5276, allocations: 284.3 kB / 463.9 MB, free: 54.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008085/0.5284, allocations: 139.1 kB / 464 MB, free: 54.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/0.5299, allocations: 1.369 MB / 465.4 MB, free: 53.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009887/0.5309, allocations: 40.2 kB / 465.5 MB, free: 53.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.5311, allocations: 49 kB / 465.5 MB, free: 53.07 MB / 378.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.0004806/0.5316, allocations: 252.4 kB / 465.8 MB, free: 52.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/0.5318, allocations: 68.44 kB / 465.8 MB, free: 52.85 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002149/0.5339, allocations: 0.608 MB / 466.4 MB, free: 52.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.534, allocations: 9.422 kB / 466.4 MB, free: 52.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.534, allocations: 0.9844 kB / 466.4 MB, free: 52.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.534, allocations: 5.062 kB / 466.4 MB, free: 52.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002843/0.5369, allocations: 1.204 MB / 467.6 MB, free: 51.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.5369, allocations: 0 / 467.6 MB, free: 51.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002976/0.5372, allocations: 43.56 kB / 467.7 MB, free: 51.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001296/0.5385, allocations: 204.6 kB / 467.9 MB, free: 51.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.577e-05/0.5386, allocations: 7.375 kB / 467.9 MB, free: 51.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001255/0.5399, allocations: 1.306 MB / 469.2 MB, free: 50.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.5399, allocations: 3.375 kB / 469.2 MB, free: 50.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00197/0.5419, allocations: 0.8026 MB / 470 MB, free: 50.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004259/0.5423, allocations: 196.2 kB / 470.2 MB, free: 50.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/0.5425, allocations: 7.219 kB / 470.2 MB, free: 50.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007261/0.5432, allocations: 20.19 kB / 470.2 MB, free: 50.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.5434, allocations: 26.98 kB / 470.3 MB, free: 50.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.391e-05/0.5435, allocations: 23.5 kB / 470.3 MB, free: 50.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007553/0.5442, allocations: 432.9 kB / 470.7 MB, free: 49.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5442, allocations: 0 / 470.7 MB, free: 49.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001429/0.5457, allocations: 283.8 kB / 471 MB, free: 49.88 MB / 378.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.003171/0.5489, allocations: 1.731 MB / 472.7 MB, free: 48.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001942/0.5509, allocations: 0.5192 MB / 473.2 MB, free: 48.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/0.5509, allocations: 0 / 473.2 MB, free: 48.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.5519, allocations: 208.6 kB / 473.4 MB, free: 48.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00295/0.5549, allocations: 286.1 kB / 473.7 MB, free: 48.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01438/0.5693, allocations: 11.2 MB / 484.9 MB, free: 39.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007378/0.5701, allocations: 0.9401 MB / 485.9 MB, free: 38.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001812/0.572, allocations: 209.5 kB / 486.1 MB, free: 38.33 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006571/0.5726, allocations: 233.1 kB / 486.3 MB, free: 38.17 MB / 378.7 MB Notification: Performance of SimCode: time 1.162e-06/0.5727, allocations: 0 / 486.3 MB, free: 38.17 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08791/0.6606, allocations: 20.57 MB / 0.495 GB, free: 33.21 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002906/0.6609, allocations: 285.5 kB / 0.4952 GB, free: 32.84 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.167/3.828, allocations: 4 kB / 0.4953 GB, free: 32.84 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat