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_laminar_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00163/0.00163, allocations: 118.9 kB / 18.45 MB, free: 4.594 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002022/0.002022, allocations: 214.5 kB / 21.41 MB, free: 1.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.4 MB / 251.7 MB, free: 256 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2239/0.2239, allocations: 46.15 MB / 351.1 MB, free: 14.33 MB / 286.1 MB " [Timeout remaining time 180] 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_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002249/0.002249, allocations: 85.75 kB / 489.7 MB, free: 28.38 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1264, allocations: 62.45 MB / 0.5392 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003521/0.13, allocations: 1.799 MB / 0.541 GB, free: 2.965 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.1315, allocations: 0.8295 MB / 0.5418 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.499e-05/0.1316, allocations: 4 kB / 0.5418 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002506/0.1318, allocations: 47.75 kB / 0.5418 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002791/0.1322, allocations: 71.64 kB / 0.5419 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001987/0.1324, allocations: 67.67 kB / 0.5419 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.1326, allocations: 131.5 kB / 0.5421 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.554e-05/0.1326, allocations: 12.28 kB / 0.5421 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002075/0.1328, allocations: 75.67 kB / 0.5422 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.133, allocations: 79.73 kB / 0.5422 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.133, allocations: 4 kB / 0.5422 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.1332, allocations: 71.89 kB / 0.5423 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.775e-05/0.1333, allocations: 35.88 kB / 0.5423 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.16e-05/0.1333, allocations: 43.73 kB / 0.5424 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002677/0.1336, allocations: 135.5 kB / 0.5425 GB, free: 1.367 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.1336, allocations: 0 / 0.5425 GB, free: 1.367 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.288e-06/0.1336, allocations: 3.938 kB / 0.5425 GB, free: 1.363 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1336, allocations: 7.938 kB / 0.5425 GB, free: 1.355 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006052/0.1343, allocations: 414.9 kB / 0.5429 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.1343, allocations: 11.97 kB / 0.5429 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.983e-05/0.1344, allocations: 38.75 kB / 0.543 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003566/0.1347, allocations: 40.81 kB / 0.543 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.1349, allocations: 180.3 kB / 0.5432 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.135, allocations: 12.36 kB / 0.5432 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.135, allocations: 15.88 kB / 0.5432 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003756/0.1354, allocations: 178.5 kB / 0.5434 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1354, allocations: 0 / 0.5434 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.1354, allocations: 3.984 kB / 0.5434 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.113e-05/0.1354, allocations: 15.98 kB / 0.5434 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003226/0.1358, allocations: 131.8 kB / 0.5435 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009054/0.1367, allocations: 0.6445 MB / 0.5441 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003631/0.1371, allocations: 114.6 kB / 0.5443 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.1372, allocations: 36.83 kB / 0.5443 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.1372, allocations: 0 / 0.5443 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.1373, allocations: 34.56 kB / 0.5443 GB, free: 15.31 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.1373, allocations: 0 / 0.5443 GB, free: 15.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004533/0.1377, allocations: 141.7 kB / 0.5445 GB, free: 15.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.1378, allocations: 51.41 kB / 0.5445 GB, free: 15.1 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.1379, allocations: 122.1 kB / 0.5446 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.1379, allocations: 29.7 kB / 0.5447 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.567e-05/0.138, allocations: 128 kB / 0.5448 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.138, allocations: 27.78 kB / 0.5448 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.527e-05/0.1381, allocations: 33.64 kB / 0.5448 GB, free: 14.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1382, allocations: 326.7 kB / 0.5451 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.1384, allocations: 39.95 kB / 0.5452 GB, free: 14.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.1385, allocations: 89.53 kB / 0.5453 GB, free: 14.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/0.1388, allocations: 147.5 kB / 0.5454 GB, free: 14.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1388, allocations: 0 / 0.5454 GB, free: 14.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003403/0.1392, allocations: 161.4 kB / 0.5456 GB, free: 13.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.1392, allocations: 4 kB / 0.5456 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1392, allocations: 4.25 kB / 0.5456 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.1392, allocations: 8 kB / 0.5456 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.1394, allocations: 39.91 kB / 0.5456 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.1394, allocations: 4.391 kB / 0.5456 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.1395, allocations: 23.88 kB / 0.5456 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.1396, allocations: 4 kB / 0.5456 GB, free: 13.83 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.1397, allocations: 129.7 kB / 0.5458 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.1397, allocations: 7.953 kB / 0.5458 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000339/0.1401, allocations: 126 kB / 0.5459 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1401, allocations: 0 / 0.5459 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1401, allocations: 3.938 kB / 0.5459 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1401, allocations: 3.984 kB / 0.5459 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.1403, allocations: 205.6 kB / 0.5461 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1403, allocations: 0 / 0.5461 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.1405, allocations: 31.97 kB / 0.5461 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.1405, allocations: 4 kB / 0.5461 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.1405, allocations: 0 / 0.5461 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1405, allocations: 0 / 0.5461 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1405, allocations: 3.938 kB / 0.5461 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000343/0.1409, allocations: 203.4 kB / 0.5463 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.829e-05/0.1409, allocations: 92.98 kB / 0.5464 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.141, allocations: 8 kB / 0.5464 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.526e-05/0.1411, allocations: 4 kB / 0.5464 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.1411, allocations: 7.984 kB / 0.5464 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.1411, allocations: 0 / 0.5464 GB, free: 12.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.14e-05/0.1412, allocations: 98.64 kB / 0.5465 GB, free: 12.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1412, allocations: 0 / 0.5465 GB, free: 12.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.1415, allocations: 27.95 kB / 0.5466 GB, free: 12.79 MB / 414.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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007095/0.1422, allocations: 0.7513 MB / 0.5473 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000316/0.1425, allocations: 99.98 kB / 0.5474 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1425, allocations: 3.938 kB / 0.5474 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.1427, allocations: 43.97 kB / 0.5474 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.1429, allocations: 8 kB / 0.5474 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/0.145, allocations: 1.672 MB / 0.5491 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.1453, allocations: 0.7158 MB / 0.5498 GB, free: 9.316 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.899e-05/0.1454, allocations: 28.52 kB / 0.5498 GB, free: 9.289 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.139e-05/0.1455, allocations: 27.42 kB / 0.5498 GB, free: 9.266 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1455, allocations: 4 kB / 0.5498 GB, free: 9.262 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/0.1695, allocations: 2.315 MB / 0.5521 GB, free: 7.117 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.595/7.764, allocations: 8.297 kB / 0.5521 GB, free: 7.113 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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_laminar_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.887023657909594] Failed to read output from testmodel.py, exit status != 0: ['time', 'MIN', 'A_cross', 'roughness', 'd_hyd', 'K[1]', 'L', 'eta', 'rho', 'input_mdot[1]', 'input_dp[1]', 'M_FLOW[1]', 'DP[1]', 'velocity[1]', 'Re[1]', 'DP_plot[1]', 'zeta_TOT[1]', 'lambda_FRI[1]', 'input_DP.y'] 7.829166286974214 7.843885568 7.707569069 Calling exit ...