Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_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.01045/0.01045, 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.187/2.187, allocations: 194.5 MB / 210.3 MB, free: 7.793 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.001969/0.001969, allocations: 100.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.2799/0.2799, allocations: 40 MB / 340.8 MB, free: 11.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000479/0.0004789, allocations: 10.12 kB / 406.3 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1059, allocations: 54.87 MB / 461.2 MB, free: 3.191 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4742/0.5801, allocations: 87.88 MB / 0.5362 GB, free: 27.87 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003403/0.5805, allocations: 99.95 kB / 0.5363 GB, free: 27.87 MB / 378.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:5845:11-5846:124:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:5858:11-5861:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:5836:11-5843:48:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:5849:11-5856:46:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.05113/0.6317, allocations: 10.22 MB / 0.5462 GB, free: 26.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.6317, allocations: 0 / 0.5462 GB, free: 26.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.01e-05/0.6317, allocations: 10.25 kB / 0.5463 GB, free: 26.45 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001461/0.6332, allocations: 0.6861 MB / 0.5469 GB, free: 25.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.6333, allocations: 9.375 kB / 0.5469 GB, free: 25.92 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001953/0.6335, allocations: 100.2 kB / 0.547 GB, free: 25.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.6336, allocations: 56.06 kB / 0.5471 GB, free: 25.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006043/0.6343, allocations: 319.2 kB / 0.5474 GB, free: 25.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.29e-05/0.6343, allocations: 37.81 kB / 0.5474 GB, free: 25.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.6344, allocations: 49.39 kB / 0.5475 GB, free: 25.6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/0.6362, allocations: 0.6707 MB / 0.5481 GB, free: 25.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.137e-05/0.6363, allocations: 1.062 kB / 0.5481 GB, free: 25.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.28e-05/0.6364, allocations: 21.62 kB / 0.5482 GB, free: 25.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.493e-05/0.6365, allocations: 50.23 kB / 0.5482 GB, free: 25.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001851/0.6383, allocations: 0.7335 MB / 0.5489 GB, free: 25.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004032/0.6424, allocations: 1.738 MB / 0.5506 GB, free: 24.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.6435, allocations: 369.6 kB / 0.551 GB, free: 24.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.757e-05/0.6436, allocations: 10.39 kB / 0.551 GB, free: 24.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.6436, allocations: 38.92 kB / 0.551 GB, free: 24.63 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 2.555e-06/0.6436, allocations: 0 / 0.551 GB, free: 24.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.001662/0.6453, allocations: 0.5011 MB / 0.5515 GB, free: 24.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.6454, allocations: 54.25 kB / 0.5516 GB, free: 24.51 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007039/0.6461, allocations: 411.5 kB / 0.5519 GB, free: 24.4 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.6461, allocations: 29.14 kB / 0.552 GB, free: 24.37 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.6463, allocations: 263.7 kB / 0.5522 GB, free: 24.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.975e-05/0.6464, allocations: 94.31 kB / 0.5523 GB, free: 24.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/0.6465, allocations: 7 kB / 0.5523 GB, free: 24.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.411e-05/0.6466, allocations: 348.2 kB / 0.5527 GB, free: 23.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004519/0.647, allocations: 154.1 kB / 0.5528 GB, free: 23.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004891/0.6475, allocations: 254 kB / 0.553 GB, free: 23.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005114/0.6481, allocations: 181.5 kB / 0.5532 GB, free: 23.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.6481, allocations: 0 / 0.5532 GB, free: 23.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001304/0.6494, allocations: 485.7 kB / 0.5537 GB, free: 23.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.6494, allocations: 15.8 kB / 0.5537 GB, free: 23.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.878e-05/0.6495, allocations: 3.906 kB / 0.5537 GB, free: 23.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.651e-05/0.6495, allocations: 7.812 kB / 0.5537 GB, free: 23.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.6507, allocations: 160.4 kB / 0.5539 GB, free: 23.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001679/0.6524, allocations: 3.609 MB / 0.5574 GB, free: 20.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006127/0.653, allocations: 57.8 kB / 0.5574 GB, free: 20.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.734e-05/0.6531, allocations: 22.89 kB / 0.5575 GB, free: 20.05 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004344/0.6535, allocations: 225.9 kB / 0.5577 GB, free: 19.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.332e-05/0.6537, allocations: 39.02 kB / 0.5577 GB, free: 19.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001794/0.6555, allocations: 0.5543 MB / 0.5583 GB, free: 19.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.6555, allocations: 3.781 kB / 0.5583 GB, free: 19.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.6555, allocations: 7.734 kB / 0.5583 GB, free: 19.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.6555, allocations: 0 / 0.5583 GB, free: 19.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008829/0.6564, allocations: 446.1 kB / 0.5587 GB, free: 19.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.6564, allocations: 7.938 kB / 0.5587 GB, free: 19.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/0.6575, allocations: 137.4 kB / 0.5588 GB, free: 19.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.768e-06/0.6575, allocations: 3.812 kB / 0.5588 GB, free: 19.58 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.101e-05/0.6576, allocations: 18.58 kB / 0.5589 GB, free: 19.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002817/0.6604, allocations: 3.6 MB / 0.5624 GB, free: 32.05 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.6605, allocations: 0 / 0.5624 GB, free: 32.05 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/0.6622, allocations: 0.6774 MB / 0.563 GB, free: 31.89 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003623/0.6626, allocations: 173 kB / 0.5632 GB, free: 31.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.655e-05/0.6627, allocations: 11.48 kB / 0.5632 GB, free: 31.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003846/0.6631, allocations: 22.05 kB / 0.5632 GB, free: 31.76 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.6632, allocations: 26.02 kB / 0.5632 GB, free: 31.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.281e-05/0.6633, allocations: 15 kB / 0.5633 GB, free: 31.75 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005586/0.6639, allocations: 343.4 kB / 0.5636 GB, free: 31.67 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6639, allocations: 64 / 0.5636 GB, free: 31.67 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009176/0.6648, allocations: 181.8 kB / 0.5638 GB, free: 31.63 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * 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 (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002596/0.6674, allocations: 1.324 MB / 0.5651 GB, free: 30.9 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00174/0.6692, allocations: 434.4 kB / 0.5655 GB, free: 30.88 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.6693, allocations: 0 / 0.5655 GB, free: 30.88 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.6703, allocations: 245.8 kB / 0.5657 GB, free: 30.86 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004333/0.6708, allocations: 31.48 kB / 0.5657 GB, free: 30.85 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007395/0.6782, allocations: 5.279 MB / 0.5709 GB, free: 27.55 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006488/0.6789, allocations: 0.916 MB / 0.5718 GB, free: 26.85 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006764/0.6796, allocations: 139 kB / 0.5719 GB, free: 26.83 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000336/0.68, allocations: 163.6 kB / 0.5721 GB, free: 26.82 MB / 394.7 MB Notification: Performance of SimCode: time 2.224e-06/0.68, allocations: 7.812 kB / 0.5721 GB, free: 26.82 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04616/0.7261, allocations: 10.47 MB / 0.5823 GB, free: 24.89 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002889/0.7265, allocations: 266.7 kB / 0.5826 GB, free: 24.53 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.059/3.786, allocations: 0 / 0.5826 GB, free: 24.53 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat