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_curvedOverall_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_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_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.02586/0.02586, allocations: 176.6 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.097/2.097, allocations: 194.5 MB / 210.3 MB, free: 7.609 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.002015/0.002014, allocations: 120.6 kB / 255.6 MB, free: 10.23 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.2656/0.2656, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005186/0.0005186, allocations: 19 kB / 406.3 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1095, allocations: 54.87 MB / 461.2 MB, free: 3.195 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5067/0.6163, allocations: 96.52 MB / 0.5446 GB, free: 21.88 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003778/0.6167, allocations: 99.73 kB / 0.5447 GB, free: 21.88 MB / 378.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:4646:11-4649:67:writable] Error: Type mismatch in binding eta = eta, 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:4673:11-4676:68:writable] Error: Type mismatch in binding eta = eta, 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:4633:11-4636:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:4660:11-4663:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.12/0.7367, allocations: 22.57 MB / 0.5668 GB, free: 18.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.7368, allocations: 0 / 0.5668 GB, free: 18.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.619e-05/0.7368, allocations: 3.875 kB / 0.5668 GB, free: 18.72 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001528/0.7383, allocations: 0.6286 MB / 0.5674 GB, free: 18.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.7384, allocations: 11.22 kB / 0.5674 GB, free: 18.18 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001392/0.7385, allocations: 76.06 kB / 0.5675 GB, free: 18.13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.413e-05/0.7387, allocations: 39.16 kB / 0.5675 GB, free: 18.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004519/0.7391, allocations: 272.1 kB / 0.5677 GB, free: 17.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.7392, allocations: 19.62 kB / 0.5678 GB, free: 17.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.814e-05/0.7392, allocations: 41.98 kB / 0.5678 GB, free: 17.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.7404, allocations: 499.1 kB / 0.5683 GB, free: 17.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.7405, allocations: 0 / 0.5683 GB, free: 17.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.168e-05/0.7405, allocations: 18.39 kB / 0.5683 GB, free: 17.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.867e-05/0.7406, allocations: 43.75 kB / 0.5683 GB, free: 17.69 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.7419, allocations: 0.5337 MB / 0.5689 GB, free: 17.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002802/0.7447, allocations: 1.336 MB / 0.5702 GB, free: 16.67 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.7459, allocations: 378.6 kB / 0.5705 GB, free: 16.56 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.882e-05/0.746, allocations: 7.516 kB / 0.5705 GB, free: 16.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.7461, allocations: 38.06 kB / 0.5706 GB, free: 16.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 2.916e-06/0.7461, allocations: 0 / 0.5706 GB, free: 16.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=26): time 0.001449/0.7475, allocations: 437.1 kB / 0.571 GB, free: 16.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.7476, allocations: 62.75 kB / 0.571 GB, free: 16.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004074/0.748, allocations: 273.2 kB / 0.5713 GB, free: 16.19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.7481, allocations: 33.39 kB / 0.5713 GB, free: 16.15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.7482, allocations: 199.4 kB / 0.5715 GB, free: 16.01 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.791e-05/0.7483, allocations: 92.28 kB / 0.5716 GB, free: 15.94 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.7484, allocations: 3.938 kB / 0.5716 GB, free: 15.94 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.718e-05/0.7484, allocations: 337.5 kB / 0.5719 GB, free: 15.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004112/0.7489, allocations: 126.3 kB / 0.5721 GB, free: 15.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004213/0.7493, allocations: 153.7 kB / 0.5722 GB, free: 15.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004729/0.7498, allocations: 158.3 kB / 0.5724 GB, free: 15.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.7498, allocations: 3.938 kB / 0.5724 GB, free: 15.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001185/0.751, allocations: 375.7 kB / 0.5727 GB, free: 15.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.7511, allocations: 7.812 kB / 0.5727 GB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.659e-06/0.7511, allocations: 7.938 kB / 0.5727 GB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.543e-05/0.7511, allocations: 0 / 0.5727 GB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.7522, allocations: 124.3 kB / 0.5729 GB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/0.7537, allocations: 3.012 MB / 0.5758 GB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004867/0.7542, allocations: 50.58 kB / 0.5758 GB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.614e-05/0.7543, allocations: 10.88 kB / 0.5759 GB, free: 12.32 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 (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002871/0.7546, allocations: 174.9 kB / 0.576 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.611e-05/0.7547, allocations: 35.06 kB / 0.5761 GB, free: 12.17 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001637/0.7563, allocations: 466.5 kB / 0.5765 GB, free: 12.01 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.7564, allocations: 0 / 0.5765 GB, free: 12.01 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.7564, allocations: 7.938 kB / 0.5765 GB, free: 12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.7564, allocations: 7.828 kB / 0.5765 GB, free: 12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006539/0.7571, allocations: 368.2 kB / 0.5769 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.7571, allocations: 0 / 0.5769 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009908/0.7581, allocations: 116.7 kB / 0.577 GB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.7581, allocations: 0 / 0.577 GB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.458e-05/0.7582, allocations: 19.52 kB / 0.577 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001965/0.7601, allocations: 3.009 MB / 0.5799 GB, free: 24.72 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.7602, allocations: 0 / 0.5799 GB, free: 24.72 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.7613, allocations: 452.2 kB / 0.5804 GB, free: 24.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.7615, allocations: 115.9 kB / 0.5805 GB, free: 24.39 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.328e-05/0.7616, allocations: 3.312 kB / 0.5805 GB, free: 24.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003466/0.762, allocations: 15.67 kB / 0.5805 GB, free: 24.38 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.842e-05/0.7621, allocations: 31.56 kB / 0.5805 GB, free: 24.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.169e-05/0.7621, allocations: 15.52 kB / 0.5805 GB, free: 24.36 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003304/0.7625, allocations: 228.2 kB / 0.5808 GB, free: 24.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.7625, allocations: 0 / 0.5808 GB, free: 24.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001027/0.7635, allocations: 209.7 kB / 0.581 GB, free: 24.19 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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002352/0.7659, allocations: 1.156 MB / 0.5821 GB, free: 23.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00156/0.7675, allocations: 355.4 kB / 0.5824 GB, free: 23.29 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.7676, allocations: 4.125 kB / 0.5824 GB, free: 23.29 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009755/0.7686, allocations: 212.7 kB / 0.5826 GB, free: 23.24 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000606/0.7692, allocations: 58.38 kB / 0.5827 GB, free: 23.21 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004955/0.7742, allocations: 2.481 MB / 0.5851 GB, free: 21.85 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004687/0.7747, allocations: 0.8534 MB / 0.5859 GB, free: 21.08 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006063/0.7753, allocations: 117 kB / 0.5861 GB, free: 21.03 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002644/0.7756, allocations: 110.4 kB / 0.5862 GB, free: 21.01 MB / 394.7 MB Notification: Performance of SimCode: time 1.283e-06/0.7756, allocations: 0 / 0.5862 GB, free: 21.01 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04131/0.8169, allocations: 10.37 MB / 0.5963 GB, free: 15.92 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002864/0.8173, allocations: 259.5 kB / 0.5965 GB, free: 15.58 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.108/3.926, allocations: 0 / 0.5965 GB, free: 15.58 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_curvedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat