Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.0148/0.0148, allocations: 165.6 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.853/1.853, allocations: 170.8 MB / 186.6 MB, free: 1.113 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002636/0.002636, allocations: 116.4 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4943/0.4943, allocations: 38.06 MB / 303.7 MB, free: 42.32 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006277/0.0006277, allocations: 12 kB / 363 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1087, allocations: 48.71 MB / 411.7 MB, free: 4.691 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4655/0.5742, allocations: 87.17 MB / 498.9 MB, free: 220 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003982/0.5747, allocations: 100.9 kB / 499 MB, free: 160 kB / 330.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1+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.1+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.1+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.1+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.1+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.1+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.1+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.1+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.1+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.1+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.1+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.1175/0.6922, allocations: 24.12 MB / 0.5108 GB, free: 11.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.6922, allocations: 0 / 0.5108 GB, free: 11.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.136e-05/0.6923, allocations: 20 kB / 0.5109 GB, free: 11.62 MB / 362.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.003939/0.6962, allocations: 1.476 MB / 0.5123 GB, free: 10.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.6963, allocations: 8.031 kB / 0.5123 GB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006774/0.697, allocations: 314.2 kB / 0.5126 GB, free: 10 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004462/0.6974, allocations: 176.9 kB / 0.5128 GB, free: 9.828 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001592/0.6991, allocations: 0.6197 MB / 0.5134 GB, free: 9.219 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.6992, allocations: 148.5 kB / 0.5135 GB, free: 9.137 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004077/0.6996, allocations: 196.3 kB / 0.5137 GB, free: 9.004 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008096/0.7077, allocations: 2.695 MB / 0.5163 GB, free: 7.105 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.88e-05/0.7079, allocations: 0 / 0.5163 GB, free: 7.105 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002345/0.7081, allocations: 80.94 kB / 0.5164 GB, free: 7.086 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002526/0.7084, allocations: 146.3 kB / 0.5166 GB, free: 6.945 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009668/0.7181, allocations: 3.748 MB / 0.5202 GB, free: 3.961 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02071/0.7388, allocations: 6.696 MB / 0.5268 GB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002284/0.7412, allocations: 0.6841 MB / 0.5274 GB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001338/0.7414, allocations: 20.53 kB / 0.5275 GB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.949e-05/0.7415, allocations: 43.12 kB / 0.5275 GB, free: 12.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 3.637e-06/0.7415, allocations: 0 / 0.5275 GB, free: 12.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=63): time 0.004348/0.7458, allocations: 0.9815 MB / 0.5284 GB, free: 11.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/0.746, allocations: 55.97 kB / 0.5285 GB, free: 11.22 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00263/0.7486, allocations: 1.244 MB / 0.5297 GB, free: 9.965 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001554/0.7488, allocations: 45.64 kB / 0.5298 GB, free: 9.914 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001254/0.7501, allocations: 1.272 MB / 0.531 GB, free: 8.617 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005193/0.7506, allocations: 276.7 kB / 0.5313 GB, free: 8.344 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002261/0.7509, allocations: 60 kB / 0.5313 GB, free: 8.285 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003355/0.7512, allocations: 445.5 kB / 0.5317 GB, free: 7.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002425/0.7537, allocations: 0.6969 MB / 0.5324 GB, free: 7.141 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004485/0.7582, allocations: 2.734 MB / 0.5351 GB, free: 3.367 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003838/0.7621, allocations: 1.282 MB / 0.5364 GB, free: 2.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.924e-05/0.7622, allocations: 24 kB / 0.5364 GB, free: 2.066 MB / 378.7 MB Notification: Performance of matching and sorting (n=397) (initialization): time 0.01016/0.7724, allocations: 3.26 MB / 0.5396 GB, free: 14.79 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.909e-05/0.7725, allocations: 40.03 kB / 0.5396 GB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001079/0.7727, allocations: 76 kB / 0.5397 GB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001574/0.7728, allocations: 108 kB / 0.5398 GB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005118/0.778, allocations: 0.8774 MB / 0.5406 GB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004422/0.7824, allocations: 6.059 MB / 0.5465 GB, free: 7.406 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003036/0.7855, allocations: 416.3 kB / 0.5469 GB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005906/0.7862, allocations: 212 kB / 0.5471 GB, free: 6.789 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.001735/0.7879, allocations: 0.7089 MB / 0.5478 GB, free: 6.066 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003108/0.7882, allocations: 118.5 kB / 0.548 GB, free: 5.949 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005788/0.794, allocations: 1.309 MB / 0.5492 GB, free: 4.625 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/0.7941, allocations: 8 kB / 0.5492 GB, free: 4.617 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.7941, allocations: 0 / 0.5492 GB, free: 4.617 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/0.7941, allocations: 3.984 kB / 0.5492 GB, free: 4.613 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002231/0.7964, allocations: 0.9592 MB / 0.5502 GB, free: 3.609 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.7964, allocations: 0 / 0.5502 GB, free: 3.609 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002312/0.7988, allocations: 327.7 kB / 0.5505 GB, free: 3.289 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-05/0.7988, allocations: 4 kB / 0.5505 GB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/0.799, allocations: 31.98 kB / 0.5505 GB, free: 3.254 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004354/0.8033, allocations: 5.923 MB / 0.5563 GB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.8034, allocations: 0 / 0.5563 GB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002871/0.8063, allocations: 0.9016 MB / 0.5572 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007068/0.807, allocations: 295.2 kB / 0.5575 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002288/0.8073, allocations: 16 kB / 0.5575 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007494/0.808, allocations: 39.97 kB / 0.5575 GB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002536/0.8083, allocations: 64.58 kB / 0.5576 GB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/0.8084, allocations: 43.97 kB / 0.5576 GB, free: 11.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001859/0.8103, allocations: 0.7807 MB / 0.5584 GB, free: 10.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.92e-07/0.8104, allocations: 0 / 0.5584 GB, free: 10.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003306/0.8137, allocations: 0.4913 MB / 0.5589 GB, free: 10.44 MB / 410.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.003984/0.8177, allocations: 1.649 MB / 0.5605 GB, free: 8.762 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006576/0.8243, allocations: 1.866 MB / 0.5623 GB, free: 6.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.8244, allocations: 0 / 0.5623 GB, free: 6.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002224/0.8266, allocations: 479.4 kB / 0.5628 GB, free: 6.445 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006233/0.8273, allocations: 90.7 kB / 0.5628 GB, free: 6.355 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3783/1.206, allocations: 60.29 MB / 0.6217 GB, free: 80.61 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001317/1.207, allocations: 1.478 MB / 0.6232 GB, free: 79.89 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.006053/1.213, allocations: 0.9725 MB / 0.6241 GB, free: 79.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001765/1.215, allocations: 0.5577 MB / 0.6247 GB, free: 79.83 MB / 426.7 MB Notification: Performance of SimCode: time 1.703e-06/1.215, allocations: 0 / 0.6247 GB, free: 79.83 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09049/1.305, allocations: 27.69 MB / 0.6517 GB, free: 77.68 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002793/1.306, allocations: 262.9 kB / 0.652 GB, free: 77.33 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.776/5.082, allocations: 3.906 kB / 0.652 GB, free: 77.33 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat