Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.032/2.032, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004496/0.0004495, allocations: 16 kB / 282.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3561, allocations: 48.7 MB / 331.4 MB, free: 6.43 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.301/8.658, allocations: 2.841 GB / 3.165 GB, free: 18.08 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003377/8.658, allocations: 92.89 kB / 3.165 GB, free: 18.03 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.432/14.09, allocations: 1.1 GB / 4.264 GB, free: 75.91 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.524e-06/14.09, allocations: 0 / 4.264 GB, free: 75.91 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.456e-05/14.09, allocations: 21.58 kB / 4.264 GB, free: 75.91 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.008538/14.1, allocations: 1.653 MB / 4.266 GB, free: 75.07 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/14.1, allocations: 10.81 kB / 4.266 GB, free: 75.07 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002784/14.1, allocations: 96.78 kB / 4.266 GB, free: 75.03 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006424/14.1, allocations: 93.72 kB / 4.266 GB, free: 74.99 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001829/14.1, allocations: 0.5462 MB / 4.267 GB, free: 74.73 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/14.1, allocations: 109.2 kB / 4.267 GB, free: 74.66 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001798/14.1, allocations: 46.03 kB / 4.267 GB, free: 74.66 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00252/14.1, allocations: 0.8095 MB / 4.268 GB, free: 74.43 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.649e-05/14.1, allocations: 2.156 kB / 4.268 GB, free: 74.43 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001466/14.1, allocations: 28.17 kB / 4.268 GB, free: 74.43 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001057/14.1, allocations: 44.5 kB / 4.268 GB, free: 74.43 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00224/14.11, allocations: 0.6326 MB / 4.268 GB, free: 74.42 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008196/14.12, allocations: 3.908 MB / 4.272 GB, free: 71.98 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/14.12, allocations: 379.3 kB / 4.272 GB, free: 71.96 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005488/14.12, allocations: 0.5052 MB / 4.273 GB, free: 71.4 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/14.12, allocations: 43.33 kB / 4.273 GB, free: 71.36 MB / 458.7 MB Notification: Performance of pre-optimization done (n=40): time 3.386e-06/14.12, allocations: 0 / 4.273 GB, free: 71.36 MB / 458.7 MB Notification: Performance of matching and sorting (n=45): time 0.00464/14.12, allocations: 1.481 MB / 4.274 GB, free: 70.96 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/14.12, allocations: 135.4 kB / 4.275 GB, free: 70.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008363/14.12, allocations: 497.6 kB / 4.275 GB, free: 70.68 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.136e-05/14.12, allocations: 34.17 kB / 4.275 GB, free: 70.65 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002968/14.12, allocations: 400.6 kB / 4.275 GB, free: 70.38 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002343/14.12, allocations: 168.3 kB / 4.276 GB, free: 70.28 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.437e-05/14.12, allocations: 13.09 kB / 4.276 GB, free: 70.28 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/14.12, allocations: 341.7 kB / 4.276 GB, free: 69.97 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007817/14.13, allocations: 220.9 kB / 4.276 GB, free: 69.97 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/14.13, allocations: 0.5347 MB / 4.277 GB, free: 69.57 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/14.13, allocations: 320.9 kB / 4.277 GB, free: 69.57 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/14.13, allocations: 3.875 kB / 4.277 GB, free: 69.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003751/14.13, allocations: 0.9294 MB / 4.278 GB, free: 69.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.473e-05/14.13, allocations: 14.61 kB / 4.278 GB, free: 69.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.317e-05/14.13, allocations: 11.06 kB / 4.278 GB, free: 69.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002259/14.13, allocations: 251.9 kB / 4.278 GB, free: 69.49 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/14.13, allocations: 134.3 kB / 4.278 GB, free: 69.49 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001695/14.14, allocations: 0.8526 MB / 4.279 GB, free: 68.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/14.14, allocations: 44.08 kB / 4.279 GB, free: 68.96 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/14.14, allocations: 43.7 kB / 4.279 GB, free: 68.96 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (77): * Single equations (assignments): 76 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006536/14.14, allocations: 251.8 kB / 4.279 GB, free: 68.84 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002048/14.14, allocations: 67.7 kB / 4.279 GB, free: 68.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002521/14.14, allocations: 0.6979 MB / 4.28 GB, free: 68.71 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/14.14, allocations: 9.906 kB / 4.28 GB, free: 68.71 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/14.14, allocations: 0 / 4.28 GB, free: 68.71 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/14.14, allocations: 0 / 4.28 GB, free: 68.71 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003852/14.14, allocations: 1.376 MB / 4.282 GB, free: 68.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/14.15, allocations: 7.703 kB / 4.282 GB, free: 68.32 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002386/14.15, allocations: 192 kB / 4.282 GB, free: 68.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000602/14.15, allocations: 66.78 kB / 4.282 GB, free: 68.31 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.986e-05/14.15, allocations: 13.55 kB / 4.282 GB, free: 68.31 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003494/14.15, allocations: 2.803 MB / 4.285 GB, free: 65.75 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/14.15, allocations: 2.156 kB / 4.285 GB, free: 65.75 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00303/14.15, allocations: 1.043 MB / 4.286 GB, free: 65.39 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005474/14.16, allocations: 201.8 kB / 4.286 GB, free: 65.26 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002036/14.16, allocations: 12.78 kB / 4.286 GB, free: 65.26 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009816/14.16, allocations: 30.3 kB / 4.286 GB, free: 65.26 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/14.16, allocations: 44.48 kB / 4.286 GB, free: 65.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.513e-05/14.16, allocations: 25.22 kB / 4.286 GB, free: 65.25 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008679/14.16, allocations: 376.5 kB / 4.286 GB, free: 65.17 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.71e-07/14.16, allocations: 0 / 4.286 GB, free: 65.17 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001964/14.16, allocations: 242.2 kB / 4.286 GB, free: 65.16 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008382/14.17, allocations: 2.371 MB / 4.289 GB, free: 63.76 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002373/14.17, allocations: 0.5914 MB / 4.289 GB, free: 63.75 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/14.17, allocations: 2.656 kB / 4.289 GB, free: 63.75 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002212/14.17, allocations: 457.4 kB / 4.29 GB, free: 63.64 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01117/14.18, allocations: 303.2 kB / 4.29 GB, free: 63.64 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02213/14.21, allocations: 11.1 MB / 4.301 GB, free: 55.26 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000859/14.21, allocations: 0.9502 MB / 4.302 GB, free: 54.56 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007859/14.21, allocations: 239.5 kB / 4.302 GB, free: 54.55 MB / 458.7 MB Notification: Performance of SimCode: time 1.463e-06/14.21, allocations: 0 / 4.302 GB, free: 54.55 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.297/17.5, allocations: 18.57 MB / 4.32 GB, free: 53.98 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat