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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.285/2.285, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.224e-05/3.255e-05, allocations: 4 kB / 309.8 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3972/0.3973, allocations: 54.85 MB / 364.6 MB, free: 5.539 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6832/1.081, allocations: 237.1 MB / 0.5877 GB, free: 93.14 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000421/1.081, allocations: 94.06 kB / 0.5877 GB, free: 93.09 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.338/2.419, allocations: 273.9 MB / 0.8552 GB, free: 28.57 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.733e-06/2.419, allocations: 0 / 0.8552 GB, free: 28.57 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.272e-05/2.419, allocations: 16 kB / 0.8552 GB, free: 28.55 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.004477/2.423, allocations: 1.523 MB / 0.8567 GB, free: 26.98 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/2.423, allocations: 12.03 kB / 0.8567 GB, free: 26.97 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001567/2.424, allocations: 98.5 kB / 0.8568 GB, free: 26.86 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/2.425, allocations: 135.1 kB / 0.857 GB, free: 26.73 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/2.426, allocations: 0.5598 MB / 0.8575 GB, free: 26.13 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/2.427, allocations: 100.4 kB / 0.8576 GB, free: 26.02 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/2.427, allocations: 51.95 kB / 0.8576 GB, free: 25.97 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/2.428, allocations: 0.8045 MB / 0.8584 GB, free: 25.08 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.885e-05/2.429, allocations: 3.938 kB / 0.8584 GB, free: 25.07 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/2.429, allocations: 24 kB / 0.8585 GB, free: 25.05 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.649e-05/2.429, allocations: 44.92 kB / 0.8585 GB, free: 25.01 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001551/2.43, allocations: 0.562 MB / 0.859 GB, free: 24.45 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.006195/2.436, allocations: 4.421 MB / 0.8634 GB, free: 19.71 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009499/2.437, allocations: 310.5 kB / 0.8637 GB, free: 19.4 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002897/2.438, allocations: 128.8 kB / 0.8638 GB, free: 19.27 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002833/2.438, allocations: 344.6 kB / 0.8641 GB, free: 18.86 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/2.438, allocations: 38.56 kB / 0.8641 GB, free: 18.82 MB / 474.7 MB Notification: Performance of pre-optimization done (n=29): time 3.105e-06/2.438, allocations: 0 / 0.8641 GB, free: 18.82 MB / 474.7 MB Notification: Performance of matching and sorting (n=35): time 0.004287/2.442, allocations: 1.219 MB / 0.8653 GB, free: 17.54 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/2.443, allocations: 132.5 kB / 0.8655 GB, free: 17.38 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009315/2.443, allocations: 0.5618 MB / 0.866 GB, free: 16.81 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.722e-05/2.444, allocations: 33.7 kB / 0.866 GB, free: 16.77 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002526/2.444, allocations: 428.8 kB / 0.8665 GB, free: 16.35 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/2.444, allocations: 146.1 kB / 0.8666 GB, free: 16.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.098e-05/2.444, allocations: 16 kB / 0.8666 GB, free: 16.19 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.279e-05/2.444, allocations: 342.8 kB / 0.8669 GB, free: 15.84 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004693/2.445, allocations: 193.5 kB / 0.8671 GB, free: 15.66 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006447/2.445, allocations: 0.5136 MB / 0.8676 GB, free: 14.98 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006492/2.446, allocations: 302.8 kB / 0.8679 GB, free: 14.69 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/2.446, allocations: 4 kB / 0.8679 GB, free: 14.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001881/2.448, allocations: 0.8227 MB / 0.8687 GB, free: 13.85 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/2.448, allocations: 8 kB / 0.8687 GB, free: 13.84 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/2.448, allocations: 12 kB / 0.8687 GB, free: 13.83 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001882/2.45, allocations: 281.8 kB / 0.869 GB, free: 13.55 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007254/2.451, allocations: 127.8 kB / 0.8691 GB, free: 13.42 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/2.452, allocations: 1.374 MB / 0.8705 GB, free: 12 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009224/2.453, allocations: 35.98 kB / 0.8705 GB, free: 11.96 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.222e-05/2.453, allocations: 47.98 kB / 0.8705 GB, free: 11.91 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.0001941/2.453, allocations: 160.6 kB / 0.8707 GB, free: 11.75 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/2.453, allocations: 71.22 kB / 0.8708 GB, free: 11.68 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002056/2.455, allocations: 0.67 MB / 0.8714 GB, free: 10.99 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/2.455, allocations: 8 kB / 0.8714 GB, free: 10.98 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/2.455, allocations: 4 kB / 0.8714 GB, free: 10.98 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/2.455, allocations: 7.969 kB / 0.8714 GB, free: 10.97 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002622/2.458, allocations: 1.197 MB / 0.8726 GB, free: 9.699 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/2.458, allocations: 0 / 0.8726 GB, free: 9.699 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002997/2.458, allocations: 43.98 kB / 0.8727 GB, free: 9.656 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001267/2.46, allocations: 185.5 kB / 0.8728 GB, free: 9.469 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.212e-05/2.46, allocations: 15.98 kB / 0.8728 GB, free: 9.453 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001118/2.461, allocations: 1.296 MB / 0.8741 GB, free: 8.105 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/2.461, allocations: 4.031 kB / 0.8741 GB, free: 8.102 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001765/2.463, allocations: 0.7821 MB / 0.8749 GB, free: 7.277 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004017/2.463, allocations: 208.1 kB / 0.8751 GB, free: 7.055 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/2.463, allocations: 8 kB / 0.8751 GB, free: 7.047 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006787/2.464, allocations: 24.05 kB / 0.8751 GB, free: 7.023 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.525e-05/2.464, allocations: 27.86 kB / 0.8751 GB, free: 6.996 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.453e-05/2.464, allocations: 27.92 kB / 0.8752 GB, free: 6.969 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007363/2.465, allocations: 435.1 kB / 0.8756 GB, free: 6.551 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.01e-07/2.465, allocations: 0 / 0.8756 GB, free: 6.551 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001654/2.466, allocations: 359.7 kB / 0.8759 GB, free: 6.199 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.003222/2.47, allocations: 1.818 MB / 0.8777 GB, free: 4.344 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001493/2.471, allocations: 0.5119 MB / 0.8782 GB, free: 3.832 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/2.471, allocations: 5.625 kB / 0.8782 GB, free: 3.828 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006791/2.472, allocations: 203.9 kB / 0.8784 GB, free: 3.629 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/2.474, allocations: 293.2 kB / 0.8787 GB, free: 3.34 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003727/2.478, allocations: 1.249 MB / 0.8799 GB, free: 2.039 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004365/2.478, allocations: 0.9422 MB / 0.8808 GB, free: 1.07 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004965/2.479, allocations: 239.3 kB / 0.881 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of SimCode: time 1.182e-06/2.479, allocations: 0 / 0.881 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.505/5.984, allocations: 21.02 MB / 0.9016 GB, free: 81.81 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