Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.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.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.194/2.194, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000456/0.0004561, allocations: 12 kB / 282.7 MB, free: 9.527 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3548, allocations: 48.7 MB / 331.4 MB, free: 6.426 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1653/0.5202, allocations: 78.71 MB / 410.1 MB, free: 15.58 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003947/0.5207, allocations: 99.88 kB / 410.2 MB, free: 15.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02745/0.5481, allocations: 5.783 MB / 416 MB, free: 9.625 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.5482, allocations: 4 kB / 416 MB, free: 9.621 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.904e-05/0.5482, allocations: 4 kB / 416 MB, free: 9.617 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001037/0.5492, allocations: 0.5143 MB / 416.5 MB, free: 9.055 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.5493, allocations: 8.031 kB / 416.5 MB, free: 9.047 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.737e-05/0.5494, allocations: 54.55 kB / 416.6 MB, free: 8.984 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001721/0.5512, allocations: 175.5 kB / 416.7 MB, free: 8.812 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005104/0.5517, allocations: 254.6 kB / 417 MB, free: 8.523 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.5518, allocations: 24.38 kB / 417 MB, free: 8.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.07e-05/0.5518, allocations: 16 kB / 417 MB, free: 8.484 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.5529, allocations: 445.1 kB / 417.5 MB, free: 8.016 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.553, allocations: 0 / 417.5 MB, free: 8.016 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.644e-05/0.553, allocations: 8 kB / 417.5 MB, free: 8.008 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.653e-05/0.5531, allocations: 24.55 kB / 417.5 MB, free: 7.984 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.5543, allocations: 389.8 kB / 417.9 MB, free: 7.602 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003304/0.5576, allocations: 1.708 MB / 419.6 MB, free: 5.773 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004354/0.5581, allocations: 106.4 kB / 419.7 MB, free: 5.66 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.364e-05/0.5581, allocations: 0 / 419.7 MB, free: 5.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.5582, allocations: 34.56 kB / 419.7 MB, free: 5.617 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.5582, allocations: 0 / 419.7 MB, free: 5.617 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009975/0.5592, allocations: 205.7 kB / 419.9 MB, free: 5.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.5592, allocations: 51.41 kB / 420 MB, free: 5.348 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005119/0.5598, allocations: 301.7 kB / 420.3 MB, free: 5.047 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.5598, allocations: 29.7 kB / 420.3 MB, free: 5.012 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.56, allocations: 237.6 kB / 420.5 MB, free: 4.777 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.056e-05/0.5601, allocations: 27.64 kB / 420.5 MB, free: 4.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.478e-05/0.5601, allocations: 8 kB / 420.5 MB, free: 4.742 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.5602, allocations: 314.8 kB / 420.9 MB, free: 4.426 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003583/0.5606, allocations: 71.94 kB / 420.9 MB, free: 4.355 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003729/0.561, allocations: 125.9 kB / 421.1 MB, free: 4.211 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003759/0.5614, allocations: 95.94 kB / 421.1 MB, free: 4.117 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.5614, allocations: 0 / 421.1 MB, free: 4.117 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008992/0.5623, allocations: 237.5 kB / 421.4 MB, free: 3.879 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.5624, allocations: 8 kB / 421.4 MB, free: 3.871 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.5624, allocations: 4 kB / 421.4 MB, free: 3.867 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/0.5624, allocations: 7.984 kB / 421.4 MB, free: 3.859 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002697/0.5651, allocations: 123.8 kB / 421.5 MB, free: 3.738 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003695/0.5689, allocations: 1.84 MB / 423.4 MB, free: 1.828 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005236/0.5695, allocations: 35.97 kB / 423.4 MB, free: 1.793 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.548e-05/0.5695, allocations: 7.984 kB / 423.4 MB, free: 1.785 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002573/0.5698, allocations: 157.8 kB / 423.6 MB, free: 1.621 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.925e-05/0.5699, allocations: 23.72 kB / 423.6 MB, free: 1.598 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008886/0.5708, allocations: 219 kB / 423.8 MB, free: 1.375 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.5708, allocations: 0 / 423.8 MB, free: 1.375 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.5708, allocations: 0 / 423.8 MB, free: 1.375 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.5708, allocations: 0 / 423.8 MB, free: 1.375 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004999/0.5713, allocations: 281.4 kB / 424.1 MB, free: 1.051 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.5713, allocations: 0 / 424.1 MB, free: 1.051 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002124/0.5735, allocations: 100.7 kB / 424.2 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.5735, allocations: 0 / 424.2 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/0.5736, allocations: 4 kB / 424.2 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001779/0.5753, allocations: 1.793 MB / 426 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.5754, allocations: 0 / 426 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007503/0.5761, allocations: 267.5 kB / 426.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.5763, allocations: 100.8 kB / 426.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.222e-05/0.5764, allocations: 3.938 kB / 426.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003495/0.5767, allocations: 15.98 kB / 426.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.015e-05/0.5768, allocations: 11.98 kB / 426.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.203e-05/0.5769, allocations: 4 kB / 426.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004535/0.5773, allocations: 241.9 kB / 426.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5773, allocations: 0 / 426.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005308/0.5779, allocations: 71.84 kB / 426.7 MB, free: 14.35 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001371/0.5793, allocations: 0.8389 MB / 427.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002726/0.582, allocations: 228 kB / 427.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/0.5821, allocations: 384 / 427.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001588/0.5837, allocations: 115.8 kB / 427.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005136/0.5842, allocations: 40.81 kB / 427.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004472/0.5887, allocations: 2.564 MB / 430.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/0.5892, allocations: 0.7946 MB / 431.2 MB, free: 9.641 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002248/0.5895, allocations: 67.42 kB / 431.3 MB, free: 9.574 MB / 362.7 MB Notification: Performance of SimCode: time 1.643e-06/0.5895, allocations: 0 / 431.3 MB, free: 9.574 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.745/3.335, allocations: 7.683 MB / 439 MB, free: 1.898 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat does not exist to compare? outputFormat=mat