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.Essotherm650.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.Essotherm650,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.353/2.353, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.1e-05/3.114e-05, allocations: 8 kB / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3546, allocations: 54.85 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7105/1.065, allocations: 236.3 MB / 0.5805 GB, free: 3.074 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003409/1.066, allocations: 98.16 kB / 0.5806 GB, free: 3.02 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.655/2.721, allocations: 283.1 MB / 0.8571 GB, free: 100.9 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.377e-06/2.721, allocations: 0 / 0.8571 GB, free: 100.9 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.134e-05/2.721, allocations: 23.56 kB / 0.8571 GB, free: 100.9 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.005304/2.726, allocations: 1.517 MB / 0.8586 GB, free: 100.3 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/2.726, allocations: 11.38 kB / 0.8586 GB, free: 100.3 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00148/2.728, allocations: 137.1 kB / 0.8587 GB, free: 100.3 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001811/2.73, allocations: 0.5587 MB / 0.8593 GB, free: 100 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/2.73, allocations: 85.34 kB / 0.8593 GB, free: 99.98 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/2.73, allocations: 29.95 kB / 0.8594 GB, free: 99.98 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00129/2.731, allocations: 0.4975 MB / 0.8599 GB, free: 99.97 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/2.733, allocations: 0.7262 MB / 0.8606 GB, free: 99.73 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.279e-05/2.733, allocations: 0 / 0.8606 GB, free: 99.73 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/2.733, allocations: 3.812 kB / 0.8606 GB, free: 99.73 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.769e-05/2.733, allocations: 43.97 kB / 0.8606 GB, free: 99.73 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.006593/2.74, allocations: 4.311 MB / 0.8648 GB, free: 96.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007316/2.74, allocations: 284.9 kB / 0.8651 GB, free: 96.67 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002536/2.741, allocations: 119.9 kB / 0.8652 GB, free: 96.66 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000311/2.741, allocations: 347 kB / 0.8655 GB, free: 96.29 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/2.741, allocations: 52.17 kB / 0.8656 GB, free: 96.25 MB / 474.7 MB Notification: Performance of pre-optimization done (n=29): time 3.176e-06/2.741, allocations: 0 / 0.8656 GB, free: 96.25 MB / 474.7 MB Notification: Performance of matching and sorting (n=35): time 0.005016/2.746, allocations: 1.201 MB / 0.8668 GB, free: 95.87 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.456e-05/2.746, allocations: 142.1 kB / 0.8669 GB, free: 95.71 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007893/2.747, allocations: 473.2 kB / 0.8674 GB, free: 95.59 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.722e-05/2.747, allocations: 25.7 kB / 0.8674 GB, free: 95.55 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002777/2.747, allocations: 450.2 kB / 0.8678 GB, free: 95.29 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/2.748, allocations: 129 kB / 0.8679 GB, free: 95.23 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.372e-05/2.748, allocations: 0 / 0.8679 GB, free: 95.23 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.58e-05/2.748, allocations: 346.6 kB / 0.8683 GB, free: 94.91 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004096/2.748, allocations: 182.1 kB / 0.8684 GB, free: 94.91 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005879/2.749, allocations: 0.4957 MB / 0.8689 GB, free: 94.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/2.75, allocations: 344.4 kB / 0.8692 GB, free: 94.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/2.75, allocations: 3.312 kB / 0.8692 GB, free: 94.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002555/2.753, allocations: 0.7987 MB / 0.87 GB, free: 94.43 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/2.753, allocations: 13.03 kB / 0.87 GB, free: 94.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/2.753, allocations: 9.5 kB / 0.87 GB, free: 94.43 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001159/2.754, allocations: 218.9 kB / 0.8703 GB, free: 94.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007788/2.755, allocations: 133 kB / 0.8704 GB, free: 94.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001702/2.757, allocations: 1.392 MB / 0.8717 GB, free: 93.37 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/2.758, allocations: 25.8 kB / 0.8718 GB, free: 93.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/2.758, allocations: 47.17 kB / 0.8718 GB, free: 93.36 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.0002224/2.758, allocations: 134.8 kB / 0.8719 GB, free: 93.26 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001968/2.76, allocations: 0.4911 MB / 0.8724 GB, free: 93.17 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001901/2.76, allocations: 69.56 kB / 0.8725 GB, free: 93.14 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002479/2.763, allocations: 0.681 MB / 0.8732 GB, free: 93.05 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/2.763, allocations: 3.938 kB / 0.8732 GB, free: 93.05 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/2.763, allocations: 3.062 kB / 0.8732 GB, free: 93.05 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/2.763, allocations: 0 / 0.8732 GB, free: 93.05 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003191/2.766, allocations: 1.141 MB / 0.8743 GB, free: 92.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/2.766, allocations: 0 / 0.8743 GB, free: 92.73 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003076/2.766, allocations: 39.95 kB / 0.8743 GB, free: 92.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007714/2.767, allocations: 154 kB / 0.8745 GB, free: 92.72 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.692e-05/2.767, allocations: 7.109 kB / 0.8745 GB, free: 92.72 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001482/2.769, allocations: 1.326 MB / 0.8758 GB, free: 91.68 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/2.769, allocations: 1.031 kB / 0.8758 GB, free: 91.68 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002276/2.771, allocations: 0.797 MB / 0.8765 GB, free: 91.44 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005467/2.772, allocations: 192.4 kB / 0.8767 GB, free: 91.31 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/2.772, allocations: 5.188 kB / 0.8767 GB, free: 91.31 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007392/2.773, allocations: 17.66 kB / 0.8767 GB, free: 91.31 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/2.773, allocations: 23.23 kB / 0.8768 GB, free: 91.31 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.286e-05/2.773, allocations: 22.95 kB / 0.8768 GB, free: 91.31 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006316/2.773, allocations: 347.9 kB / 0.8771 GB, free: 91.22 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.51e-07/2.774, allocations: 0 / 0.8771 GB, free: 91.22 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002022/2.776, allocations: 351.9 kB / 0.8775 GB, free: 91.18 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.004029/2.78, allocations: 1.82 MB / 0.8792 GB, free: 90.23 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001552/2.781, allocations: 478.4 kB / 0.8797 GB, free: 90.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/2.781, allocations: 0 / 0.8797 GB, free: 90.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006913/2.782, allocations: 203.2 kB / 0.8799 GB, free: 90.19 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002209/2.784, allocations: 246.2 kB / 0.8801 GB, free: 90.18 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004311/2.789, allocations: 1.197 MB / 0.8813 GB, free: 89.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004716/2.789, allocations: 0.943 MB / 0.8822 GB, free: 89.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005772/2.79, allocations: 243.1 kB / 0.8824 GB, free: 89.09 MB / 474.7 MB Notification: Performance of SimCode: time 1.072e-06/2.79, allocations: 0 / 0.8824 GB, free: 89.09 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.171/5.96, allocations: 20.49 MB / 0.9024 GB, free: 88.21 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.Essotherm650_res.mat does not exist to compare? outputFormat=mat