Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001385/0.001385, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008899/0.0008899, allocations: 96.31 kB / 292.1 MB, free: 5.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2066/0.2066, allocations: 45.14 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.874e-05/2.886e-05, allocations: 4 kB / 460.5 MB, free: 69.89 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1082, allocations: 63.24 MB / 0.5115 GB, free: 6.668 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4008/0.5091, allocations: 95.04 MB / 0.6043 GB, free: 14.83 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.5094, allocations: 95.69 kB / 0.6044 GB, free: 14.78 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5283:11-5295:61:writable] Error: Type mismatch in binding A_cross = A_cross, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5297:11-5298:129:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5301:11-5313:67:writable] Error: Type mismatch in binding A_cross = A_cross, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5315:11-5316:123:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). Notification: Performance of FrontEnd - DAE generated: time 0.02449/0.5339, allocations: 9.204 MB / 0.6134 GB, free: 6.738 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.534, allocations: 0 / 0.6134 GB, free: 6.738 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.524e-05/0.534, allocations: 7.438 kB / 0.6134 GB, free: 6.734 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0007083/0.5347, allocations: 0.5205 MB / 0.6139 GB, free: 6.188 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.5348, allocations: 19.91 kB / 0.6139 GB, free: 6.168 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.708e-05/0.5349, allocations: 78.72 kB / 0.614 GB, free: 6.105 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.955e-05/0.5349, allocations: 31.62 kB / 0.614 GB, free: 6.074 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002955/0.5352, allocations: 233.8 kB / 0.6142 GB, free: 5.812 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.5353, allocations: 31.27 kB / 0.6143 GB, free: 5.793 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.5353, allocations: 27.75 kB / 0.6143 GB, free: 5.773 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006542/0.536, allocations: 458.5 kB / 0.6147 GB, free: 5.441 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.536, allocations: 0 / 0.6147 GB, free: 5.441 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.536, allocations: 18.5 kB / 0.6147 GB, free: 5.434 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.27e-05/0.5361, allocations: 28.7 kB / 0.6148 GB, free: 5.406 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004805/0.5366, allocations: 391.9 kB / 0.6151 GB, free: 5.141 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001607/0.5382, allocations: 1.208 MB / 0.6163 GB, free: 3.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.5383, allocations: 60.19 kB / 0.6164 GB, free: 3.922 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.99e-05/0.5384, allocations: 31.72 kB / 0.6164 GB, free: 3.895 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.5384, allocations: 4 kB / 0.6164 GB, free: 3.891 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.5384, allocations: 34.5 kB / 0.6164 GB, free: 3.848 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.552e-06/0.5385, allocations: 0 / 0.6164 GB, free: 3.848 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002396/0.5387, allocations: 96.12 kB / 0.6165 GB, free: 3.758 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.5388, allocations: 55.41 kB / 0.6166 GB, free: 3.691 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.5389, allocations: 151.6 kB / 0.6167 GB, free: 3.551 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.5389, allocations: 25.7 kB / 0.6168 GB, free: 3.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.5391, allocations: 224.5 kB / 0.617 GB, free: 3.309 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.5391, allocations: 26.64 kB / 0.617 GB, free: 3.285 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-06/0.5391, allocations: 3.875 kB / 0.617 GB, free: 3.285 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.5392, allocations: 326.4 kB / 0.6173 GB, free: 2.961 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.215e-05/0.5393, allocations: 46.86 kB / 0.6174 GB, free: 2.922 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.5395, allocations: 155.4 kB / 0.6175 GB, free: 2.727 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.5396, allocations: 70.39 kB / 0.6176 GB, free: 2.668 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.5396, allocations: 0 / 0.6176 GB, free: 2.668 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003485/0.54, allocations: 226 kB / 0.6178 GB, free: 2.469 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.54, allocations: 9.406 kB / 0.6178 GB, free: 2.461 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.54, allocations: 4 kB / 0.6178 GB, free: 2.457 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.54, allocations: 8.562 kB / 0.6178 GB, free: 2.449 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003905/0.5404, allocations: 91.88 kB / 0.6179 GB, free: 2.359 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/0.5417, allocations: 1.78 MB / 0.6196 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.5419, allocations: 23.78 kB / 0.6197 GB, free: 0.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.298e-05/0.5419, allocations: 23.62 kB / 0.6197 GB, free: 492 kB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * 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.0001086/0.542, allocations: 127.4 kB / 0.6198 GB, free: 364 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.5421, allocations: 7.906 kB / 0.6198 GB, free: 356 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004259/0.5425, allocations: 177.7 kB / 0.62 GB, free: 188 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.5425, allocations: 0 / 0.62 GB, free: 188 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.5425, allocations: 4 kB / 0.62 GB, free: 184 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.5425, allocations: 7.984 kB / 0.62 GB, free: 176 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003594/0.5429, allocations: 286.9 kB / 0.6203 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.5429, allocations: 4 kB / 0.6203 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002466/0.5432, allocations: 67.12 kB / 0.6203 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.5432, allocations: 0 / 0.6203 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.5432, allocations: 4 kB / 0.6203 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009558/0.5442, allocations: 1.776 MB / 0.6221 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.5442, allocations: 0 / 0.6221 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.5444, allocations: 196.4 kB / 0.6223 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.607e-05/0.5445, allocations: 85.2 kB / 0.6223 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.5445, allocations: 4 kB / 0.6223 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.5446, allocations: 15.36 kB / 0.6224 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.5447, allocations: 7.984 kB / 0.6224 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.5447, allocations: 4 kB / 0.6224 GB, free: 13.65 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.741e-05/0.5447, allocations: 113.8 kB / 0.6225 GB, free: 13.55 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5448, allocations: 0 / 0.6225 GB, free: 13.55 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004954/0.5453, allocations: 111 kB / 0.6226 GB, free: 13.44 MB / 426.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 () * 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.0007586/0.546, allocations: 0.8005 MB / 0.6234 GB, free: 12.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004189/0.5465, allocations: 149 kB / 0.6235 GB, free: 12.51 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.5465, allocations: 0 / 0.6235 GB, free: 12.51 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002251/0.5467, allocations: 68.39 kB / 0.6236 GB, free: 12.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000179/0.5469, allocations: 20.72 kB / 0.6236 GB, free: 12.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000836/0.5477, allocations: 405.5 kB / 0.624 GB, free: 12.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.5481, allocations: 0.804 MB / 0.6248 GB, free: 11.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001922/0.5483, allocations: 61.03 kB / 0.6248 GB, free: 11.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.62e-05/0.5484, allocations: 73.66 kB / 0.6249 GB, free: 11.12 MB / 426.7 MB Notification: Performance of SimCode: time 4.81e-07/0.5484, allocations: 0 / 0.6249 GB, free: 11.12 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01847/0.5669, allocations: 5.328 MB / 0.6301 GB, free: 6.004 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002519/0.5672, allocations: 255.9 kB / 0.6303 GB, free: 5.664 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/2.204, allocations: 0 / 0.6303 GB, free: 5.664 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat