Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_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.01001/0.01001, allocations: 169.4 kB / 15.11 MB, free: 5.934 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.754/1.754, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.002396/0.002396, allocations: 103 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.5587/0.5587, allocations: 38.05 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004745/0.0004745, allocations: 12 kB / 363 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1072, allocations: 48.71 MB / 411.7 MB, free: 4.691 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4377/0.545, allocations: 78.01 MB / 489.7 MB, free: 9.805 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003797/0.5455, allocations: 94.72 kB / 489.8 MB, free: 9.746 MB / 330.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/Fluid/Dissipation.mo:5587:11-5590:61: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.1+maint.om/Fluid/Dissipation.mo:5598:11-5601:59:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.02957/0.575, allocations: 6.015 MB / 495.8 MB, free: 4.617 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.955e-06/0.5751, allocations: 4.5 kB / 495.8 MB, free: 4.613 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.827e-05/0.5752, allocations: 4 kB / 495.8 MB, free: 4.609 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009717/0.5761, allocations: 452 kB / 496.3 MB, free: 4.133 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.074e-05/0.5762, allocations: 12.03 kB / 496.3 MB, free: 4.121 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001011/0.5763, allocations: 62.08 kB / 496.4 MB, free: 4.062 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/0.5777, allocations: 66.92 kB / 496.4 MB, free: 4 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00054/0.5783, allocations: 223.8 kB / 496.6 MB, free: 3.754 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/0.5783, allocations: 11.25 kB / 496.6 MB, free: 3.746 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-05/0.5784, allocations: 11.62 kB / 496.7 MB, free: 3.738 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.5797, allocations: 288 kB / 496.9 MB, free: 3.504 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.5798, allocations: 0 / 496.9 MB, free: 3.504 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.444e-05/0.5799, allocations: 2.875 kB / 496.9 MB, free: 3.504 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.183e-05/0.58, allocations: 19.92 kB / 497 MB, free: 3.484 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.5811, allocations: 267.3 kB / 497.2 MB, free: 3.281 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002984/0.5842, allocations: 0.8007 MB / 498 MB, free: 2.465 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008925/0.5851, allocations: 189.4 kB / 498.2 MB, free: 2.285 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.825e-05/0.5852, allocations: 7.516 kB / 498.2 MB, free: 2.281 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.5852, allocations: 35.31 kB / 498.3 MB, free: 2.238 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 3.737e-06/0.5853, allocations: 0 / 498.3 MB, free: 2.238 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.00172/0.587, allocations: 262.6 kB / 498.5 MB, free: 1.996 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.5871, allocations: 51.41 kB / 498.6 MB, free: 1.934 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003092/0.5874, allocations: 177.7 kB / 498.7 MB, free: 1.773 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.052e-05/0.5875, allocations: 29.7 kB / 498.8 MB, free: 1.738 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.5876, allocations: 144.6 kB / 498.9 MB, free: 1.605 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.248e-05/0.5877, allocations: 33.36 kB / 498.9 MB, free: 1.578 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/0.5878, allocations: 2.25 kB / 498.9 MB, free: 1.578 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.705e-05/0.5879, allocations: 325.3 kB / 499.3 MB, free: 1.258 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004552/0.5884, allocations: 71.17 kB / 499.3 MB, free: 1.195 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004899/0.5889, allocations: 127.4 kB / 499.4 MB, free: 1.059 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005442/0.5894, allocations: 97.83 kB / 499.5 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.5895, allocations: 0 / 499.5 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001319/0.5908, allocations: 260.8 kB / 499.8 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/0.5909, allocations: 7.953 kB / 499.8 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.5909, allocations: 4 kB / 499.8 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.872e-05/0.5909, allocations: 4 kB / 499.8 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.5921, allocations: 83.28 kB / 499.9 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001725/0.5938, allocations: 1.783 MB / 0.4899 GB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006093/0.5945, allocations: 32.14 kB / 0.4899 GB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-05/0.5946, allocations: 15.42 kB / 0.49 GB, free: 14.76 MB / 346.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 (17): * Single equations (assignments): 14 * 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.0003342/0.595, allocations: 145.5 kB / 0.4901 GB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.5951, allocations: 15.81 kB / 0.4901 GB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0021/0.5972, allocations: 298.6 kB / 0.4904 GB, free: 14.35 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.5973, allocations: 4 kB / 0.4904 GB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.5973, allocations: 0 / 0.4904 GB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.5973, allocations: 0 / 0.4904 GB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000658/0.598, allocations: 240.9 kB / 0.4906 GB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.598, allocations: 3.984 kB / 0.4906 GB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009754/0.599, allocations: 59.89 kB / 0.4907 GB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-06/0.5991, allocations: 0 / 0.4907 GB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.817e-05/0.5991, allocations: 11.27 kB / 0.4907 GB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/0.6011, allocations: 1.784 MB / 0.4924 GB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/0.6012, allocations: 3.984 kB / 0.4925 GB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.6023, allocations: 264.8 kB / 0.4927 GB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.6025, allocations: 97.02 kB / 0.4928 GB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.922e-05/0.6026, allocations: 11.08 kB / 0.4928 GB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004236/0.6031, allocations: 11.98 kB / 0.4928 GB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.586e-05/0.6032, allocations: 11.92 kB / 0.4928 GB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.53e-05/0.6032, allocations: 4 kB / 0.4928 GB, free: 11.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003078/0.6036, allocations: 145.2 kB / 0.493 GB, free: 11.64 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.92e-07/0.6036, allocations: 0 / 0.493 GB, free: 11.64 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008412/0.6044, allocations: 59.5 kB / 0.493 GB, free: 11.59 MB / 346.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 (13): * Single equations (assignments): 10 * 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.001963/0.6064, allocations: 0.8542 MB / 0.4939 GB, free: 10.74 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0016/0.6081, allocations: 189.6 kB / 0.494 GB, free: 10.57 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.6081, allocations: 0 / 0.494 GB, free: 10.57 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009058/0.6091, allocations: 93.8 kB / 0.4941 GB, free: 10.49 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/0.6095, allocations: 15.83 kB / 0.4942 GB, free: 10.47 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005518/0.615, allocations: 2.233 MB / 0.4963 GB, free: 8.289 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006192/0.6157, allocations: 0.747 MB / 0.4971 GB, free: 7.52 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005407/0.6163, allocations: 53.38 kB / 0.4971 GB, free: 7.465 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002509/0.6166, allocations: 56.28 kB / 0.4972 GB, free: 7.438 MB / 346.7 MB Notification: Performance of SimCode: time 1.664e-06/0.6166, allocations: 0 / 0.4972 GB, free: 7.438 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04045/0.6571, allocations: 4.998 MB / 0.502 GB, free: 2.566 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005486/0.6577, allocations: 271.2 kB / 0.5023 GB, free: 2.195 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.928/3.586, allocations: 3.953 kB / 0.5023 GB, free: 2.191 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat does not exist to compare? outputFormat=mat