Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.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.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Valve_dp_severalGeometryOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.318/2.318, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006378/0.0006379, allocations: 16 kB / 314.5 MB, free: 9.453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3851, allocations: 54.86 MB / 369.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1702/0.5554, allocations: 93.7 MB / 463.1 MB, free: 12.79 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000418/0.5559, allocations: 99.88 kB / 463.2 MB, free: 12.69 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6536:11-6538:135:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6547:11-6549:131:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6584:11-6586:135:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6595:11-6597:129:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6529:11-6534:62:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6540:11-6545:61:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6552:11-6557:59:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6564:11-6569:59:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6577:11-6582:61:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6588:11-6593:59:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6559:11-6562:78:writable] Error: Type mismatch in binding opening = opening, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6571:11-6573:134:writable] Error: Type mismatch in binding opening = opening, expected subtype of Real[5], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.4317/0.9875, allocations: 24.13 MB / 487.3 MB, free: 93.37 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.9876, allocations: 0 / 487.3 MB, free: 93.37 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.979e-05/0.9877, allocations: 18.97 kB / 487.3 MB, free: 93.37 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.003289/0.991, allocations: 1.472 MB / 488.8 MB, free: 92.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.991, allocations: 11.03 kB / 488.8 MB, free: 92.52 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006464/0.9917, allocations: 314.8 kB / 489.1 MB, free: 92.38 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004088/0.9921, allocations: 181 kB / 489.3 MB, free: 92.29 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.9935, allocations: 0.6202 MB / 489.9 MB, free: 91.95 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.9936, allocations: 144.3 kB / 490.1 MB, free: 91.88 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003543/0.994, allocations: 192.8 kB / 490.2 MB, free: 91.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006257/1, allocations: 2.702 MB / 492.9 MB, free: 90.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.711e-05/1, allocations: 0 / 492.9 MB, free: 90.88 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002275/1.001, allocations: 88.94 kB / 493 MB, free: 90.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001902/1.001, allocations: 138.6 kB / 493.2 MB, free: 90.8 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008177/1.009, allocations: 3.749 MB / 496.9 MB, free: 87.87 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01761/1.027, allocations: 6.678 MB / 0.4918 GB, free: 81.05 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001878/1.029, allocations: 0.6916 MB / 0.4925 GB, free: 80.35 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/1.029, allocations: 22.88 kB / 0.4925 GB, free: 80.33 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/1.029, allocations: 47.25 kB / 0.4925 GB, free: 80.28 MB / 394.7 MB Notification: Performance of pre-optimization done (n=63): time 4.829e-06/1.029, allocations: 3.984 kB / 0.4925 GB, free: 80.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=63): time 0.003263/1.032, allocations: 0.9816 MB / 0.4935 GB, free: 79.29 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/1.032, allocations: 55.97 kB / 0.4935 GB, free: 79.22 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002084/1.034, allocations: 1.244 MB / 0.4948 GB, free: 77.96 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001538/1.034, allocations: 41.7 kB / 0.4948 GB, free: 77.92 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008807/1.035, allocations: 1.34 MB / 0.4961 GB, free: 76.58 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003833/1.036, allocations: 269.3 kB / 0.4964 GB, free: 76.32 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/1.036, allocations: 64 kB / 0.4964 GB, free: 76.26 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001915/1.036, allocations: 441.3 kB / 0.4968 GB, free: 75.82 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001989/1.038, allocations: 0.6891 MB / 0.4975 GB, free: 75.12 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003089/1.041, allocations: 2.741 MB / 0.5002 GB, free: 71.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003187/1.045, allocations: 1.279 MB / 0.5014 GB, free: 70.07 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.865e-05/1.045, allocations: 20 kB / 0.5015 GB, free: 70.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=397) (initialization): time 0.009078/1.054, allocations: 3.266 MB / 0.5047 GB, free: 66.78 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.493e-05/1.054, allocations: 40.03 kB / 0.5047 GB, free: 66.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.904e-05/1.054, allocations: 76 kB / 0.5048 GB, free: 66.67 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001285/1.054, allocations: 115.9 kB / 0.5049 GB, free: 66.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004722/1.059, allocations: 0.8657 MB / 0.5057 GB, free: 65.69 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002714/1.062, allocations: 6.059 MB / 0.5116 GB, free: 59.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002817/1.064, allocations: 412.4 kB / 0.512 GB, free: 58.99 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000376/1.065, allocations: 216 kB / 0.5122 GB, free: 58.78 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 337 * Number of states: 0 () * Number of discrete variables: 35 (dp_IN_con_3[5].valveCoefficient,geometry[5],dp_IN_con_3[4].valveCoefficient,geometry[4],dp_IN_con_3[3].valveCoefficient,geometry[3],dp_IN_con_3[2].valveCoefficient,geometry[2],dp_IN_con_3[1].valveCoefficient,geometry[1],m_flow_IN_con_3[5].valveCoefficient,m_flow_IN_con_3[4].valveCoefficient,m_flow_IN_con_3[3].valveCoefficient,m_flow_IN_con_3[2].valveCoefficient,m_flow_IN_con_3[1].valveCoefficient,dp_IN_con_2[5].valveCoefficient,dp_IN_con_2[4].valveCoefficient,dp_IN_con_2[3].valveCoefficient,dp_IN_con_2[2].valveCoefficient,dp_IN_con_2[1].valveCoefficient,m_flow_IN_con_2[5].valveCoefficient,m_flow_IN_con_2[4].valveCoefficient,m_flow_IN_con_2[3].valveCoefficient,m_flow_IN_con_2[2].valveCoefficient,m_flow_IN_con_2[1].valveCoefficient,dp_IN_con_1[5].valveCoefficient,dp_IN_con_1[4].valveCoefficient,dp_IN_con_1[3].valveCoefficient,dp_IN_con_1[2].valveCoefficient,dp_IN_con_1[1].valveCoefficient,m_flow_IN_con_1[5].valveCoefficient,m_flow_IN_con_1[4].valveCoefficient,m_flow_IN_con_1[3].valveCoefficient,m_flow_IN_con_1[2].valveCoefficient,m_flow_IN_con_1[1].valveCoefficient) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (397): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001266/1.066, allocations: 0.7101 MB / 0.5129 GB, free: 58.06 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002307/1.066, allocations: 122.4 kB / 0.513 GB, free: 57.94 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005014/1.071, allocations: 1.298 MB / 0.5143 GB, free: 56.64 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/1.071, allocations: 8 kB / 0.5143 GB, free: 56.63 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/1.072, allocations: 0 / 0.5143 GB, free: 56.63 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/1.072, allocations: 7.922 kB / 0.5143 GB, free: 56.62 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001801/1.073, allocations: 0.9572 MB / 0.5153 GB, free: 55.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/1.073, allocations: 0 / 0.5153 GB, free: 55.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001999/1.075, allocations: 327.6 kB / 0.5156 GB, free: 55.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.158e-05/1.075, allocations: 4 kB / 0.5156 GB, free: 55.31 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.453e-05/1.075, allocations: 31.98 kB / 0.5156 GB, free: 55.28 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002437/1.078, allocations: 5.919 MB / 0.5214 GB, free: 49.12 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.078, allocations: 0 / 0.5214 GB, free: 49.12 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00241/1.08, allocations: 0.9016 MB / 0.5223 GB, free: 48.21 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005513/1.081, allocations: 302.2 kB / 0.5226 GB, free: 47.89 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000225/1.081, allocations: 15.98 kB / 0.5226 GB, free: 47.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007052/1.082, allocations: 39.98 kB / 0.5226 GB, free: 47.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000214/1.082, allocations: 64.56 kB / 0.5227 GB, free: 47.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.152e-05/1.082, allocations: 39.98 kB / 0.5227 GB, free: 47.74 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001352/1.084, allocations: 0.7846 MB / 0.5235 GB, free: 46.95 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.21e-07/1.084, allocations: 0 / 0.5235 GB, free: 46.95 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003068/1.087, allocations: 0.4952 MB / 0.524 GB, free: 46.45 MB / 394.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 (74): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003208/1.09, allocations: 1.657 MB / 0.5256 GB, free: 44.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005415/1.095, allocations: 1.864 MB / 0.5274 GB, free: 42.96 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.095, allocations: 0 / 0.5274 GB, free: 42.96 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001918/1.097, allocations: 483.3 kB / 0.5279 GB, free: 42.48 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005798/1.098, allocations: 88.75 kB / 0.5279 GB, free: 42.39 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02992/1.128, allocations: 60.29 MB / 0.5868 GB, free: 12.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001469/1.129, allocations: 1.463 MB / 0.5883 GB, free: 10.81 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001317/1.131, allocations: 0.5969 MB / 0.5888 GB, free: 10.21 MB / 426.7 MB Notification: Performance of SimCode: time 1.513e-06/1.131, allocations: 3.938 kB / 0.5888 GB, free: 10.21 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.751/4.882, allocations: 90.61 MB / 0.6773 GB, free: 145.4 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat