Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Valve_dp_severalGeometryOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00997/0.00997, allocations: 175 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.915/1.915, allocations: 194.5 MB / 210.3 MB, free: 8.586 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002003/0.002003, allocations: 116.6 kB / 255.6 MB, free: 11.2 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2959/0.2959, allocations: 40.01 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004889/0.0004888, allocations: 10 kB / 406.3 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1054, allocations: 54.88 MB / 461.2 MB, free: 3.281 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5354/0.6409, allocations: 93.7 MB / 0.5419 GB, free: 21.78 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003647/0.6414, allocations: 97.05 kB / 0.5419 GB, free: 21.78 MB / 378.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/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/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/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/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/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/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/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/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/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/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/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/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/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/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/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/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/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/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/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/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/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/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/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.1059/0.7473, allocations: 24.13 MB / 0.5655 GB, free: 19 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.797e-06/0.7473, allocations: 0 / 0.5655 GB, free: 19 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.101e-05/0.7474, allocations: 23.5 kB / 0.5655 GB, free: 18.99 MB / 378.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.00373/0.7511, allocations: 1.476 MB / 0.567 GB, free: 17.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.7512, allocations: 11.53 kB / 0.567 GB, free: 17.96 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006561/0.7519, allocations: 317.3 kB / 0.5673 GB, free: 17.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004051/0.7523, allocations: 182.6 kB / 0.5675 GB, free: 17.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/0.7538, allocations: 0.6138 MB / 0.5681 GB, free: 17.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.7539, allocations: 146.4 kB / 0.5682 GB, free: 17.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003655/0.7543, allocations: 192.5 kB / 0.5684 GB, free: 17.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006407/0.7607, allocations: 2.703 MB / 0.571 GB, free: 16.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.848e-05/0.7608, allocations: 0 / 0.571 GB, free: 16.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000226/0.7611, allocations: 79.77 kB / 0.5711 GB, free: 16.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000186/0.7613, allocations: 147 kB / 0.5712 GB, free: 16.67 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00805/0.7693, allocations: 3.738 MB / 0.5749 GB, free: 15.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01705/0.7865, allocations: 6.695 MB / 0.5814 GB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001815/0.7883, allocations: 0.6813 MB / 0.5821 GB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001146/0.7885, allocations: 27.25 kB / 0.5821 GB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.7885, allocations: 42.75 kB / 0.5822 GB, free: 12.76 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 3.657e-06/0.7885, allocations: 4 kB / 0.5822 GB, free: 12.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=63): time 0.003161/0.7917, allocations: 0.9816 MB / 0.5831 GB, free: 12.47 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.7918, allocations: 59.72 kB / 0.5832 GB, free: 12.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002027/0.7938, allocations: 1.251 MB / 0.5844 GB, free: 11.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001281/0.794, allocations: 36.61 kB / 0.5844 GB, free: 11.92 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007693/0.7948, allocations: 1.272 MB / 0.5857 GB, free: 10.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003676/0.7952, allocations: 273.9 kB / 0.5859 GB, free: 10.74 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/0.7954, allocations: 60.12 kB / 0.586 GB, free: 10.74 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002135/0.7956, allocations: 444.1 kB / 0.5864 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001998/0.7976, allocations: 0.6891 MB / 0.5871 GB, free: 10.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004805/0.8025, allocations: 2.747 MB / 0.5898 GB, free: 7.227 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004988/0.8075, allocations: 1.272 MB / 0.591 GB, free: 6.875 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.908e-05/0.8077, allocations: 23.25 kB / 0.591 GB, free: 6.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=397) (initialization): time 0.008556/0.8162, allocations: 3.272 MB / 0.5942 GB, free: 5.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.643e-05/0.8164, allocations: 40.72 kB / 0.5943 GB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.241e-05/0.8165, allocations: 72.88 kB / 0.5943 GB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001174/0.8166, allocations: 112.4 kB / 0.5945 GB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004756/0.8213, allocations: 0.876 MB / 0.5953 GB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002943/0.8243, allocations: 6.052 MB / 0.6012 GB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003157/0.8276, allocations: 411.4 kB / 0.6016 GB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005594/0.8282, allocations: 217.2 kB / 0.6018 GB, free: 15.46 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.001502/0.8297, allocations: 0.7227 MB / 0.6025 GB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002593/0.83, allocations: 120.3 kB / 0.6026 GB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00546/0.8354, allocations: 1.291 MB / 0.6039 GB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/0.8355, allocations: 11.59 kB / 0.6039 GB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.8355, allocations: 0 / 0.6039 GB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.8356, allocations: 3.984 kB / 0.6039 GB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00217/0.8377, allocations: 0.9552 MB / 0.6048 GB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.819e-06/0.8378, allocations: 7.812 kB / 0.6049 GB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002259/0.8401, allocations: 316.6 kB / 0.6052 GB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-05/0.8401, allocations: 7.875 kB / 0.6052 GB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001565/0.8403, allocations: 38.47 kB / 0.6052 GB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004881/0.8452, allocations: 5.913 MB / 0.611 GB, free: 8.152 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.8453, allocations: 3.219 kB / 0.611 GB, free: 8.152 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002664/0.8479, allocations: 0.9061 MB / 0.6119 GB, free: 7.812 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000684/0.8487, allocations: 295.1 kB / 0.6121 GB, free: 7.605 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002167/0.8489, allocations: 7.688 kB / 0.6122 GB, free: 7.605 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00074/0.8496, allocations: 46.5 kB / 0.6122 GB, free: 7.594 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002219/0.8499, allocations: 58.95 kB / 0.6123 GB, free: 7.574 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.782e-05/0.85, allocations: 46.05 kB / 0.6123 GB, free: 7.566 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001575/0.8516, allocations: 0.7891 MB / 0.6131 GB, free: 7.297 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.42e-07/0.8516, allocations: 0 / 0.6131 GB, free: 7.297 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003215/0.8548, allocations: 0.4927 MB / 0.6135 GB, free: 7.234 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.003638/0.8585, allocations: 1.645 MB / 0.6152 GB, free: 6.293 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006127/0.8647, allocations: 1.864 MB / 0.617 GB, free: 5.43 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.321e-06/0.8647, allocations: 0 / 0.617 GB, free: 5.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002216/0.867, allocations: 479.4 kB / 0.6174 GB, free: 5.012 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006401/0.8676, allocations: 91.25 kB / 0.6175 GB, free: 4.973 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04979/0.9175, allocations: 60.29 MB / 0.6764 GB, free: 8.215 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002821/0.9204, allocations: 1.483 MB / 0.6778 GB, free: 6.703 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007609/0.928, allocations: 0.9767 MB / 0.6788 GB, free: 5.719 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002007/0.9301, allocations: 0.5618 MB / 0.6794 GB, free: 5.156 MB / 458.7 MB Notification: Performance of SimCode: time 1.613e-06/0.9301, allocations: 0 / 0.6794 GB, free: 5.156 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08977/1.02, allocations: 27.68 MB / 0.7064 GB, free: 9.535 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003875/1.02, allocations: 263.5 kB / 0.7066 GB, free: 9.18 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.952/4.972, allocations: 0 / 0.7066 GB, free: 9.18 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat