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_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_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.009574/0.009574, allocations: 165.5 kB / 15.11 MB, free: 5.984 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.793/1.793, allocations: 170.8 MB / 186.6 MB, free: 1.109 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.001957/0.001957, allocations: 115.3 kB / 226.2 MB, free: 10.1 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.5164/0.5164, allocations: 38.06 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004913/0.0004915, allocations: 16 kB / 363 MB, free: 5.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.107, allocations: 48.71 MB / 411.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4812/0.5882, allocations: 79.57 MB / 491.3 MB, free: 8.18 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004365/0.5887, allocations: 93.62 kB / 491.4 MB, free: 8.125 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03314/0.6219, allocations: 5.934 MB / 497.3 MB, free: 2.945 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.622, allocations: 0 / 497.3 MB, free: 2.945 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.622, allocations: 4 kB / 497.3 MB, free: 2.941 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0007319/0.6227, allocations: 497.2 kB / 497.8 MB, free: 2.426 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.225e-05/0.6228, allocations: 12.02 kB / 497.8 MB, free: 2.414 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.95e-05/0.6229, allocations: 63.48 kB / 497.9 MB, free: 2.359 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00223/0.6252, allocations: 204.2 kB / 498.1 MB, free: 2.176 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004838/0.6257, allocations: 276.4 kB / 498.3 MB, free: 1.883 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.268e-05/0.6258, allocations: 19.06 kB / 498.4 MB, free: 1.871 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.513e-05/0.6259, allocations: 24.94 kB / 498.4 MB, free: 1.855 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.6274, allocations: 488.7 kB / 498.9 MB, free: 1.492 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.6274, allocations: 0 / 498.9 MB, free: 1.492 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.714e-05/0.6275, allocations: 10.62 kB / 498.9 MB, free: 1.488 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.823e-05/0.6275, allocations: 27.36 kB / 498.9 MB, free: 1.465 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002027/0.6296, allocations: 0.5945 MB / 499.5 MB, free: 1.027 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003147/0.6327, allocations: 1.172 MB / 0.4889 GB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.634, allocations: 173.8 kB / 0.4891 GB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.6341, allocations: 4.141 kB / 0.4891 GB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.6341, allocations: 38.56 kB / 0.4891 GB, free: 15.7 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.495e-06/0.6341, allocations: 0 / 0.4891 GB, free: 15.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.002273/0.6364, allocations: 307.8 kB / 0.4894 GB, free: 15.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.6365, allocations: 55.41 kB / 0.4895 GB, free: 15.35 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004359/0.6369, allocations: 255.2 kB / 0.4897 GB, free: 15.13 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.952e-05/0.637, allocations: 25.7 kB / 0.4898 GB, free: 15.1 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.6372, allocations: 168.7 kB / 0.4899 GB, free: 14.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.297e-05/0.6372, allocations: 27.08 kB / 0.4899 GB, free: 14.94 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.6373, allocations: 0 / 0.4899 GB, free: 14.94 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.6374, allocations: 333.7 kB / 0.4903 GB, free: 14.61 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006875/0.6381, allocations: 98.27 kB / 0.4904 GB, free: 14.53 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007392/0.6389, allocations: 123.6 kB / 0.4905 GB, free: 14.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007039/0.6396, allocations: 100.3 kB / 0.4906 GB, free: 14.32 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.6396, allocations: 4 kB / 0.4906 GB, free: 14.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001617/0.6413, allocations: 264.3 kB / 0.4908 GB, free: 14.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.6413, allocations: 4 kB / 0.4908 GB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.6413, allocations: 4 kB / 0.4908 GB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.6414, allocations: 4 kB / 0.4908 GB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01013/0.6515, allocations: 450.6 kB / 0.4913 GB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005192/0.6567, allocations: 1.949 MB / 0.4932 GB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.6578, allocations: 43.69 kB / 0.4932 GB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.869e-05/0.6579, allocations: 11.42 kB / 0.4932 GB, free: 11.6 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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 prepare postOptimizeDAE: time 0.0003399/0.6583, allocations: 161.6 kB / 0.4934 GB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.374e-05/0.6584, allocations: 19.72 kB / 0.4934 GB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.674e-05/0.6585, allocations: 32.95 kB / 0.4934 GB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.6585, allocations: 0 / 0.4934 GB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.6585, allocations: 0 / 0.4934 GB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.6585, allocations: 0 / 0.4934 GB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005746/0.6591, allocations: 290.5 kB / 0.4937 GB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.6591, allocations: 0 / 0.4937 GB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01078/0.6699, allocations: 440 kB / 0.4941 GB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/0.67, allocations: 0 / 0.4941 GB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.975e-05/0.67, allocations: 3.984 kB / 0.4941 GB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005854/0.6759, allocations: 1.943 MB / 0.496 GB, free: 8.688 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.676, allocations: 0.6562 kB / 0.496 GB, free: 8.688 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.6776, allocations: 337.6 kB / 0.4963 GB, free: 8.359 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.6778, allocations: 92.91 kB / 0.4964 GB, free: 8.25 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.825e-05/0.6779, allocations: 4 kB / 0.4964 GB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007453/0.6786, allocations: 19.97 kB / 0.4965 GB, free: 8.227 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.6788, allocations: 7.172 kB / 0.4965 GB, free: 8.223 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.388e-05/0.6789, allocations: 11.98 kB / 0.4965 GB, free: 8.211 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005139/0.6794, allocations: 207.2 kB / 0.4967 GB, free: 8.043 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.6795, allocations: 3.938 kB / 0.4967 GB, free: 8.039 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006049/0.6801, allocations: 70.53 kB / 0.4967 GB, free: 7.973 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 (7): * Single equations (assignments): 4 * 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.002285/0.6824, allocations: 0.8989 MB / 0.4976 GB, free: 7.066 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01098/0.6934, allocations: 0.5279 MB / 0.4981 GB, free: 6.559 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/0.6935, allocations: 0 / 0.4981 GB, free: 6.559 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009912/0.7034, allocations: 434.8 kB / 0.4986 GB, free: 6.145 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004684/0.7039, allocations: 45.31 kB / 0.4986 GB, free: 6.113 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005396/0.7093, allocations: 2.123 MB / 0.5007 GB, free: 4.152 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004515/0.7098, allocations: 0.7891 MB / 0.5014 GB, free: 3.344 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000377/0.7102, allocations: 54.05 kB / 0.5015 GB, free: 3.293 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000189/0.7104, allocations: 66.59 kB / 0.5016 GB, free: 3.266 MB / 346.7 MB Notification: Performance of SimCode: time 1.422e-06/0.7104, allocations: 0 / 0.5016 GB, free: 3.266 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04213/0.7526, allocations: 8.025 MB / 0.5094 GB, free: 11.37 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004823/0.7531, allocations: 270 kB / 0.5097 GB, free: 11.01 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.204/3.957, allocations: 3.938 kB / 0.5097 GB, free: 11.01 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat