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/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.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.273/2.273, allocations: 235 MB / 248.1 MB, free: 14.61 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.478e-05/3.498e-05, allocations: 4 kB / 309.8 MB, free: 1.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.4096, allocations: 54.85 MB / 364.6 MB, free: 5.559 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7121/1.122, allocations: 237 MB / 0.5875 GB, free: 93.27 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/1.122, allocations: 90.69 kB / 0.5876 GB, free: 93.21 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.349/2.471, allocations: 285.5 MB / 0.8664 GB, free: 17.22 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.783e-06/2.471, allocations: 0 / 0.8664 GB, free: 17.22 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.699e-05/2.471, allocations: 15.98 kB / 0.8664 GB, free: 17.21 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.004648/2.476, allocations: 1.515 MB / 0.8679 GB, free: 15.64 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/2.476, allocations: 8.031 kB / 0.8679 GB, free: 15.64 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000166/2.476, allocations: 98.45 kB / 0.868 GB, free: 15.53 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001314/2.478, allocations: 147 kB / 0.8682 GB, free: 15.39 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001865/2.48, allocations: 0.556 MB / 0.8687 GB, free: 14.79 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001611/2.48, allocations: 112.3 kB / 0.8688 GB, free: 14.67 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/2.48, allocations: 48 kB / 0.8689 GB, free: 14.62 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002624/2.483, allocations: 0.8044 MB / 0.8696 GB, free: 13.73 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.541e-05/2.483, allocations: 3.938 kB / 0.8696 GB, free: 13.73 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001524/2.483, allocations: 24 kB / 0.8697 GB, free: 13.7 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001022/2.483, allocations: 44.91 kB / 0.8697 GB, free: 13.66 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002271/2.485, allocations: 0.5659 MB / 0.8703 GB, free: 13.09 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.008097/2.493, allocations: 4.421 MB / 0.8746 GB, free: 8.355 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/2.495, allocations: 302.5 kB / 0.8749 GB, free: 8.051 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004122/2.495, allocations: 132.8 kB / 0.875 GB, free: 7.918 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003422/2.495, allocations: 348.6 kB / 0.8753 GB, free: 7.504 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/2.495, allocations: 42.56 kB / 0.8754 GB, free: 7.453 MB / 474.7 MB Notification: Performance of pre-optimization done (n=29): time 4.558e-06/2.495, allocations: 0 / 0.8754 GB, free: 7.453 MB / 474.7 MB Notification: Performance of matching and sorting (n=35): time 0.006283/2.502, allocations: 1.226 MB / 0.8766 GB, free: 6.172 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.945e-05/2.502, allocations: 140.5 kB / 0.8767 GB, free: 6.004 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/2.503, allocations: 0.5657 MB / 0.8773 GB, free: 5.434 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.754e-05/2.503, allocations: 33.7 kB / 0.8773 GB, free: 5.395 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003728/2.504, allocations: 428.8 kB / 0.8777 GB, free: 4.973 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001698/2.504, allocations: 134.2 kB / 0.8778 GB, free: 4.84 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.011e-05/2.504, allocations: 16 kB / 0.8778 GB, free: 4.824 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/2.504, allocations: 338.8 kB / 0.8782 GB, free: 4.484 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006988/2.505, allocations: 193.5 kB / 0.8783 GB, free: 4.297 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009047/2.506, allocations: 0.5172 MB / 0.8789 GB, free: 3.617 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008913/2.507, allocations: 302.8 kB / 0.8791 GB, free: 3.324 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/2.507, allocations: 4 kB / 0.8791 GB, free: 3.32 MB / 474.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002622/2.509, allocations: 0.8266 MB / 0.88 GB, free: 2.48 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/2.509, allocations: 8.781 kB / 0.88 GB, free: 2.473 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.267e-05/2.509, allocations: 12.06 kB / 0.88 GB, free: 2.461 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002471/2.512, allocations: 269.4 kB / 0.8802 GB, free: 2.191 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/2.513, allocations: 139.7 kB / 0.8804 GB, free: 2.055 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001794/2.515, allocations: 1.366 MB / 0.8817 GB, free: 0.6367 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/2.516, allocations: 40.11 kB / 0.8817 GB, free: 0.5977 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/2.517, allocations: 48 kB / 0.8818 GB, free: 0.5508 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.0002929/2.517, allocations: 160.6 kB / 0.8819 GB, free: 396 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002201/2.517, allocations: 67.16 kB / 0.882 GB, free: 328 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3444/2.861, allocations: 0.6651 MB / 0.8826 GB, free: 83.25 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/2.862, allocations: 4.344 kB / 0.8827 GB, free: 83.25 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/2.862, allocations: 0.75 kB / 0.8827 GB, free: 83.25 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/2.862, allocations: 1.922 kB / 0.8827 GB, free: 83.25 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003121/2.865, allocations: 1.195 MB / 0.8838 GB, free: 82.92 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/2.865, allocations: 1.125 kB / 0.8838 GB, free: 82.92 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003282/2.865, allocations: 39.36 kB / 0.8839 GB, free: 82.92 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001375/2.866, allocations: 195.9 kB / 0.884 GB, free: 82.91 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.74e-05/2.867, allocations: 12.44 kB / 0.8841 GB, free: 82.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001273/2.868, allocations: 1.295 MB / 0.8853 GB, free: 81.88 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/2.868, allocations: 3.641 kB / 0.8853 GB, free: 81.88 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002069/2.87, allocations: 0.7911 MB / 0.8861 GB, free: 81.67 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004691/2.87, allocations: 197.8 kB / 0.8863 GB, free: 81.58 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/2.871, allocations: 7.156 kB / 0.8863 GB, free: 81.58 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007052/2.871, allocations: 30.8 kB / 0.8863 GB, free: 81.58 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/2.871, allocations: 21.06 kB / 0.8863 GB, free: 81.58 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.348e-05/2.872, allocations: 26.56 kB / 0.8864 GB, free: 81.58 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0009101/2.872, allocations: 434 kB / 0.8868 GB, free: 81.48 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.11e-07/2.872, allocations: 1.562 kB / 0.8868 GB, free: 81.48 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001936/2.874, allocations: 367.8 kB / 0.8871 GB, free: 81.48 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.003677/2.878, allocations: 1.823 MB / 0.8889 GB, free: 80.61 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001682/2.88, allocations: 0.5132 MB / 0.8894 GB, free: 80.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/2.88, allocations: 1.312 kB / 0.8894 GB, free: 80.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007929/2.881, allocations: 207.5 kB / 0.8896 GB, free: 80.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002406/2.883, allocations: 299.8 kB / 0.8899 GB, free: 80.59 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00428/2.887, allocations: 1.244 MB / 0.8911 GB, free: 80.28 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005642/2.888, allocations: 0.9456 MB / 0.892 GB, free: 79.58 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005626/2.889, allocations: 241.2 kB / 0.8923 GB, free: 79.58 MB / 474.7 MB Notification: Performance of SimCode: time 1.252e-06/2.889, allocations: 0 / 0.8923 GB, free: 79.58 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.114/6.003, allocations: 21.02 MB / 0.9128 GB, free: 79.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