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.001305/0.001305, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001347/0.001347, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.2399/0.2399, allocations: 46.11 MB / 344.2 MB, free: 11.54 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.002344/0.002344, allocations: 72.94 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1205, allocations: 62.45 MB / 480.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.003313/0.1238, allocations: 1.841 MB / 482.1 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002624/0.1265, allocations: 1.699 MB / 483.8 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.126e-05/0.1265, allocations: 0 / 483.8 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001966/0.1268, allocations: 43.77 kB / 483.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002436/0.127, allocations: 83.56 kB / 483.9 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000814/0.1278, allocations: 406.6 kB / 484.3 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002657/0.1281, allocations: 242.8 kB / 484.5 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.449e-05/0.1282, allocations: 28.39 kB / 484.6 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.1284, allocations: 111.4 kB / 484.7 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.1285, allocations: 119.4 kB / 484.8 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.1286, allocations: 12 kB / 484.8 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/0.1297, allocations: 0.7212 MB / 485.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.1298, allocations: 71.56 kB / 485.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.1299, allocations: 111.2 kB / 485.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008778/0.1308, allocations: 0.6195 MB / 486.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1308, allocations: 0 / 486.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1308, allocations: 0 / 486.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.1308, allocations: 0 / 486.3 MB, free: 14.99 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.0009435/0.1318, allocations: 0.6299 MB / 486.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.1318, allocations: 8.031 kB / 486.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.362e-05/0.1319, allocations: 74.72 kB / 487 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.436e-05/0.132, allocations: 28.56 kB / 487 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/0.1323, allocations: 243.1 kB / 487.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.1323, allocations: 24.48 kB / 487.3 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.679e-05/0.1323, allocations: 24 kB / 487.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007641/0.1331, allocations: 471.3 kB / 487.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1331, allocations: 0 / 487.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.962e-05/0.1332, allocations: 11.98 kB / 487.8 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-05/0.1333, allocations: 52.95 kB / 487.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008653/0.1341, allocations: 0.5426 MB / 488.4 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001882/0.136, allocations: 1.323 MB / 489.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005447/0.1366, allocations: 270.5 kB / 490 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002041/0.1368, allocations: 96.78 kB / 490.1 MB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.128e-05/0.1368, allocations: 15.88 kB / 490.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.1369, allocations: 34.56 kB / 490.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.403e-06/0.1369, allocations: 4 kB / 490.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007799/0.1377, allocations: 337.2 kB / 490.5 MB, free: 10.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.1377, allocations: 51.41 kB / 490.5 MB, free: 10.53 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.1379, allocations: 138 kB / 490.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.1379, allocations: 29.7 kB / 490.7 MB, free: 10.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.138, allocations: 196.1 kB / 490.9 MB, free: 10.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.22e-05/0.1381, allocations: 90.73 kB / 491 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.722e-05/0.1382, allocations: 73.69 kB / 491 MB, free: 9.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1384, allocations: 322.8 kB / 491.3 MB, free: 9.656 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.1386, allocations: 91.78 kB / 491.4 MB, free: 9.566 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002738/0.1388, allocations: 174.1 kB / 491.6 MB, free: 9.359 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000509/0.1394, allocations: 286 kB / 491.9 MB, free: 9.043 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.1394, allocations: 4 kB / 491.9 MB, free: 9.039 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006071/0.14, allocations: 325.8 kB / 492.2 MB, free: 8.715 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.14, allocations: 8 kB / 492.2 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.14, allocations: 0 / 492.2 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.1401, allocations: 8.344 kB / 492.2 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004785/0.1405, allocations: 123.8 kB / 492.3 MB, free: 8.578 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001412/0.142, allocations: 2.368 MB / 494.7 MB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.1422, allocations: 39.61 kB / 494.7 MB, free: 6.078 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.665e-05/0.1422, allocations: 16 kB / 494.8 MB, free: 6.062 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.000186/0.1424, allocations: 173.9 kB / 494.9 MB, free: 5.883 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/0.1424, allocations: 12.09 kB / 494.9 MB, free: 5.871 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008089/0.1432, allocations: 371.5 kB / 495.3 MB, free: 5.504 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.1433, allocations: 7.984 kB / 495.3 MB, free: 5.496 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1433, allocations: 0 / 495.3 MB, free: 5.496 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.1433, allocations: 3.938 kB / 495.3 MB, free: 5.492 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004146/0.1437, allocations: 345.3 kB / 495.7 MB, free: 5.105 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1437, allocations: 4 kB / 495.7 MB, free: 5.102 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004256/0.1441, allocations: 103.9 kB / 495.8 MB, free: 5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.1442, allocations: 7.984 kB / 495.8 MB, free: 4.992 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.1442, allocations: 8 kB / 495.8 MB, free: 4.984 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001403/0.1456, allocations: 2.36 MB / 498.1 MB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1456, allocations: 0 / 498.1 MB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005798/0.1462, allocations: 379.3 kB / 498.5 MB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.519e-05/0.1463, allocations: 92.95 kB / 498.6 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.1463, allocations: 0 / 498.6 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.1465, allocations: 11.98 kB / 498.6 MB, free: 2.023 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.051e-05/0.1465, allocations: 19.98 kB / 498.6 MB, free: 2.004 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.1466, allocations: 15.98 kB / 498.6 MB, free: 1.988 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.462e-05/0.1466, allocations: 98.22 kB / 498.7 MB, free: 1.895 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1466, allocations: 0 / 498.7 MB, free: 1.895 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005407/0.1472, allocations: 175.5 kB / 498.9 MB, free: 1.723 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.001224/0.1484, allocations: 1.029 MB / 499.9 MB, free: 0.668 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008761/0.1493, allocations: 356.5 kB / 0.4886 GB, free: 328 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1493, allocations: 0 / 0.4886 GB, free: 328 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004425/0.1498, allocations: 195.7 kB / 0.4888 GB, free: 132 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.1501, allocations: 12 kB / 0.4888 GB, free: 120 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003264/0.1534, allocations: 2.522 MB / 0.4912 GB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004644/0.1538, allocations: 0.8103 MB / 0.492 GB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000309/0.1542, allocations: 93.73 kB / 0.4921 GB, free: 12.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.1543, allocations: 95.33 kB / 0.4922 GB, free: 12.43 MB / 382.1 MB Notification: Performance of SimCode: time 8.21e-07/0.1543, allocations: 4 kB / 0.4922 GB, free: 12.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03311/0.1874, allocations: 6.963 MB / 0.499 GB, free: 5.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/11.92, allocations: 24.84 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 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)