Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.262/2.262, allocations: 270 MB / 282.7 MB, free: 1.855 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.138e-05/3.148e-05, allocations: 7.984 kB / 347 MB, free: 3.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3291, allocations: 61.88 MB / 408.9 MB, free: 10.74 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1451/0.4743, allocations: 91.1 MB / 500 MB, free: 15.52 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003138/0.4746, allocations: 95.92 kB / 0.4883 GB, free: 15.42 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Fluid/Dissipation.mo:5884:11-5887:69:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Fluid/Dissipation.mo:5889:11-5892:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Fluid/Dissipation.mo:5895:11-5898:67:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Fluid/Dissipation.mo:5900:11-5903:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.01512/0.4898, allocations: 3.556 MB / 0.4918 GB, free: 11.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.896e-06/0.4898, allocations: 4 kB / 0.4918 GB, free: 11.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.511e-06/0.4898, allocations: 0 / 0.4918 GB, free: 11.84 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005704/0.4904, allocations: 402.1 kB / 0.4922 GB, free: 11.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.4905, allocations: 8.031 kB / 0.4922 GB, free: 11.39 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003434/0.4908, allocations: 31.88 kB / 0.4922 GB, free: 11.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.4911, allocations: 190.9 kB / 0.4924 GB, free: 11.13 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.4911, allocations: 7.984 kB / 0.4924 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.195e-05/0.4911, allocations: 19.94 kB / 0.4925 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003586/0.4915, allocations: 161 kB / 0.4926 GB, free: 10.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.4915, allocations: 3.938 kB / 0.4926 GB, free: 10.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.358e-05/0.4916, allocations: 8 kB / 0.4926 GB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.635e-05/0.4916, allocations: 7.984 kB / 0.4926 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002553/0.4919, allocations: 104 kB / 0.4927 GB, free: 10.81 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.493, allocations: 0.6487 MB / 0.4934 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00033/0.4934, allocations: 102.6 kB / 0.4935 GB, free: 9.984 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.348e-05/0.4935, allocations: 28.84 kB / 0.4935 GB, free: 9.953 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.4935, allocations: 3.953 kB / 0.4935 GB, free: 9.949 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.4936, allocations: 34.56 kB / 0.4935 GB, free: 9.906 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 2.816e-06/0.4936, allocations: 0 / 0.4935 GB, free: 9.906 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002551/0.4938, allocations: 81.58 kB / 0.4936 GB, free: 9.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.4939, allocations: 51.41 kB / 0.4936 GB, free: 9.758 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.494, allocations: 117.2 kB / 0.4938 GB, free: 9.633 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.4941, allocations: 29.64 kB / 0.4938 GB, free: 9.598 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.4942, allocations: 190.2 kB / 0.494 GB, free: 9.406 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.4943, allocations: 23.66 kB / 0.494 GB, free: 9.383 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.336e-05/0.4943, allocations: 4 kB / 0.494 GB, free: 9.379 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.4945, allocations: 318.8 kB / 0.4943 GB, free: 9.059 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.137e-05/0.4945, allocations: 23.98 kB / 0.4943 GB, free: 9.035 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.4947, allocations: 83.72 kB / 0.4944 GB, free: 8.926 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.959e-05/0.4948, allocations: 40.06 kB / 0.4944 GB, free: 8.887 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.4948, allocations: 0 / 0.4944 GB, free: 8.887 MB / 426.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002907/0.4951, allocations: 121.5 kB / 0.4946 GB, free: 8.762 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.4951, allocations: 11.94 kB / 0.4946 GB, free: 8.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.361e-06/0.4952, allocations: 4 kB / 0.4946 GB, free: 8.746 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.4952, allocations: 4.25 kB / 0.4946 GB, free: 8.742 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.4954, allocations: 43.92 kB / 0.4946 GB, free: 8.699 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.751e-05/0.4955, allocations: 12.08 kB / 0.4946 GB, free: 8.688 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.4956, allocations: 19.84 kB / 0.4946 GB, free: 8.668 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.4957, allocations: 4 kB / 0.4947 GB, free: 8.664 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001031/0.4958, allocations: 109 kB / 0.4948 GB, free: 8.551 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.518e-05/0.4958, allocations: 19.78 kB / 0.4948 GB, free: 8.531 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002556/0.4961, allocations: 102.2 kB / 0.4949 GB, free: 8.422 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.794e-06/0.4961, allocations: 4 kB / 0.4949 GB, free: 8.418 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.974e-06/0.4961, allocations: 0 / 0.4949 GB, free: 8.418 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.836e-06/0.4961, allocations: 0 / 0.4949 GB, free: 8.418 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/0.4964, allocations: 197.6 kB / 0.4951 GB, free: 8.176 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.104e-06/0.4965, allocations: 3.984 kB / 0.4951 GB, free: 8.172 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/0.4967, allocations: 31.98 kB / 0.4951 GB, free: 8.141 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.175e-06/0.4967, allocations: 0 / 0.4951 GB, free: 8.141 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.4967, allocations: 0 / 0.4951 GB, free: 8.141 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.925e-06/0.4967, allocations: 3.953 kB / 0.4951 GB, free: 8.137 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4967, allocations: 0 / 0.4951 GB, free: 8.137 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.497, allocations: 191.4 kB / 0.4953 GB, free: 7.934 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.54e-05/0.4971, allocations: 84.95 kB / 0.4954 GB, free: 7.832 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.4971, allocations: 4 kB / 0.4954 GB, free: 7.828 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.4973, allocations: 11.98 kB / 0.4954 GB, free: 7.816 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.4973, allocations: 7.953 kB / 0.4954 GB, free: 7.809 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.958e-06/0.4974, allocations: 0 / 0.4954 GB, free: 7.809 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.833e-05/0.4975, allocations: 99.27 kB / 0.4955 GB, free: 7.711 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.96e-07/0.4975, allocations: 0 / 0.4955 GB, free: 7.711 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003767/0.4979, allocations: 27.91 kB / 0.4955 GB, free: 7.684 MB / 426.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001916/0.4981, allocations: 130.9 kB / 0.4956 GB, free: 7.551 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002124/0.4983, allocations: 71.84 kB / 0.4957 GB, free: 7.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.712e-06/0.4983, allocations: 0 / 0.4957 GB, free: 7.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.05e-05/0.4984, allocations: 31.98 kB / 0.4957 GB, free: 7.449 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.4986, allocations: 4.938 kB / 0.4957 GB, free: 7.445 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004206/0.4991, allocations: 167.4 kB / 0.4959 GB, free: 7.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.4995, allocations: 0.7204 MB / 0.4966 GB, free: 6.504 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.146e-05/0.4996, allocations: 11.44 kB / 0.4966 GB, free: 6.492 MB / 426.7 MB Notification: Performance of SimCode: time 1.317e-06/0.4996, allocations: 0 / 0.4966 GB, free: 6.492 MB / 426.7 MB Notification: Performance of Templates: time 0.003865/0.5034, allocations: 1.475 MB / 0.4981 GB, free: 5.031 MB / 426.7 MB