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_laminar_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_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_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.009748/0.009748, allocations: 175.9 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 2.21/2.21, allocations: 194.5 MB / 210.3 MB, free: 7.801 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.002062/0.002062, allocations: 116.6 kB / 255.6 MB, free: 10.43 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.2929/0.2929, allocations: 40.01 MB / 340.8 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007643/0.0007643, allocations: 14.47 kB / 406.3 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1062, allocations: 54.87 MB / 461.2 MB, free: 3.223 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5073/0.6136, allocations: 85.13 MB / 0.5335 GB, free: 26.8 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003668/0.614, allocations: 95.09 kB / 0.5336 GB, free: 26.8 MB / 378.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:5968:11-5971:69:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:5973:11-5976:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:5979:11-5982:67:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:5984:11-5987:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.01647/0.6305, allocations: 3.462 MB / 0.537 GB, free: 26.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6305, allocations: 1.375 kB / 0.537 GB, free: 26.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.6306, allocations: 1.438 kB / 0.537 GB, free: 26.3 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006342/0.6312, allocations: 400.4 kB / 0.5373 GB, free: 25.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.6313, allocations: 8.625 kB / 0.5374 GB, free: 25.92 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.14e-05/0.6313, allocations: 48.33 kB / 0.5374 GB, free: 25.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004153/0.6318, allocations: 40.62 kB / 0.5374 GB, free: 25.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.632, allocations: 190.6 kB / 0.5376 GB, free: 25.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.632, allocations: 7.781 kB / 0.5376 GB, free: 25.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.632, allocations: 7.5 kB / 0.5376 GB, free: 25.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005298/0.6326, allocations: 196.7 kB / 0.5378 GB, free: 25.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.6326, allocations: 3.281 kB / 0.5378 GB, free: 25.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.6327, allocations: 5.047 kB / 0.5378 GB, free: 25.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.236e-05/0.6327, allocations: 13.52 kB / 0.5378 GB, free: 25.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005536/0.6333, allocations: 150.2 kB / 0.538 GB, free: 25.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.6345, allocations: 0.6425 MB / 0.5386 GB, free: 25.06 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005321/0.6351, allocations: 114.8 kB / 0.5387 GB, free: 25.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.6351, allocations: 1.562 kB / 0.5387 GB, free: 25.03 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.6351, allocations: 31.88 kB / 0.5388 GB, free: 24.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 3.086e-06/0.6352, allocations: 0 / 0.5388 GB, free: 24.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007433/0.6359, allocations: 156.1 kB / 0.5389 GB, free: 24.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.636, allocations: 52.66 kB / 0.539 GB, free: 24.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.6361, allocations: 119.3 kB / 0.5391 GB, free: 24.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.6361, allocations: 25.7 kB / 0.5391 GB, free: 24.76 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.465e-05/0.6362, allocations: 123.4 kB / 0.5392 GB, free: 24.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.6362, allocations: 23.81 kB / 0.5392 GB, free: 24.63 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.046e-05/0.6363, allocations: 0.9688 kB / 0.5392 GB, free: 24.63 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.578e-05/0.6363, allocations: 318.7 kB / 0.5395 GB, free: 24.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.6366, allocations: 44.3 kB / 0.5396 GB, free: 24.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002721/0.6368, allocations: 104.2 kB / 0.5397 GB, free: 24.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002397/0.6371, allocations: 50.45 kB / 0.5397 GB, free: 24.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.6371, allocations: 1.938 kB / 0.5397 GB, free: 24.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005867/0.6377, allocations: 177.3 kB / 0.5399 GB, free: 24.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.6377, allocations: 6.75 kB / 0.5399 GB, free: 24.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.6378, allocations: 2.75 kB / 0.5399 GB, free: 24.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/0.6378, allocations: 3.25 kB / 0.5399 GB, free: 24.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003407/0.6382, allocations: 43.58 kB / 0.54 GB, free: 24.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.6382, allocations: 7.266 kB / 0.54 GB, free: 24.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.6384, allocations: 19.94 kB / 0.54 GB, free: 24.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.6384, allocations: 9.422 kB / 0.54 GB, free: 24.16 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001328/0.6385, allocations: 132.9 kB / 0.5401 GB, free: 24.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.361e-05/0.6386, allocations: 7.688 kB / 0.5401 GB, free: 24.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005489/0.6392, allocations: 139.3 kB / 0.5403 GB, free: 23.99 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.6392, allocations: 1.094 kB / 0.5403 GB, free: 23.99 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.6392, allocations: 0 / 0.5403 GB, free: 23.99 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.6392, allocations: 1.906 kB / 0.5403 GB, free: 23.99 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002823/0.6395, allocations: 200 kB / 0.5404 GB, free: 23.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.6395, allocations: 0 / 0.5404 GB, free: 23.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002748/0.6398, allocations: 38.22 kB / 0.5405 GB, free: 23.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.6398, allocations: 1.625 kB / 0.5405 GB, free: 23.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.6398, allocations: 0.7031 kB / 0.5405 GB, free: 23.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.6399, allocations: 1.562 kB / 0.5405 GB, free: 23.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.6399, allocations: 0 / 0.5405 GB, free: 23.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004884/0.6404, allocations: 228.3 kB / 0.5407 GB, free: 23.65 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.204e-05/0.6404, allocations: 83.55 kB / 0.5408 GB, free: 23.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.6405, allocations: 1.5 kB / 0.5408 GB, free: 23.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.6406, allocations: 13.12 kB / 0.5408 GB, free: 23.55 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.63e-05/0.6407, allocations: 5.484 kB / 0.5408 GB, free: 23.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.6407, allocations: 9.062 kB / 0.5408 GB, free: 23.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.799e-05/0.6408, allocations: 97.2 kB / 0.5409 GB, free: 23.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.6408, allocations: 0 / 0.5409 GB, free: 23.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003956/0.6412, allocations: 30.97 kB / 0.5409 GB, free: 23.46 MB / 378.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 (8): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008022/0.642, allocations: 0.7716 MB / 0.5417 GB, free: 22.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005267/0.6426, allocations: 114.8 kB / 0.5418 GB, free: 22.78 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.6426, allocations: 3.938 kB / 0.5418 GB, free: 22.78 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002164/0.6428, allocations: 46.62 kB / 0.5418 GB, free: 22.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.6431, allocations: 2.531 kB / 0.5418 GB, free: 22.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.6451, allocations: 1.964 MB / 0.5438 GB, free: 21.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002002/0.6454, allocations: 0.7193 MB / 0.5445 GB, free: 20.4 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001952/0.6456, allocations: 31.11 kB / 0.5445 GB, free: 20.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.183e-05/0.6457, allocations: 26.12 kB / 0.5445 GB, free: 20.38 MB / 378.7 MB Notification: Performance of SimCode: time 1.302e-06/0.6457, allocations: 0 / 0.5445 GB, free: 20.38 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02422/0.6699, allocations: 2.328 MB / 0.5468 GB, free: 20.07 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003391/0.6703, allocations: 238.2 kB / 0.547 GB, free: 19.82 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.42/3.09, allocations: 0 / 0.547 GB, free: 19.82 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat does not exist to compare? outputFormat=mat