Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_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_4_0_0_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.0009984/0.0009984, allocations: 97.62 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009788/0.0009791, allocations: 183.2 kB / 17.87 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 223.2 MB / 241.8 MB, free: 14.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2358/0.2358, allocations: 44.22 MB / 337.1 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003814/0.0003814, allocations: 8 kB / 409.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1433, allocations: 61.91 MB / 471.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.001984/0.1453, allocations: 1.474 MB / 473 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002096/0.1475, allocations: 1.451 MB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.717e-05/0.1475, allocations: 8 kB / 474.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.1478, allocations: 39.8 kB / 474.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002573/0.148, allocations: 63.77 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006782/0.1487, allocations: 358.7 kB / 474.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002331/0.149, allocations: 167.6 kB / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.919e-05/0.1491, allocations: 24.41 kB / 475.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.1492, allocations: 75.64 kB / 475.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.1494, allocations: 99.58 kB / 475.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.363e-05/0.1494, allocations: 8 kB / 475.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.1505, allocations: 0.6902 MB / 476 MB, free: 9.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.211e-05/0.1506, allocations: 63.8 kB / 476.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.81e-05/0.1506, allocations: 65.52 kB / 476.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005513/0.1512, allocations: 367.6 kB / 476.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.1512, allocations: 0 / 476.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1512, allocations: 0 / 476.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.1512, allocations: 0 / 476.5 MB, free: 8.668 MB / 350.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.0009388/0.1522, allocations: 0.5693 MB / 477.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.1522, allocations: 12.03 kB / 477.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.259e-05/0.1523, allocations: 78.52 kB / 477.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/0.1524, allocations: 31.53 kB / 477.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.1527, allocations: 246.6 kB / 477.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.1527, allocations: 24.52 kB / 477.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.174e-05/0.1528, allocations: 27.98 kB / 477.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007072/0.1535, allocations: 463.3 kB / 477.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.1535, allocations: 4 kB / 477.9 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.127e-05/0.1536, allocations: 16 kB / 477.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-05/0.1536, allocations: 44.97 kB / 478 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008578/0.1545, allocations: 0.5581 MB / 478.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001976/0.1565, allocations: 1.35 MB / 479.9 MB, free: 5.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005541/0.1571, allocations: 278.5 kB / 480.2 MB, free: 4.758 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.801e-05/0.1571, allocations: 15.92 kB / 480.2 MB, free: 4.742 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.1571, allocations: 34.56 kB / 480.2 MB, free: 4.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.493e-06/0.1571, allocations: 0 / 480.2 MB, free: 4.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007353/0.1579, allocations: 346.3 kB / 480.5 MB, free: 4.355 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.1579, allocations: 51.41 kB / 480.6 MB, free: 4.293 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.1581, allocations: 142 kB / 480.7 MB, free: 4.141 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.1581, allocations: 29.7 kB / 480.8 MB, free: 4.105 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.1582, allocations: 196.1 kB / 481 MB, free: 3.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.985e-05/0.1583, allocations: 86.75 kB / 481 MB, free: 3.824 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.339e-05/0.1583, allocations: 4 kB / 481 MB, free: 3.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1584, allocations: 326.8 kB / 481.4 MB, free: 3.492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.1586, allocations: 103.8 kB / 481.5 MB, free: 3.391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/0.1589, allocations: 174.2 kB / 481.6 MB, free: 3.184 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/0.1591, allocations: 128 kB / 481.8 MB, free: 3.059 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1591, allocations: 0 / 481.8 MB, free: 3.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006124/0.1597, allocations: 325.1 kB / 482.1 MB, free: 2.734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.1598, allocations: 8 kB / 482.1 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1598, allocations: 4 kB / 482.1 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.1598, allocations: 11.94 kB / 482.1 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005737/0.1604, allocations: 128.2 kB / 482.2 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/0.1617, allocations: 2.364 MB / 484.6 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.1619, allocations: 43.61 kB / 484.6 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.887e-05/0.162, allocations: 15.98 kB / 484.6 MB, free: 72 kB / 350.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.0002962/0.1623, allocations: 178.4 kB / 484.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.373e-05/0.1623, allocations: 19.8 kB / 484.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008304/0.1632, allocations: 375.2 kB / 485.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.1632, allocations: 4 kB / 485.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.1632, allocations: 0 / 485.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.1632, allocations: 3.984 kB / 485.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004047/0.1636, allocations: 345.3 kB / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.1636, allocations: 3.953 kB / 485.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004711/0.1641, allocations: 119.8 kB / 485.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.1641, allocations: 0 / 485.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.316e-05/0.1641, allocations: 11.98 kB / 485.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001337/0.1655, allocations: 2.352 MB / 488 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1655, allocations: 288 / 488 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005934/0.1661, allocations: 387.4 kB / 488.4 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.472e-05/0.1662, allocations: 96.86 kB / 488.5 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.255e-05/0.1662, allocations: 4 kB / 488.5 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.1664, allocations: 15.98 kB / 488.5 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.323e-05/0.1664, allocations: 23.97 kB / 488.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.1665, allocations: 11.98 kB / 488.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.757e-05/0.1665, allocations: 101.8 kB / 488.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1665, allocations: 0 / 488.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005342/0.1671, allocations: 167.6 kB / 488.8 MB, free: 11.7 MB / 366.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.001243/0.1683, allocations: 1.03 MB / 489.9 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007435/0.1691, allocations: 300.3 kB / 490.2 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.371e-06/0.1691, allocations: 3.938 kB / 490.2 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000448/0.1696, allocations: 188.2 kB / 490.3 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.1698, allocations: 15.98 kB / 490.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003124/0.1729, allocations: 3.145 MB / 493.5 MB, free: 6.906 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/0.1734, allocations: 0.8065 MB / 494.3 MB, free: 6.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003057/0.1737, allocations: 101.7 kB / 494.4 MB, free: 5.973 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.1739, allocations: 87.41 kB / 494.5 MB, free: 5.887 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1739, allocations: 0 / 494.5 MB, free: 5.887 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02059/0.1945, allocations: 6.428 MB / 0.4892 GB, free: 15.72 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000246/0.1948, allocations: 274.9 kB / 0.4894 GB, free: 15.35 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.028/2.222, allocations: 0 / 0.4894 GB, free: 15.35 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat does not exist to compare? outputFormat=mat