Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_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.01023/0.01023, allocations: 176.5 kB / 15.12 MB, free: 5.93 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.083/2.083, allocations: 194.5 MB / 210.3 MB, free: 7.602 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.002037/0.002037, allocations: 128.6 kB / 255.6 MB, free: 10.22 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.2534/0.2534, allocations: 40.01 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007061/0.0007062, allocations: 12.81 kB / 406.3 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1358, allocations: 54.88 MB / 461.2 MB, free: 3.145 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5822/0.7181, allocations: 90.12 MB / 0.5384 GB, free: 21.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003746/0.7185, allocations: 103 kB / 0.5385 GB, free: 21.72 MB / 378.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:6216:11-6222:61:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:6224:11-6227:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:6230:11-6236:59:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:6238:11-6241:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.05516/0.7737, allocations: 11.28 MB / 0.5495 GB, free: 20.58 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.7738, allocations: 1.75 kB / 0.5495 GB, free: 20.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.7738, allocations: 3.062 kB / 0.5495 GB, free: 20.58 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001432/0.7752, allocations: 0.5916 MB / 0.5501 GB, free: 20.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.7753, allocations: 9.5 kB / 0.5501 GB, free: 20.09 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001336/0.7755, allocations: 74.47 kB / 0.5502 GB, free: 20.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.37e-05/0.7756, allocations: 33.97 kB / 0.5502 GB, free: 20.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/0.776, allocations: 237.7 kB / 0.5504 GB, free: 19.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.411e-05/0.776, allocations: 25.05 kB / 0.5504 GB, free: 19.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.054e-05/0.7761, allocations: 25.22 kB / 0.5505 GB, free: 19.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.7774, allocations: 460.9 kB / 0.5509 GB, free: 19.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.7774, allocations: 1.812 kB / 0.5509 GB, free: 19.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.495e-05/0.7775, allocations: 13.3 kB / 0.5509 GB, free: 19.76 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.748e-05/0.7776, allocations: 46.34 kB / 0.551 GB, free: 19.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/0.779, allocations: 0.5611 MB / 0.5515 GB, free: 19.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002785/0.7818, allocations: 1.354 MB / 0.5528 GB, free: 19.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000875/0.7828, allocations: 296.8 kB / 0.5531 GB, free: 18.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.29e-05/0.7829, allocations: 3.844 kB / 0.5531 GB, free: 18.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.7829, allocations: 30.56 kB / 0.5531 GB, free: 18.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 3.066e-06/0.7829, allocations: 0 / 0.5531 GB, free: 18.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.001131/0.7841, allocations: 347.2 kB / 0.5535 GB, free: 18.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.7841, allocations: 57.62 kB / 0.5535 GB, free: 18.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.7843, allocations: 129.1 kB / 0.5537 GB, free: 18.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.7843, allocations: 33.36 kB / 0.5537 GB, free: 18.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.831e-05/0.7844, allocations: 194.9 kB / 0.5539 GB, free: 18.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.219e-05/0.7845, allocations: 81.31 kB / 0.5539 GB, free: 18.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/0.7845, allocations: 10.94 kB / 0.554 GB, free: 18.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.869e-05/0.7846, allocations: 327.3 kB / 0.5543 GB, free: 18.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003073/0.7849, allocations: 92.09 kB / 0.5544 GB, free: 18.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003527/0.7853, allocations: 179.1 kB / 0.5545 GB, free: 18.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003647/0.7857, allocations: 122.5 kB / 0.5546 GB, free: 18.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.7857, allocations: 0 / 0.5546 GB, free: 18.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008993/0.7866, allocations: 330.9 kB / 0.555 GB, free: 18.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.7867, allocations: 8.281 kB / 0.555 GB, free: 18.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.7867, allocations: 3.844 kB / 0.555 GB, free: 18.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.7867, allocations: 3.938 kB / 0.555 GB, free: 18.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/0.7878, allocations: 133.2 kB / 0.5551 GB, free: 18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001657/0.7895, allocations: 2.362 MB / 0.5574 GB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005264/0.7901, allocations: 42.11 kB / 0.5575 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.069e-05/0.7902, allocations: 18.19 kB / 0.5575 GB, free: 15.64 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003986/0.7906, allocations: 171.4 kB / 0.5576 GB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.7907, allocations: 19.06 kB / 0.5576 GB, free: 15.51 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002256/0.793, allocations: 379 kB / 0.558 GB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.793, allocations: 7.859 kB / 0.558 GB, free: 15.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.7931, allocations: 0 / 0.558 GB, free: 15.42 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.7931, allocations: 0 / 0.558 GB, free: 15.42 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008644/0.794, allocations: 336.3 kB / 0.5583 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.794, allocations: 0 / 0.5583 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001604/0.7956, allocations: 125 kB / 0.5585 GB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.54e-05/0.7957, allocations: 3.781 kB / 0.5585 GB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.113e-05/0.7957, allocations: 13.59 kB / 0.5585 GB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001459/0.7972, allocations: 2.367 MB / 0.5608 GB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.7972, allocations: 0 / 0.5608 GB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/0.7993, allocations: 379.6 kB / 0.5611 GB, free: 28.71 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.7995, allocations: 99.47 kB / 0.5612 GB, free: 28.61 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.242e-05/0.7996, allocations: 3.75 kB / 0.5612 GB, free: 28.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003848/0.8, allocations: 17.95 kB / 0.5613 GB, free: 28.6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.8001, allocations: 19.12 kB / 0.5613 GB, free: 28.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.821e-05/0.8002, allocations: 14.02 kB / 0.5613 GB, free: 28.6 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001507/0.8003, allocations: 100.1 kB / 0.5614 GB, free: 28.52 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.447e-06/0.8004, allocations: 0 / 0.5614 GB, free: 28.52 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001412/0.8018, allocations: 192.7 kB / 0.5616 GB, free: 28.46 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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002745/0.8046, allocations: 1.071 MB / 0.5626 GB, free: 27.72 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001859/0.8065, allocations: 290.6 kB / 0.5629 GB, free: 27.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.094e-06/0.8065, allocations: 0.6875 kB / 0.5629 GB, free: 27.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001115/0.8077, allocations: 178.2 kB / 0.5631 GB, free: 27.69 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.8081, allocations: 7.219 kB / 0.5631 GB, free: 27.69 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005779/0.8139, allocations: 3.156 MB / 0.5662 GB, free: 25.29 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006222/0.8146, allocations: 0.8148 MB / 0.567 GB, free: 24.59 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008371/0.8155, allocations: 101.1 kB / 0.567 GB, free: 24.55 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002659/0.8157, allocations: 87.83 kB / 0.5671 GB, free: 24.55 MB / 394.7 MB Notification: Performance of SimCode: time 1.463e-06/0.8158, allocations: 0 / 0.5671 GB, free: 24.55 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04192/0.8577, allocations: 6.64 MB / 0.5736 GB, free: 23.7 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003064/0.8581, allocations: 259.6 kB / 0.5739 GB, free: 23.34 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.852/3.71, allocations: 7.812 kB / 0.5739 GB, free: 23.34 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat does not exist to compare? outputFormat=mat