Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_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.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_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.01037/0.01037, allocations: 176.1 kB / 15.12 MB, free: 5.984 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.005/2.005, allocations: 194.5 MB / 210.3 MB, free: 7.797 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.002033/0.002033, allocations: 104.7 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.2565/0.2565, allocations: 40 MB / 340.8 MB, free: 11.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006423/0.0006425, allocations: 13.94 kB / 406.3 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1043, allocations: 54.87 MB / 461.2 MB, free: 3.176 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4778/0.5822, allocations: 93.03 MB / 0.5412 GB, free: 21.72 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003643/0.5826, allocations: 97.55 kB / 0.5413 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:4809:11-4812: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:4822:11-4825:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.07931/0.6619, allocations: 15.13 MB / 0.5561 GB, free: 20.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.574e-06/0.662, allocations: 0 / 0.5561 GB, free: 20.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.662, allocations: 3.812 kB / 0.5561 GB, free: 20.32 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001211/0.6632, allocations: 0.5732 MB / 0.5566 GB, free: 19.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.6633, allocations: 7.781 kB / 0.5566 GB, free: 19.84 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.433e-05/0.6634, allocations: 69.91 kB / 0.5567 GB, free: 19.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.995e-05/0.6634, allocations: 27.38 kB / 0.5567 GB, free: 19.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.6637, allocations: 229.8 kB / 0.557 GB, free: 19.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.6638, allocations: 23.19 kB / 0.557 GB, free: 19.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.441e-05/0.6638, allocations: 26.81 kB / 0.557 GB, free: 19.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008449/0.6647, allocations: 366.3 kB / 0.5574 GB, free: 19.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.6647, allocations: 7.094 kB / 0.5574 GB, free: 19.51 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.771e-05/0.6648, allocations: 8.906 kB / 0.5574 GB, free: 19.51 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.854e-05/0.6649, allocations: 32.81 kB / 0.5574 GB, free: 19.51 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000985/0.6658, allocations: 397.5 kB / 0.5578 GB, free: 19.51 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002031/0.6679, allocations: 1.059 MB / 0.5588 GB, free: 18.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009115/0.6688, allocations: 280.9 kB / 0.5591 GB, free: 18.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.691e-05/0.6689, allocations: 19.14 kB / 0.5591 GB, free: 18.86 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.669, allocations: 42.31 kB / 0.5591 GB, free: 18.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=21): time 2.455e-06/0.669, allocations: 0 / 0.5591 GB, free: 18.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=21): time 0.001198/0.6702, allocations: 341.8 kB / 0.5595 GB, free: 18.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.6702, allocations: 51.41 kB / 0.5595 GB, free: 18.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.6705, allocations: 203.8 kB / 0.5597 GB, free: 18.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.6705, allocations: 29.52 kB / 0.5597 GB, free: 18.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.194e-05/0.6706, allocations: 149.4 kB / 0.5599 GB, free: 18.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.256e-05/0.6707, allocations: 72.94 kB / 0.56 GB, free: 18.42 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.6707, allocations: 3.875 kB / 0.56 GB, free: 18.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.07e-05/0.6708, allocations: 334.2 kB / 0.5603 GB, free: 18.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003045/0.6711, allocations: 83.34 kB / 0.5604 GB, free: 18.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003201/0.6715, allocations: 109.7 kB / 0.5605 GB, free: 18.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003348/0.6718, allocations: 102.4 kB / 0.5606 GB, free: 18.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.6718, allocations: 0 / 0.5606 GB, free: 18.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008146/0.6726, allocations: 270.5 kB / 0.5608 GB, free: 18.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.6727, allocations: 3.875 kB / 0.5608 GB, free: 18.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.6727, allocations: 0 / 0.5608 GB, free: 18.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.6727, allocations: 3.875 kB / 0.5608 GB, free: 18.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008533/0.6736, allocations: 87.08 kB / 0.5609 GB, free: 18.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00106/0.6747, allocations: 2.379 MB / 0.5632 GB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003294/0.675, allocations: 38.77 kB / 0.5633 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-05/0.6751, allocations: 15.52 kB / 0.5633 GB, free: 15.64 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 19 * 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.0002267/0.6753, allocations: 158.2 kB / 0.5634 GB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.179e-05/0.6754, allocations: 27.06 kB / 0.5635 GB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/0.6766, allocations: 358.3 kB / 0.5638 GB, free: 15.44 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.6766, allocations: 3.875 kB / 0.5638 GB, free: 15.44 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.6766, allocations: 0 / 0.5638 GB, free: 15.44 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.6766, allocations: 3.797 kB / 0.5638 GB, free: 15.44 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004471/0.6771, allocations: 321.6 kB / 0.5641 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.6771, allocations: 0 / 0.5641 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008445/0.6779, allocations: 95.44 kB / 0.5642 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.678, allocations: 1.625 kB / 0.5642 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.336e-05/0.678, allocations: 6.75 kB / 0.5642 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001013/0.679, allocations: 2.386 MB / 0.5665 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.6791, allocations: 2.641 kB / 0.5665 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008791/0.68, allocations: 376.5 kB / 0.5669 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001724/0.6802, allocations: 126.2 kB / 0.567 GB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.232e-05/0.6802, allocations: 3.812 kB / 0.567 GB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002775/0.6805, allocations: 22.59 kB / 0.567 GB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.338e-05/0.6806, allocations: 15.97 kB / 0.5671 GB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-05/0.6806, allocations: 15.91 kB / 0.5671 GB, free: 12.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006475/0.6813, allocations: 163.5 kB / 0.5672 GB, free: 28.54 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6813, allocations: 0 / 0.5672 GB, free: 28.54 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008991/0.6822, allocations: 177.4 kB / 0.5674 GB, free: 28.49 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 (25): * Single equations (assignments): 21 * 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.001974/0.6842, allocations: 1.077 MB / 0.5685 GB, free: 27.74 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001191/0.6854, allocations: 251 kB / 0.5687 GB, free: 27.73 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.6855, allocations: 0 / 0.5687 GB, free: 27.73 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007181/0.6862, allocations: 159.2 kB / 0.5688 GB, free: 27.73 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004653/0.6867, allocations: 44.2 kB / 0.5689 GB, free: 27.72 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0038/0.6905, allocations: 1.96 MB / 0.5708 GB, free: 26.77 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.6909, allocations: 0.791 MB / 0.5716 GB, free: 26.06 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004163/0.6914, allocations: 80.64 kB / 0.5717 GB, free: 26.05 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.6916, allocations: 85.09 kB / 0.5717 GB, free: 26.04 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.6916, allocations: 0 / 0.5717 GB, free: 26.04 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0363/0.7279, allocations: 7.987 MB / 0.5795 GB, free: 22.66 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002643/0.7282, allocations: 250 kB / 0.5798 GB, free: 22.33 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.057/3.785, allocations: 3.953 kB / 0.5798 GB, free: 22.33 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat