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.421/2.421, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004478/0.0004479, allocations: 12 kB / 314.5 MB, free: 9.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3908/0.3913, allocations: 54.87 MB / 369.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6993/1.091, allocations: 237.2 MB / 0.5924 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003802/1.091, allocations: 100.4 kB / 0.5925 GB, free: 10.21 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713/2.804, allocations: 274.5 MB / 0.8605 GB, free: 103.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.084e-06/2.804, allocations: 0 / 0.8605 GB, free: 103.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.359e-05/2.804, allocations: 18.16 kB / 0.8605 GB, free: 103.3 MB / 490.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.005506/2.809, allocations: 1.598 MB / 0.8621 GB, free: 102.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/2.81, allocations: 14.56 kB / 0.8621 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003443/2.81, allocations: 99.91 kB / 0.8622 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/2.811, allocations: 139.9 kB / 0.8623 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001849/2.813, allocations: 0.5614 MB / 0.8629 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/2.813, allocations: 105.2 kB / 0.863 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/2.814, allocations: 50.08 kB / 0.863 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002242/2.816, allocations: 0.8182 MB / 0.8638 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.268e-05/2.816, allocations: 0 / 0.8638 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/2.816, allocations: 21.97 kB / 0.8638 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-05/2.816, allocations: 48.91 kB / 0.8639 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001844/2.818, allocations: 0.5788 MB / 0.8644 GB, free: 102.2 MB / 490.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.007183/2.825, allocations: 4.416 MB / 0.8687 GB, free: 99.11 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/2.826, allocations: 313.4 kB / 0.869 GB, free: 99.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003026/2.827, allocations: 341.5 kB / 0.8694 GB, free: 98.71 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/2.827, allocations: 38.47 kB / 0.8694 GB, free: 98.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=29): time 3.467e-06/2.827, allocations: 2.938 kB / 0.8694 GB, free: 98.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.006185/2.833, allocations: 1.489 MB / 0.8709 GB, free: 98.19 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.178e-05/2.833, allocations: 132.4 kB / 0.871 GB, free: 98.04 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/2.834, allocations: 0.5648 MB / 0.8715 GB, free: 97.91 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001229/2.834, allocations: 34.55 kB / 0.8716 GB, free: 97.88 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002728/2.835, allocations: 433.9 kB / 0.872 GB, free: 97.62 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/2.835, allocations: 131.2 kB / 0.8721 GB, free: 97.56 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-05/2.835, allocations: 17.72 kB / 0.8721 GB, free: 97.56 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.402e-05/2.835, allocations: 343.4 kB / 0.8725 GB, free: 97.25 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000591/2.835, allocations: 200.1 kB / 0.8726 GB, free: 97.24 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007261/2.836, allocations: 0.5253 MB / 0.8732 GB, free: 96.83 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007092/2.837, allocations: 304.3 kB / 0.8735 GB, free: 96.82 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/2.837, allocations: 0 / 0.8735 GB, free: 96.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002211/2.839, allocations: 0.8427 MB / 0.8743 GB, free: 96.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.223e-05/2.839, allocations: 11.25 kB / 0.8743 GB, free: 96.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/2.839, allocations: 9.781 kB / 0.8743 GB, free: 96.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002051/2.841, allocations: 286.5 kB / 0.8746 GB, free: 96.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000814/2.842, allocations: 134 kB / 0.8747 GB, free: 96.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/2.844, allocations: 1.37 MB / 0.876 GB, free: 95.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/2.845, allocations: 35.5 kB / 0.8761 GB, free: 95.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001612/2.845, allocations: 55.06 kB / 0.8761 GB, free: 95.68 MB / 490.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.0006965/2.846, allocations: 252 kB / 0.8764 GB, free: 95.56 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002594/2.846, allocations: 70.06 kB / 0.8764 GB, free: 95.53 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002883/2.849, allocations: 0.6725 MB / 0.8771 GB, free: 95.45 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/2.849, allocations: 10.64 kB / 0.8771 GB, free: 95.44 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/2.849, allocations: 0 / 0.8771 GB, free: 95.44 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/2.849, allocations: 9.797 kB / 0.8771 GB, free: 95.44 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003822/2.853, allocations: 1.195 MB / 0.8783 GB, free: 95.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/2.853, allocations: 3.625 kB / 0.8783 GB, free: 95.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003992/2.854, allocations: 44.09 kB / 0.8783 GB, free: 95.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001898/2.856, allocations: 199 kB / 0.8785 GB, free: 95.08 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-05/2.856, allocations: 15.2 kB / 0.8785 GB, free: 95.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001846/2.858, allocations: 1.296 MB / 0.8798 GB, free: 94.04 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/2.858, allocations: 3.438 kB / 0.8798 GB, free: 94.04 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003045/2.861, allocations: 0.8066 MB / 0.8806 GB, free: 93.79 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006465/2.861, allocations: 199.6 kB / 0.8808 GB, free: 93.67 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002206/2.862, allocations: 7.016 kB / 0.8808 GB, free: 93.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009922/2.863, allocations: 27.67 kB / 0.8808 GB, free: 93.66 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/2.863, allocations: 27.72 kB / 0.8808 GB, free: 93.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-05/2.863, allocations: 21.42 kB / 0.8808 GB, free: 93.66 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001085/2.864, allocations: 438 kB / 0.8813 GB, free: 93.57 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.11e-07/2.864, allocations: 0 / 0.8813 GB, free: 93.57 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002526/2.867, allocations: 367.8 kB / 0.8816 GB, free: 93.53 MB / 490.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 (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.004717/2.871, allocations: 1.832 MB / 0.8834 GB, free: 92.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002264/2.874, allocations: 0.5166 MB / 0.8839 GB, free: 92.57 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/2.874, allocations: 3.953 kB / 0.8839 GB, free: 92.56 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001046/2.875, allocations: 216.3 kB / 0.8841 GB, free: 92.56 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003216/2.878, allocations: 282.9 kB / 0.8844 GB, free: 92.55 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01491/2.893, allocations: 11.37 MB / 0.8955 GB, free: 83.92 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006706/2.894, allocations: 0.9465 MB / 0.8964 GB, free: 83.22 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008092/2.894, allocations: 242.1 kB / 0.8967 GB, free: 83.21 MB / 490.7 MB Notification: Performance of SimCode: time 1.132e-06/2.894, allocations: 0 / 0.8967 GB, free: 83.21 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.292/6.186, allocations: 21.11 MB / 0.9173 GB, free: 82.79 MB / 490.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