Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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_1_0-beta_om_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 trunk/package.mo): time 0.001662/0.001662, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002038/0.002038, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 227.4 MB / 246.8 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2289/0.2289, allocations: 46.12 MB / 344.2 MB, free: 11.52 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002524/0.002524, allocations: 83.92 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1255, allocations: 62.46 MB / 480.2 MB, free: 5.086 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.003559/0.1291, allocations: 1.83 MB / 482.1 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003028/0.1322, allocations: 1.695 MB / 483.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.1324, allocations: 4 kB / 483.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.1327, allocations: 47.75 kB / 483.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003498/0.133, allocations: 79.58 kB / 483.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.1341, allocations: 410.5 kB / 484.3 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003292/0.1344, allocations: 238.8 kB / 484.5 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.024e-05/0.1345, allocations: 32.31 kB / 484.6 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002377/0.1348, allocations: 111.5 kB / 484.7 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.135, allocations: 115.4 kB / 484.8 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.135, allocations: 8 kB / 484.8 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.1361, allocations: 0.7173 MB / 485.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.721e-05/0.1362, allocations: 71.67 kB / 485.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.1364, allocations: 119.2 kB / 485.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009733/0.1373, allocations: 0.6156 MB / 486.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1374, allocations: 8 kB / 486.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1374, allocations: 0 / 486.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.1374, allocations: 0 / 486.3 MB, free: 14.98 MB / 366.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.001112/0.1385, allocations: 0.626 MB / 486.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.1386, allocations: 8.031 kB / 486.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.75e-05/0.1387, allocations: 74.72 kB / 487 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.715e-05/0.1387, allocations: 28.56 kB / 487 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.1391, allocations: 239.1 kB / 487.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.1391, allocations: 20.55 kB / 487.3 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.871e-05/0.1391, allocations: 35.94 kB / 487.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007931/0.1399, allocations: 463.3 kB / 487.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.14, allocations: 4 kB / 487.8 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.154e-05/0.14, allocations: 11.98 kB / 487.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.938e-05/0.1401, allocations: 48.95 kB / 487.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008942/0.141, allocations: 0.5465 MB / 488.4 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002041/0.143, allocations: 1.319 MB / 489.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005584/0.1436, allocations: 270.5 kB / 490 MB, free: 11.08 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.1438, allocations: 100.8 kB / 490.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.176e-05/0.1439, allocations: 7.938 kB / 490.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.1439, allocations: 50.5 kB / 490.1 MB, free: 10.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.573e-06/0.1439, allocations: 0 / 490.1 MB, free: 10.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007712/0.1447, allocations: 329.2 kB / 490.5 MB, free: 10.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.1448, allocations: 55.41 kB / 490.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.1449, allocations: 141.1 kB / 490.6 MB, free: 10.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.1449, allocations: 33.7 kB / 490.7 MB, free: 10.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.1451, allocations: 204.1 kB / 490.9 MB, free: 10.13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.956e-05/0.1452, allocations: 82.77 kB / 491 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.1453, allocations: 69.69 kB / 491 MB, free: 9.973 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.1454, allocations: 322.8 kB / 491.3 MB, free: 9.648 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.1457, allocations: 91.78 kB / 491.4 MB, free: 9.559 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000281/0.146, allocations: 179 kB / 491.6 MB, free: 9.348 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004966/0.1465, allocations: 290 kB / 491.9 MB, free: 9.027 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/0.1465, allocations: 4 kB / 491.9 MB, free: 9.023 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006143/0.1471, allocations: 322.2 kB / 492.2 MB, free: 8.703 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.1471, allocations: 12.03 kB / 492.2 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1471, allocations: 0 / 492.2 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.1472, allocations: 4 kB / 492.2 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004888/0.1477, allocations: 119.9 kB / 492.3 MB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/0.1491, allocations: 2.367 MB / 494.7 MB, free: 6.109 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.1493, allocations: 43.55 kB / 494.8 MB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/0.1494, allocations: 16 kB / 494.8 MB, free: 6.051 MB / 366.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 (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001986/0.1496, allocations: 178.2 kB / 494.9 MB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.083e-05/0.1496, allocations: 7.906 kB / 495 MB, free: 5.859 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007883/0.1504, allocations: 362.4 kB / 495.3 MB, free: 5.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.1504, allocations: 4 kB / 495.3 MB, free: 5.496 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.1505, allocations: 3.938 kB / 495.3 MB, free: 5.492 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.1505, allocations: 3.938 kB / 495.3 MB, free: 5.488 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004264/0.1509, allocations: 349.3 kB / 495.7 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1509, allocations: 4 kB / 495.7 MB, free: 5.094 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000434/0.1514, allocations: 103.9 kB / 495.8 MB, free: 4.992 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1514, allocations: 3.938 kB / 495.8 MB, free: 4.988 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/0.1514, allocations: 8 kB / 495.8 MB, free: 4.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/0.1528, allocations: 2.356 MB / 498.1 MB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1528, allocations: 0 / 498.1 MB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006133/0.1534, allocations: 379.4 kB / 498.5 MB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.002e-05/0.1535, allocations: 92.95 kB / 498.6 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.1535, allocations: 4 kB / 498.6 MB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.1537, allocations: 11.98 kB / 498.6 MB, free: 2.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.891e-05/0.1538, allocations: 23.97 kB / 498.6 MB, free: 1.996 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.1538, allocations: 8 kB / 498.6 MB, free: 1.988 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.521e-05/0.1539, allocations: 103.3 kB / 498.7 MB, free: 1.887 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1539, allocations: 0 / 498.7 MB, free: 1.887 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005922/0.1545, allocations: 179.5 kB / 498.9 MB, free: 1.711 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 (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001234/0.1558, allocations: 1.033 MB / 499.9 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008691/0.1566, allocations: 360.2 kB / 0.4886 GB, free: 308 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.1567, allocations: 0 / 0.4886 GB, free: 308 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004514/0.1571, allocations: 187.7 kB / 0.4888 GB, free: 120 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.1575, allocations: 16 kB / 0.4888 GB, free: 104 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003349/0.1608, allocations: 2.519 MB / 0.4912 GB, free: 13.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004314/0.1613, allocations: 0.8025 MB / 0.492 GB, free: 12.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000336/0.1616, allocations: 105.7 kB / 0.4921 GB, free: 12.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.1618, allocations: 91.41 kB / 0.4922 GB, free: 12.42 MB / 382.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1618, allocations: 0 / 0.4922 GB, free: 12.42 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03496/0.1968, allocations: 6.969 MB / 0.499 GB, free: 5.668 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.13, allocations: 12.91 kB / 0.499 GB, free: 5.652 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0002 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1)