Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.307/2.307, allocations: 270 MB / 282.7 MB, free: 1.816 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.051e-05/3.057e-05, allocations: 4 kB / 347 MB, free: 3.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.324, allocations: 61.88 MB / 408.9 MB, free: 10.74 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.15/0.474, allocations: 99.61 MB / 0.4966 GB, free: 6.988 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/0.4744, allocations: 103.9 kB / 0.4967 GB, free: 6.887 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Fluid/Dissipation.mo:6452:11-6454: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 trunk/Fluid/Dissipation.mo:6463:11-6465: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 trunk/Fluid/Dissipation.mo:6500:11-6502: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 trunk/Fluid/Dissipation.mo:6511:11-6513: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 trunk/Fluid/Dissipation.mo:6445:11-6450: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 trunk/Fluid/Dissipation.mo:6456:11-6461: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 trunk/Fluid/Dissipation.mo:6468:11-6473: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 trunk/Fluid/Dissipation.mo:6480:11-6485: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 trunk/Fluid/Dissipation.mo:6493:11-6498: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 trunk/Fluid/Dissipation.mo:6504:11-6509: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 trunk/Fluid/Dissipation.mo:6475:11-6478: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 trunk/Fluid/Dissipation.mo:6487:11-6489: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.4235/0.8979, allocations: 24.5 MB / 0.5206 GB, free: 103.2 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.051e-06/0.8979, allocations: 3.438 kB / 0.5206 GB, free: 103.2 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.861e-05/0.898, allocations: 19.91 kB / 0.5206 GB, free: 103.2 MB / 442.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.002588/0.9006, allocations: 1.455 MB / 0.522 GB, free: 102.5 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.9006, allocations: 9.891 kB / 0.522 GB, free: 102.5 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004117/0.9011, allocations: 180.2 kB / 0.5222 GB, free: 102.4 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.9023, allocations: 0.6224 MB / 0.5228 GB, free: 102.1 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001371/0.9024, allocations: 152.6 kB / 0.523 GB, free: 102.1 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003198/0.9028, allocations: 188.7 kB / 0.5231 GB, free: 102.1 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004424/0.9072, allocations: 2.597 MB / 0.5257 GB, free: 102 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.521e-05/0.9073, allocations: 0 / 0.5257 GB, free: 102 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002011/0.9075, allocations: 80.66 kB / 0.5258 GB, free: 102 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001439/0.9077, allocations: 142.5 kB / 0.5259 GB, free: 102 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00576/0.9134, allocations: 3.57 MB / 0.5294 GB, free: 102 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01201/0.9255, allocations: 6.686 MB / 0.5359 GB, free: 99 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.9266, allocations: 0.6087 MB / 0.5365 GB, free: 98.86 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000425/0.9271, allocations: 221.5 kB / 0.5367 GB, free: 98.8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.009e-05/0.9272, allocations: 28.78 kB / 0.5367 GB, free: 98.8 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.9272, allocations: 42.53 kB / 0.5368 GB, free: 98.75 MB / 442.7 MB Notification: Performance of pre-optimization done (n=63): time 4.695e-06/0.9272, allocations: 0 / 0.5368 GB, free: 98.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=63): time 0.001328/0.9285, allocations: 0.6344 MB / 0.5374 GB, free: 98.56 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.9286, allocations: 65.69 kB / 0.5375 GB, free: 98.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/0.9301, allocations: 1.233 MB / 0.5387 GB, free: 97.99 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.32e-05/0.9301, allocations: 36.7 kB / 0.5387 GB, free: 97.95 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006012/0.9308, allocations: 1.34 MB / 0.54 GB, free: 96.88 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002017/0.931, allocations: 271.2 kB / 0.5403 GB, free: 96.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.9311, allocations: 63.25 kB / 0.5403 GB, free: 96.65 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.9313, allocations: 443.8 kB / 0.5407 GB, free: 96.28 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/0.9325, allocations: 0.6232 MB / 0.5414 GB, free: 96.14 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001896/0.9344, allocations: 2.656 MB / 0.5439 GB, free: 92.81 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001813/0.9362, allocations: 1.226 MB / 0.5451 GB, free: 91.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.27e-05/0.9363, allocations: 31.95 kB / 0.5452 GB, free: 91.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=397) (initialization): time 0.005201/0.9415, allocations: 2.92 MB / 0.548 GB, free: 89.31 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.367e-05/0.9416, allocations: 36 kB / 0.5481 GB, free: 89.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.73e-05/0.9417, allocations: 75.47 kB / 0.5481 GB, free: 89.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001148/0.9418, allocations: 108 kB / 0.5482 GB, free: 89.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003002/0.9448, allocations: 0.8837 MB / 0.5491 GB, free: 88.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002276/0.9471, allocations: 6.047 MB / 0.555 GB, free: 82.13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002485/0.9496, allocations: 411.9 kB / 0.5554 GB, free: 81.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002894/0.9499, allocations: 211.7 kB / 0.5556 GB, free: 81.53 MB / 442.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 () * 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.0004206/0.9504, allocations: 364.1 kB / 0.5559 GB, free: 81.17 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/0.9505, allocations: 129.8 kB / 0.5561 GB, free: 81.04 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003533/0.9541, allocations: 1.192 MB / 0.5572 GB, free: 80.07 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.9541, allocations: 8 kB / 0.5572 GB, free: 80.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.9541, allocations: 0 / 0.5572 GB, free: 80.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.9542, allocations: 7.797 kB / 0.5573 GB, free: 80.06 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/0.9556, allocations: 0.9525 MB / 0.5582 GB, free: 79.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.752e-06/0.9557, allocations: 0 / 0.5582 GB, free: 79.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001394/0.9571, allocations: 330.2 kB / 0.5585 GB, free: 78.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.961e-06/0.9571, allocations: 0 / 0.5585 GB, free: 78.99 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.11e-05/0.9572, allocations: 35.23 kB / 0.5585 GB, free: 78.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002329/0.9595, allocations: 5.915 MB / 0.5643 GB, free: 72.88 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.759e-06/0.9595, allocations: 0 / 0.5643 GB, free: 72.88 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/0.9609, allocations: 0.791 MB / 0.5651 GB, free: 72.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004479/0.9614, allocations: 301 kB / 0.5654 GB, free: 71.89 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/0.9616, allocations: 15.95 kB / 0.5654 GB, free: 71.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00053/0.9621, allocations: 43.41 kB / 0.5654 GB, free: 71.84 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.9623, allocations: 65.17 kB / 0.5655 GB, free: 71.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.633e-05/0.9624, allocations: 38.61 kB / 0.5655 GB, free: 71.76 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001075/0.9635, allocations: 0.7718 MB / 0.5663 GB, free: 71.09 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.08e-07/0.9635, allocations: 0 / 0.5663 GB, free: 71.09 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002751/0.9662, allocations: 0.4948 MB / 0.5668 GB, free: 70.6 MB / 442.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 (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.0005729/0.9668, allocations: 308.5 kB / 0.5671 GB, free: 70.35 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003565/0.9704, allocations: 1.656 MB / 0.5687 GB, free: 68.89 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.219e-06/0.9704, allocations: 4 kB / 0.5687 GB, free: 68.88 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001194/0.9716, allocations: 417.7 kB / 0.5691 GB, free: 68.53 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004932/0.9721, allocations: 85.62 kB / 0.5692 GB, free: 68.44 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003622/0.9758, allocations: 1.972 MB / 0.5711 GB, free: 66.7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009814/0.9768, allocations: 1.462 MB / 0.5725 GB, free: 65.35 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004904/0.9773, allocations: 171.4 kB / 0.5727 GB, free: 65.18 MB / 442.7 MB Notification: Performance of SimCode: time 2.095e-06/0.9773, allocations: 0 / 0.5727 GB, free: 65.18 MB / 442.7 MB Notification: Performance of Templates: time 0.08625/1.064, allocations: 83.59 MB / 0.6543 GB, free: 13.59 MB / 474.7 MB