Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.322/2.322, allocations: 235.1 MB / 243 MB, free: 9.605 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.177e-05/2.202e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3541, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7228/1.077, allocations: 236.5 MB / 0.5807 GB, free: 2.918 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003726/1.077, allocations: 94.62 kB / 0.5807 GB, free: 2.863 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.637/2.714, allocations: 271.7 MB / 0.8461 GB, free: 99.36 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.493e-06/2.714, allocations: 0 / 0.8461 GB, free: 99.36 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.543e-05/2.714, allocations: 19.38 kB / 0.8461 GB, free: 99.36 MB / 474.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.004842/2.719, allocations: 1.513 MB / 0.8476 GB, free: 98.85 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/2.719, allocations: 18.03 kB / 0.8476 GB, free: 98.85 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001323/2.721, allocations: 136.8 kB / 0.8477 GB, free: 98.81 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/2.722, allocations: 0.5581 MB / 0.8483 GB, free: 98.57 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/2.722, allocations: 88.06 kB / 0.8484 GB, free: 98.5 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/2.722, allocations: 31.25 kB / 0.8484 GB, free: 98.5 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001259/2.724, allocations: 0.492 MB / 0.8489 GB, free: 98.5 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/2.725, allocations: 0.7262 MB / 0.8496 GB, free: 98.26 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/2.725, allocations: 1.406 kB / 0.8496 GB, free: 98.26 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-05/2.725, allocations: 3.438 kB / 0.8496 GB, free: 98.26 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.291e-05/2.725, allocations: 43.59 kB / 0.8496 GB, free: 98.26 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or 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.00617/2.731, allocations: 4.318 MB / 0.8539 GB, free: 95.22 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006683/2.732, allocations: 284.2 kB / 0.8541 GB, free: 95.2 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002555/2.732, allocations: 119.7 kB / 0.8542 GB, free: 95.19 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002872/2.733, allocations: 336.6 kB / 0.8546 GB, free: 94.82 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/2.733, allocations: 50.81 kB / 0.8546 GB, free: 94.77 MB / 474.7 MB Notification: Performance of pre-optimization done (n=29): time 4.329e-06/2.733, allocations: 0 / 0.8546 GB, free: 94.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=35): time 0.004938/2.738, allocations: 1.209 MB / 0.8558 GB, free: 94.39 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/2.738, allocations: 135.5 kB / 0.8559 GB, free: 94.23 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007996/2.739, allocations: 472.5 kB / 0.8564 GB, free: 94.12 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.099e-05/2.739, allocations: 25.7 kB / 0.8564 GB, free: 94.09 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002559/2.739, allocations: 452.8 kB / 0.8568 GB, free: 93.82 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/2.739, allocations: 126.3 kB / 0.8569 GB, free: 93.76 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.272e-05/2.739, allocations: 0 / 0.8569 GB, free: 93.76 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.524e-05/2.739, allocations: 344.1 kB / 0.8573 GB, free: 93.44 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000401/2.74, allocations: 180.7 kB / 0.8574 GB, free: 93.44 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005812/2.74, allocations: 0.5051 MB / 0.8579 GB, free: 93.02 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/2.742, allocations: 342.2 kB / 0.8583 GB, free: 93.02 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/2.742, allocations: 3.562 kB / 0.8583 GB, free: 93.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002482/2.744, allocations: 0.7991 MB / 0.8591 GB, free: 92.95 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/2.744, allocations: 12.16 kB / 0.8591 GB, free: 92.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/2.744, allocations: 7.781 kB / 0.8591 GB, free: 92.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/2.746, allocations: 219.7 kB / 0.8593 GB, free: 92.93 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007465/2.746, allocations: 130.6 kB / 0.8594 GB, free: 92.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/2.748, allocations: 1.401 MB / 0.8608 GB, free: 91.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009441/2.749, allocations: 27.31 kB / 0.8608 GB, free: 91.89 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.783e-05/2.749, allocations: 43.67 kB / 0.8608 GB, free: 91.89 MB / 474.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 () * 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.0002107/2.749, allocations: 139.1 kB / 0.861 GB, free: 91.78 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00188/2.751, allocations: 0.4958 MB / 0.8615 GB, free: 91.69 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/2.751, allocations: 69.84 kB / 0.8615 GB, free: 91.66 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002382/2.754, allocations: 0.6741 MB / 0.8622 GB, free: 91.57 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/2.754, allocations: 7.469 kB / 0.8622 GB, free: 91.57 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/2.754, allocations: 0 / 0.8622 GB, free: 91.57 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/2.754, allocations: 3.562 kB / 0.8622 GB, free: 91.57 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003011/2.757, allocations: 1.134 MB / 0.8633 GB, free: 91.26 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/2.757, allocations: 0 / 0.8633 GB, free: 91.26 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003071/2.757, allocations: 41.97 kB / 0.8633 GB, free: 91.26 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007584/2.758, allocations: 151.8 kB / 0.8635 GB, free: 91.25 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-05/2.758, allocations: 6.531 kB / 0.8635 GB, free: 91.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/2.759, allocations: 1.32 MB / 0.8648 GB, free: 90.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/2.759, allocations: 3 kB / 0.8648 GB, free: 90.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002074/2.761, allocations: 0.7992 MB / 0.8656 GB, free: 89.96 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000405/2.762, allocations: 195.5 kB / 0.8658 GB, free: 89.84 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/2.762, allocations: 2.312 kB / 0.8658 GB, free: 89.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006646/2.763, allocations: 19.31 kB / 0.8658 GB, free: 89.83 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.181e-05/2.763, allocations: 31.98 kB / 0.8658 GB, free: 89.83 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.484e-05/2.763, allocations: 22.8 kB / 0.8658 GB, free: 89.83 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000569/2.763, allocations: 342.1 kB / 0.8662 GB, free: 89.74 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.01e-07/2.763, allocations: 0 / 0.8662 GB, free: 89.74 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001797/2.765, allocations: 347.3 kB / 0.8665 GB, free: 89.7 MB / 474.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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.003591/2.769, allocations: 1.815 MB / 0.8683 GB, free: 88.76 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001432/2.77, allocations: 475 kB / 0.8687 GB, free: 88.75 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/2.77, allocations: 2.312 kB / 0.8687 GB, free: 88.75 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006588/2.771, allocations: 202.2 kB / 0.8689 GB, free: 88.75 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002098/2.773, allocations: 249.1 kB / 0.8691 GB, free: 88.74 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00396/2.777, allocations: 1.196 MB / 0.8703 GB, free: 88.38 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004629/2.778, allocations: 0.9462 MB / 0.8712 GB, free: 87.67 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005127/2.778, allocations: 240.8 kB / 0.8715 GB, free: 87.66 MB / 474.7 MB Notification: Performance of SimCode: time 1.182e-06/2.778, allocations: 0 / 0.8715 GB, free: 87.66 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.165/5.943, allocations: 20.49 MB / 0.8915 GB, free: 87.04 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat