Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 95.89 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 175.1 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.657/1.657, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4977/0.4977, allocations: 43.54 MB / 314.5 MB, free: 9.031 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006309/0.0006312, allocations: 12 kB / 384 MB, free: 8.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.177, allocations: 58.85 MB / 442.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.00258/0.1797, allocations: 1.483 MB / 444.4 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002548/0.1822, allocations: 1.495 MB / 445.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.73e-05/0.1824, allocations: 0 / 445.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.1826, allocations: 35.81 kB / 445.9 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002884/0.1829, allocations: 63.77 kB / 445.9 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000725/0.1836, allocations: 359.1 kB / 446.3 MB, free: 9.746 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002366/0.1839, allocations: 163.7 kB / 446.5 MB, free: 9.586 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.597e-05/0.184, allocations: 36.31 kB / 446.5 MB, free: 9.551 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.1842, allocations: 79.62 kB / 446.6 MB, free: 9.473 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.1843, allocations: 95.59 kB / 446.7 MB, free: 9.379 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.1844, allocations: 8 kB / 446.7 MB, free: 9.371 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/0.1854, allocations: 0.6903 MB / 447.4 MB, free: 8.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.591e-05/0.1855, allocations: 67.73 kB / 447.4 MB, free: 8.613 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.291e-05/0.1856, allocations: 61.58 kB / 447.5 MB, free: 8.547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005604/0.1861, allocations: 367.2 kB / 447.8 MB, free: 8.188 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1861, allocations: 0 / 447.8 MB, free: 8.188 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.1861, allocations: 0 / 447.8 MB, free: 8.188 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1862, allocations: 0 / 447.8 MB, free: 8.188 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009854/0.1871, allocations: 0.581 MB / 448.4 MB, free: 7.559 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.444e-05/0.1872, allocations: 8.031 kB / 448.4 MB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001012/0.1873, allocations: 74.52 kB / 448.5 MB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.927e-05/0.1874, allocations: 27.62 kB / 448.5 MB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/0.1878, allocations: 242.6 kB / 448.8 MB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.933e-05/0.1878, allocations: 20.56 kB / 448.8 MB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.899e-05/0.1879, allocations: 24 kB / 448.8 MB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008502/0.1888, allocations: 475.3 kB / 449.3 MB, free: 6.648 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.1888, allocations: 0 / 449.3 MB, free: 6.648 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.406e-05/0.1888, allocations: 11.95 kB / 449.3 MB, free: 6.637 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-05/0.1889, allocations: 44.97 kB / 449.3 MB, free: 6.594 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008497/0.1898, allocations: 0.5581 MB / 449.9 MB, free: 6.035 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002078/0.1918, allocations: 1.354 MB / 451.2 MB, free: 4.562 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005791/0.1924, allocations: 286.4 kB / 451.5 MB, free: 4.273 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.575e-05/0.1925, allocations: 20.3 kB / 451.5 MB, free: 4.254 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.1925, allocations: 34.56 kB / 451.6 MB, free: 4.211 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.603e-06/0.1925, allocations: 0 / 451.6 MB, free: 4.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007777/0.1933, allocations: 337.7 kB / 451.9 MB, free: 3.875 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.1934, allocations: 55.41 kB / 452 MB, free: 3.809 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.1935, allocations: 146 kB / 452.1 MB, free: 3.656 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.1935, allocations: 25.7 kB / 452.1 MB, free: 3.625 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.1937, allocations: 191.8 kB / 452.3 MB, free: 3.434 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.685e-05/0.1938, allocations: 90.73 kB / 452.4 MB, free: 3.344 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.369e-05/0.1938, allocations: 4 kB / 452.4 MB, free: 3.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1939, allocations: 330.8 kB / 452.7 MB, free: 3.008 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.1941, allocations: 99.77 kB / 452.8 MB, free: 2.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.1944, allocations: 174.2 kB / 453 MB, free: 2.703 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.1946, allocations: 116.8 kB / 453.1 MB, free: 2.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.1947, allocations: 4 kB / 453.1 MB, free: 2.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005875/0.1952, allocations: 333 kB / 453.4 MB, free: 2.254 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.1953, allocations: 8.344 kB / 453.5 MB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.1953, allocations: 4 kB / 453.5 MB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.1953, allocations: 4 kB / 453.5 MB, free: 2.238 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005436/0.1959, allocations: 127.8 kB / 453.6 MB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3402/0.5361, allocations: 2.365 MB / 456 MB, free: 45.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004266/0.5366, allocations: 33.09 kB / 456 MB, free: 45.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.505e-05/0.5367, allocations: 19.14 kB / 456 MB, free: 45.94 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * 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.0002957/0.537, allocations: 181.3 kB / 456.2 MB, free: 45.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.206e-05/0.537, allocations: 13.41 kB / 456.2 MB, free: 45.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009228/0.538, allocations: 377.3 kB / 456.6 MB, free: 45.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.538, allocations: 5.938 kB / 456.6 MB, free: 45.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.538, allocations: 0 / 456.6 MB, free: 45.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.538, allocations: 8.422 kB / 456.6 MB, free: 45.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000412/0.5384, allocations: 342 kB / 456.9 MB, free: 45.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.5384, allocations: 2.297 kB / 456.9 MB, free: 45.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004835/0.5389, allocations: 119.1 kB / 457 MB, free: 45.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.044e-05/0.5389, allocations: 5.406 kB / 457 MB, free: 45.6 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.539, allocations: 7.219 kB / 457 MB, free: 45.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008727/0.5399, allocations: 2.357 MB / 459.4 MB, free: 43.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.5399, allocations: 3.656 kB / 459.4 MB, free: 43.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005892/0.5405, allocations: 381 kB / 459.8 MB, free: 43.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.759e-05/0.5405, allocations: 93.56 kB / 459.9 MB, free: 43.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.731e-05/0.5406, allocations: 9.906 kB / 459.9 MB, free: 43.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.5408, allocations: 13.16 kB / 459.9 MB, free: 43.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.533e-05/0.5408, allocations: 28.78 kB / 459.9 MB, free: 43.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.5409, allocations: 8.031 kB / 459.9 MB, free: 43.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.293e-05/0.5409, allocations: 99.88 kB / 460 MB, free: 42.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5409, allocations: 0 / 460 MB, free: 42.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005701/0.5415, allocations: 172.1 kB / 460.2 MB, free: 42.95 MB / 382.1 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 (29): * Single equations (assignments): 25 * 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.001031/0.5425, allocations: 1.031 MB / 461.2 MB, free: 42.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007889/0.5433, allocations: 306.8 kB / 461.5 MB, free: 42.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5434, allocations: 0 / 461.5 MB, free: 42.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004331/0.5438, allocations: 186.7 kB / 461.7 MB, free: 42.26 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.5441, allocations: 12.06 kB / 461.7 MB, free: 42.26 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003295/0.5474, allocations: 3.136 MB / 464.8 MB, free: 39.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005373/0.5479, allocations: 0.813 MB / 465.7 MB, free: 39.22 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003299/0.5483, allocations: 94.64 kB / 465.8 MB, free: 39.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.5485, allocations: 91.48 kB / 465.8 MB, free: 39.2 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5485, allocations: 4 kB / 465.8 MB, free: 39.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02327/0.5717, allocations: 6.444 MB / 472.3 MB, free: 38.58 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002899/0.5721, allocations: 258.7 kB / 472.5 MB, free: 38.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.13/2.702, allocations: 7.938 kB / 472.5 MB, free: 38.22 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat does not exist to compare? outputFormat=mat