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.General.dp_idealGas_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.001619/0.001619, allocations: 117.9 kB / 18.5 MB, free: 4.52 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.001968/0.001968, allocations: 214.5 kB / 21.46 MB, free: 1.566 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.439/1.439, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.2231/0.2231, 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.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_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.002285/0.002285, allocations: 83.86 kB / 0.4917 GB, free: 7.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1269, allocations: 66.04 MB / 0.5562 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.003255/0.1301, allocations: 1.801 MB / 0.5579 GB, free: 3.727 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.1317, allocations: 1.013 MB / 0.5589 GB, free: 2.711 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.574e-05/0.1318, allocations: 0 / 0.5589 GB, free: 2.711 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002481/0.132, allocations: 51.75 kB / 0.559 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.1323, allocations: 79.5 kB / 0.5591 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003488/0.1326, allocations: 127.4 kB / 0.5592 GB, free: 2.457 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002793/0.1329, allocations: 210.9 kB / 0.5594 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.374e-05/0.1329, allocations: 13.69 kB / 0.5594 GB, free: 2.234 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.1331, allocations: 91.56 kB / 0.5595 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.1332, allocations: 107.5 kB / 0.5596 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.1332, allocations: 8 kB / 0.5596 GB, free: 2.031 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003535/0.1336, allocations: 207.7 kB / 0.5598 GB, free: 1.828 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.533e-05/0.1337, allocations: 59.67 kB / 0.5598 GB, free: 1.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.1338, allocations: 91.36 kB / 0.5599 GB, free: 1.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004385/0.1342, allocations: 310.6 kB / 0.5602 GB, free: 1.375 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.1342, allocations: 0 / 0.5602 GB, free: 1.375 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.1342, allocations: 4 kB / 0.5602 GB, free: 1.371 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.699e-06/0.1343, allocations: 4 kB / 0.5602 GB, free: 1.367 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008424/0.1351, allocations: 0.5375 MB / 0.5608 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.1351, allocations: 12.03 kB / 0.5608 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.78e-05/0.1352, allocations: 54.73 kB / 0.5608 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000826/0.136, allocations: 132.6 kB / 0.561 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.1364, allocations: 262.2 kB / 0.5612 GB, free: 288 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.1364, allocations: 20.75 kB / 0.5612 GB, free: 268 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.532e-05/0.1364, allocations: 20.12 kB / 0.5612 GB, free: 248 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000713/0.1371, allocations: 429.9 kB / 0.5616 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1371, allocations: 3.938 kB / 0.5617 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.826e-05/0.1372, allocations: 8 kB / 0.5617 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-05/0.1372, allocations: 28.55 kB / 0.5617 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007125/0.1379, allocations: 389.9 kB / 0.5621 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002045/0.14, allocations: 1.485 MB / 0.5635 GB, free: 13.78 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002669/0.1403, allocations: 90.52 kB / 0.5636 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.1404, allocations: 56.75 kB / 0.5637 GB, free: 13.62 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.1404, allocations: 8.078 kB / 0.5637 GB, free: 13.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.1405, allocations: 30.56 kB / 0.5637 GB, free: 13.58 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 3.617e-06/0.1405, allocations: 3.984 kB / 0.5637 GB, free: 13.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005971/0.1411, allocations: 185.4 kB / 0.5639 GB, free: 13.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.1411, allocations: 55.41 kB / 0.5639 GB, free: 13.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003848/0.1415, allocations: 334.6 kB / 0.5642 GB, free: 12.99 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.1415, allocations: 25.7 kB / 0.5643 GB, free: 12.96 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.1416, allocations: 183.6 kB / 0.5644 GB, free: 12.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.237e-05/0.1417, allocations: 27.78 kB / 0.5645 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.961e-05/0.1418, allocations: 45.66 kB / 0.5645 GB, free: 12.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.1419, allocations: 330.8 kB / 0.5648 GB, free: 12.36 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.1421, allocations: 79.88 kB / 0.5649 GB, free: 12.29 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/0.1424, allocations: 109.9 kB / 0.565 GB, free: 12.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003947/0.1428, allocations: 189.5 kB / 0.5652 GB, free: 11.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1428, allocations: 3.938 kB / 0.5652 GB, free: 11.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005294/0.1433, allocations: 245.3 kB / 0.5654 GB, free: 11.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.1433, allocations: 4 kB / 0.5654 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.1433, allocations: 4 kB / 0.5654 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1433, allocations: 0 / 0.5654 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.1448, allocations: 111.9 kB / 0.5655 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002018/0.1468, allocations: 1.848 MB / 0.5673 GB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002744/0.1471, allocations: 36.05 kB / 0.5674 GB, free: 9.633 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.1471, allocations: 8 kB / 0.5674 GB, free: 9.625 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000163/0.1473, allocations: 153.7 kB / 0.5675 GB, free: 9.465 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.063e-05/0.1473, allocations: 23.86 kB / 0.5676 GB, free: 9.441 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005325/0.1479, allocations: 199.1 kB / 0.5677 GB, free: 9.238 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1479, allocations: 4 kB / 0.5677 GB, free: 9.234 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1479, allocations: 0 / 0.5677 GB, free: 9.234 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1479, allocations: 3.984 kB / 0.5678 GB, free: 9.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003543/0.1482, allocations: 281.4 kB / 0.568 GB, free: 8.906 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1482, allocations: 0 / 0.568 GB, free: 8.906 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/0.1494, allocations: 103.9 kB / 0.5681 GB, free: 8.805 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.1494, allocations: 4 kB / 0.5681 GB, free: 8.801 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.1494, allocations: 0 / 0.5681 GB, free: 8.801 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001386/0.1508, allocations: 1.797 MB / 0.5699 GB, free: 6.934 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1508, allocations: 0 / 0.5699 GB, free: 6.934 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004567/0.1513, allocations: 267.2 kB / 0.5701 GB, free: 6.656 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.731e-05/0.1513, allocations: 96.95 kB / 0.5702 GB, free: 6.543 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/0.1514, allocations: 4 kB / 0.5702 GB, free: 6.539 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.1516, allocations: 4.094 kB / 0.5702 GB, free: 6.535 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/0.1516, allocations: 15.98 kB / 0.5702 GB, free: 6.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.1516, allocations: 0 / 0.5702 GB, free: 6.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002767/0.1519, allocations: 245.9 kB / 0.5705 GB, free: 6.277 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1519, allocations: 0 / 0.5705 GB, free: 6.277 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003433/0.1523, allocations: 67.89 kB / 0.5705 GB, free: 6.211 MB / 430.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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008717/0.1531, allocations: 0.8138 MB / 0.5713 GB, free: 5.371 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002227/0.1554, allocations: 255.6 kB / 0.5716 GB, free: 5.121 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1554, allocations: 0 / 0.5716 GB, free: 5.121 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000945/0.1563, allocations: 99.88 kB / 0.5717 GB, free: 5.023 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.1567, allocations: 37.25 kB / 0.5717 GB, free: 4.984 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003888/0.1606, allocations: 2.91 MB / 0.5746 GB, free: 1.949 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004276/0.161, allocations: 0.7791 MB / 0.5753 GB, free: 1.145 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001365/0.1611, allocations: 58.19 kB / 0.5754 GB, free: 1.09 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.1613, allocations: 71.41 kB / 0.5754 GB, free: 1.02 MB / 430.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1613, allocations: 0 / 0.5754 GB, free: 1.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03388/0.1951, allocations: 7.851 MB / 0.5831 GB, free: 9.402 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.07, allocations: 8.422 kB / 0.5831 GB, free: 9.395 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201879 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.367027336265892] Failed to read output from testmodel.py, exit status != 0: ['time', 'frac_KmToRs[1]', 'frac_KmToRs[2]', 'frac_KmToRs[3]', 'dp_nom[1]', 'dp_nom[2]', 'dp_nom[3]', 'p_2[1]', 'p_2[2]', 'p_2[3]', 'm_flow_nom[1]', 'm_flow_nom[2]', 'm_flow_nom[3]', 'Km[1]', 'Km[2]', 'Km[3]', 'input_mdot[1]', 'input_mdot[2]', 'input_mdot[3]', 'input_dp[1]', 'input_dp[2]', 'input_dp[3]', 'M_FLOW[1]', 'M_FLOW[2]', 'M_FLOW[3]', 'DP[1]', 'DP[2]', 'DP[3]', 'DP_plot[1]', 'DP_plot[2]', 'DP_plot[3]', 'input_DP.y'] 12.16322774020955 12.399652774 12.26204175 Calling exit ...