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_overall_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.001702/0.001702, allocations: 121.2 kB / 18.5 MB, free: 4.578 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.002365/0.002365, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.54/1.54, allocations: 230.4 MB / 254.7 MB, free: 15.04 MB / 206.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.2302/0.2302, allocations: 46.93 MB / 357.7 MB, free: 10.21 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_overall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_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.002253/0.002253, allocations: 79.86 kB / 0.4917 GB, free: 7.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.12, allocations: 66.04 MB / 0.5562 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003268/0.1233, allocations: 1.841 MB / 0.558 GB, free: 3.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004293/0.1276, allocations: 2.967 MB / 0.5609 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.99e-05/0.1277, allocations: 4 kB / 0.5609 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002391/0.1279, allocations: 47.73 kB / 0.5609 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002798/0.1282, allocations: 79.58 kB / 0.561 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001572/0.1298, allocations: 0.7465 MB / 0.5617 GB, free: 15.83 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002975/0.1301, allocations: 242.7 kB / 0.562 GB, free: 15.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.495e-05/0.1301, allocations: 20.41 kB / 0.562 GB, free: 15.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002035/0.1303, allocations: 103.5 kB / 0.5621 GB, free: 15.47 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.1305, allocations: 131.4 kB / 0.5622 GB, free: 15.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.1305, allocations: 8 kB / 0.5622 GB, free: 15.33 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00177/0.1323, allocations: 1.228 MB / 0.5634 GB, free: 14.1 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.526e-05/0.1324, allocations: 79.61 kB / 0.5635 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.1325, allocations: 111.2 kB / 0.5636 GB, free: 13.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.1338, allocations: 0.9382 MB / 0.5645 GB, free: 12.97 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.1338, allocations: 0 / 0.5645 GB, free: 12.97 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1338, allocations: 0 / 0.5645 GB, free: 12.97 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.1338, allocations: 3.938 kB / 0.5645 GB, free: 12.97 MB / 430.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.001039/0.1348, allocations: 0.6887 MB / 0.5652 GB, free: 12.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.1349, allocations: 12.03 kB / 0.5652 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.927e-05/0.135, allocations: 70.7 kB / 0.5653 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.02e-05/0.135, allocations: 32.69 kB / 0.5653 GB, free: 12.11 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.1353, allocations: 239.2 kB / 0.5655 GB, free: 11.83 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.1353, allocations: 24.55 kB / 0.5656 GB, free: 11.81 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.359e-05/0.1354, allocations: 24 kB / 0.5656 GB, free: 11.79 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007349/0.1361, allocations: 471.2 kB / 0.566 GB, free: 11.33 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.1361, allocations: 0 / 0.566 GB, free: 11.33 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.901e-05/0.1361, allocations: 15.98 kB / 0.566 GB, free: 11.31 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-05/0.1362, allocations: 44.97 kB / 0.5661 GB, free: 11.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008696/0.1371, allocations: 0.5465 MB / 0.5666 GB, free: 10.72 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001874/0.1389, allocations: 1.312 MB / 0.5679 GB, free: 9.281 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005398/0.1395, allocations: 260.9 kB / 0.5681 GB, free: 9.02 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.1397, allocations: 92.8 kB / 0.5682 GB, free: 8.926 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.837e-05/0.1397, allocations: 7.938 kB / 0.5682 GB, free: 8.918 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.1398, allocations: 42.48 kB / 0.5683 GB, free: 8.867 MB / 430.1 MB Notification: Performance of pre-optimization done (n=25): time 1.372e-06/0.1398, allocations: 0 / 0.5683 GB, free: 8.867 MB / 430.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007793/0.1405, allocations: 325.9 kB / 0.5686 GB, free: 8.543 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.1406, allocations: 59.41 kB / 0.5687 GB, free: 8.473 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.1407, allocations: 143.5 kB / 0.5688 GB, free: 8.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.1408, allocations: 29.7 kB / 0.5688 GB, free: 8.285 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.1409, allocations: 200.1 kB / 0.569 GB, free: 8.086 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.833e-05/0.141, allocations: 95.59 kB / 0.5691 GB, free: 7.992 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.1411, allocations: 65.7 kB / 0.5692 GB, free: 7.922 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.1412, allocations: 326.8 kB / 0.5695 GB, free: 7.594 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.1414, allocations: 87.92 kB / 0.5696 GB, free: 7.508 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002854/0.1417, allocations: 182 kB / 0.5697 GB, free: 7.293 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005159/0.1422, allocations: 290.2 kB / 0.57 GB, free: 6.973 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.1422, allocations: 0 / 0.57 GB, free: 6.973 MB / 430.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006587/0.1429, allocations: 333.2 kB / 0.5703 GB, free: 6.641 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.1429, allocations: 4 kB / 0.5703 GB, free: 6.637 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1429, allocations: 4 kB / 0.5703 GB, free: 6.633 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.1429, allocations: 4 kB / 0.5703 GB, free: 6.629 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005161/0.1434, allocations: 119.9 kB / 0.5704 GB, free: 6.512 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/0.1448, allocations: 2.36 MB / 0.5728 GB, free: 4.059 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.145, allocations: 44.05 kB / 0.5728 GB, free: 4.016 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/0.1451, allocations: 16 kB / 0.5728 GB, free: 4 MB / 430.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.0001923/0.1453, allocations: 169.7 kB / 0.573 GB, free: 3.824 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/0.1453, allocations: 19.89 kB / 0.573 GB, free: 3.805 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007955/0.1461, allocations: 374.1 kB / 0.5733 GB, free: 3.434 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.1461, allocations: 4 kB / 0.5734 GB, free: 3.43 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1461, allocations: 4 kB / 0.5734 GB, free: 3.426 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.1461, allocations: 7.922 kB / 0.5734 GB, free: 3.418 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004366/0.1466, allocations: 345.3 kB / 0.5737 GB, free: 3.031 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.1466, allocations: 0 / 0.5737 GB, free: 3.031 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004293/0.147, allocations: 111.9 kB / 0.5738 GB, free: 2.922 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.147, allocations: 0 / 0.5738 GB, free: 2.922 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.147, allocations: 8 kB / 0.5738 GB, free: 2.914 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001342/0.1484, allocations: 2.36 MB / 0.5761 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1484, allocations: 0 / 0.5761 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005866/0.1489, allocations: 371.6 kB / 0.5765 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.402e-05/0.149, allocations: 92.95 kB / 0.5766 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.997e-05/0.149, allocations: 11.94 kB / 0.5766 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.1492, allocations: 11.98 kB / 0.5766 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.877e-05/0.1493, allocations: 23.97 kB / 0.5766 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-05/0.1493, allocations: 12 kB / 0.5766 GB, free: 15.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.171e-05/0.1494, allocations: 104.9 kB / 0.5767 GB, free: 15.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1494, allocations: 0 / 0.5767 GB, free: 15.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000719/0.1501, allocations: 254.7 kB / 0.577 GB, free: 15.56 MB / 446.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.001474/0.1516, allocations: 1.157 MB / 0.5781 GB, free: 14.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007745/0.1523, allocations: 288.4 kB / 0.5784 GB, free: 14.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1523, allocations: 4 kB / 0.5784 GB, free: 14.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004576/0.1528, allocations: 167.8 kB / 0.5785 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.1531, allocations: 20.64 kB / 0.5785 GB, free: 13.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003381/0.1565, allocations: 2.583 MB / 0.5811 GB, free: 11.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/0.1569, allocations: 0.8063 MB / 0.5819 GB, free: 10.35 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002549/0.1572, allocations: 101.7 kB / 0.582 GB, free: 10.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.1573, allocations: 91.39 kB / 0.582 GB, free: 10.16 MB / 446.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1573, allocations: 0 / 0.582 GB, free: 10.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03478/0.1921, allocations: 8.957 MB / 0.5908 GB, free: 1.402 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.06, allocations: 8.047 kB / 0.5908 GB, free: 1.395 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_overall_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.537480283062905] Failed to read output from testmodel.py, exit status != 0: ['time', 'MIN', 'A_cross', 'roughness', 'd_hyd', 'K[1]', 'K[2]', 'K[3]', 'K[4]', 'L', 'eta', 'rho', 'input_mdot[1]', 'input_mdot[2]', 'input_mdot[3]', 'input_mdot[4]', 'input_dp[1]', 'input_dp[2]', 'input_dp[3]', 'input_dp[4]', 'M_FLOW[1]', 'M_FLOW[2]', 'M_FLOW[3]', 'M_FLOW[4]', 'DP[1]', 'DP[2]', 'DP[3]', 'DP[4]', 'velocity[1]', 'velocity[2]', 'velocity[3]', 'velocity[4]', 'Re[1]', 'Re[2]', 'Re[3]', 'Re[4]', 'DP_plot[1]', 'DP_plot[2]', 'DP_plot[3]', 'DP_plot[4]', 'zeta_TOT[1]', 'zeta_TOT[2]', 'zeta_TOT[3]', 'zeta_TOT[4]', 'lambda_FRI[1]', 'lambda_FRI[2]', 'lambda_FRI[3]', 'lambda_FRI[4]', 'input_DP.y'] 12.386839842889458 12.404406158 12.267341168 Calling exit ...