Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_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.01453/0.01453, allocations: 174.2 kB / 15.12 MB, free: 6 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 2.172/2.172, allocations: 194.5 MB / 210.3 MB, free: 11.2 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.002009/0.002008, allocations: 115.3 kB / 255.6 MB, free: 14.3 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.4844/0.4844, allocations: 40 MB / 340.8 MB, free: 14.97 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005081/0.000508, allocations: 8 kB / 406.3 MB, free: 13.39 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3621, allocations: 54.86 MB / 461.2 MB, free: 24.69 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1659/0.528, allocations: 83.97 MB / 0.5324 GB, free: 7.207 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004939/0.5286, allocations: 95.94 kB / 0.5324 GB, free: 7.113 MB / 378.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:5488:11-5489:129:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:5496:11-5497:123:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.02441/0.553, allocations: 4.224 MB / 0.5366 GB, free: 2.883 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5531, allocations: 0 / 0.5366 GB, free: 2.883 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.5531, allocations: 0 / 0.5366 GB, free: 2.883 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007112/0.5538, allocations: 446.9 kB / 0.537 GB, free: 2.398 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.5539, allocations: 8.031 kB / 0.537 GB, free: 2.391 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.426e-05/0.5539, allocations: 50.53 kB / 0.5371 GB, free: 2.332 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.5551, allocations: 111.6 kB / 0.5372 GB, free: 2.223 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003101/0.5554, allocations: 206.8 kB / 0.5374 GB, free: 1.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.5554, allocations: 12 kB / 0.5374 GB, free: 1.969 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.475e-05/0.5555, allocations: 16 kB / 0.5374 GB, free: 1.953 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007073/0.5562, allocations: 229.3 kB / 0.5376 GB, free: 1.723 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.5562, allocations: 7.938 kB / 0.5376 GB, free: 1.715 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.082e-05/0.5563, allocations: 4 kB / 0.5376 GB, free: 1.711 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.044e-05/0.5563, allocations: 19.94 kB / 0.5376 GB, free: 1.691 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007711/0.5571, allocations: 231.8 kB / 0.5379 GB, free: 1.465 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/0.5588, allocations: 0.7441 MB / 0.5386 GB, free: 0.6289 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003641/0.5592, allocations: 94.52 kB / 0.5387 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.5593, allocations: 0 / 0.5387 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.5593, allocations: 30.56 kB / 0.5387 GB, free: 500 kB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 3.456e-06/0.5593, allocations: 0 / 0.5387 GB, free: 500 kB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008639/0.5602, allocations: 189.5 kB / 0.5389 GB, free: 304 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.5603, allocations: 51.41 kB / 0.5389 GB, free: 240 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.5605, allocations: 166.5 kB / 0.5391 GB, free: 64 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.5605, allocations: 33.69 kB / 0.5391 GB, free: 24 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.5607, allocations: 135.5 kB / 0.5393 GB, free: 15.89 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.5607, allocations: 31.58 kB / 0.5393 GB, free: 15.86 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.913e-05/0.5608, allocations: 4 kB / 0.5393 GB, free: 15.85 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.5609, allocations: 326.8 kB / 0.5396 GB, free: 15.52 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002465/0.5612, allocations: 51.95 kB / 0.5396 GB, free: 15.47 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002925/0.5615, allocations: 108.8 kB / 0.5398 GB, free: 15.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.5618, allocations: 63.95 kB / 0.5398 GB, free: 15.28 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.5618, allocations: 0 / 0.5398 GB, free: 15.28 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006979/0.5625, allocations: 201.5 kB / 0.54 GB, free: 15.08 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.5625, allocations: 8 kB / 0.54 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.5626, allocations: 0 / 0.54 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.5626, allocations: 7.984 kB / 0.54 GB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/0.5642, allocations: 103.9 kB / 0.5401 GB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/0.5661, allocations: 1.821 MB / 0.5419 GB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00029/0.5664, allocations: 27.77 kB / 0.5419 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.5665, allocations: 8 kB / 0.5419 GB, free: 13.03 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 initialization (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002/0.5667, allocations: 149.8 kB / 0.5421 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.806e-05/0.5668, allocations: 7.906 kB / 0.5421 GB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007758/0.5675, allocations: 194.9 kB / 0.5423 GB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.5676, allocations: 0 / 0.5423 GB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.5676, allocations: 3.984 kB / 0.5423 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.5676, allocations: 7.922 kB / 0.5423 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003701/0.568, allocations: 229.5 kB / 0.5425 GB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.568, allocations: 0 / 0.5425 GB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001348/0.5694, allocations: 97.02 kB / 0.5426 GB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/0.5694, allocations: 3.984 kB / 0.5426 GB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.5694, allocations: 4 kB / 0.5426 GB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001393/0.5708, allocations: 1.774 MB / 0.5443 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.5709, allocations: 0 / 0.5443 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006403/0.5715, allocations: 259.4 kB / 0.5446 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.991e-05/0.5716, allocations: 92.86 kB / 0.5447 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.304e-05/0.5717, allocations: 3.984 kB / 0.5447 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.5719, allocations: 12 kB / 0.5447 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.17e-05/0.572, allocations: 7.984 kB / 0.5447 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.572, allocations: 4 kB / 0.5447 GB, free: 10.03 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002212/0.5723, allocations: 150 kB / 0.5448 GB, free: 9.887 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.62e-07/0.5723, allocations: 0 / 0.5448 GB, free: 9.887 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004395/0.5727, allocations: 44 kB / 0.5449 GB, free: 9.844 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 (11): * 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): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001103/0.5738, allocations: 0.8246 MB / 0.5457 GB, free: 8.996 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001924/0.5758, allocations: 196.2 kB / 0.5459 GB, free: 8.805 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.5758, allocations: 0 / 0.5459 GB, free: 8.805 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001202/0.577, allocations: 111.8 kB / 0.546 GB, free: 8.695 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000504/0.5776, allocations: 35.97 kB / 0.546 GB, free: 8.66 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003014/0.5806, allocations: 2.093 MB / 0.5481 GB, free: 6.492 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.581, allocations: 0.7436 MB / 0.5488 GB, free: 5.723 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002483/0.5813, allocations: 41.33 kB / 0.5488 GB, free: 5.68 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.5814, allocations: 35.42 kB / 0.5489 GB, free: 5.648 MB / 394.7 MB Notification: Performance of SimCode: time 1.272e-06/0.5814, allocations: 4 kB / 0.5489 GB, free: 5.645 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03249/0.6139, allocations: 4.913 MB / 0.5537 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002569/0.6143, allocations: 273.7 kB / 0.5539 GB, free: 476 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.731/3.345, allocations: 0 / 0.5539 GB, free: 476 kB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat does not exist to compare? outputFormat=mat