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_volumeFlowRate_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.00132/0.00132, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001314/0.001314, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.444/1.444, allocations: 230.2 MB / 254.5 MB, free: 15.4 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.2317/0.2317, allocations: 46.89 MB / 357.4 MB, free: 10.52 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_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_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.002238/0.002238, allocations: 85.89 kB / 0.4912 GB, free: 26.89 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1313, allocations: 65.98 MB / 0.5557 GB, free: 9.125 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003007/0.1343, allocations: 1.669 MB / 0.5573 GB, free: 7.441 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.1358, allocations: 0.9116 MB / 0.5582 GB, free: 6.523 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.21e-05/0.1359, allocations: 7.938 kB / 0.5582 GB, free: 6.516 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001843/0.1361, allocations: 31.83 kB / 0.5582 GB, free: 6.484 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.1362, allocations: 51.73 kB / 0.5583 GB, free: 6.434 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004229/0.1367, allocations: 139.2 kB / 0.5584 GB, free: 6.301 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.1368, allocations: 135.3 kB / 0.5585 GB, free: 6.168 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.347e-05/0.1369, allocations: 21.38 kB / 0.5586 GB, free: 6.145 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.033e-05/0.137, allocations: 59.72 kB / 0.5586 GB, free: 6.086 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.1371, allocations: 71.67 kB / 0.5587 GB, free: 6.016 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.1371, allocations: 4 kB / 0.5587 GB, free: 6.012 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003619/0.1375, allocations: 211.6 kB / 0.5589 GB, free: 5.805 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.718e-05/0.1375, allocations: 43.78 kB / 0.5589 GB, free: 5.762 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.841e-05/0.1376, allocations: 59.61 kB / 0.559 GB, free: 5.703 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00036/0.138, allocations: 239 kB / 0.5592 GB, free: 5.469 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.138, allocations: 7.984 kB / 0.5592 GB, free: 5.461 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.138, allocations: 0 / 0.5592 GB, free: 5.461 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.138, allocations: 0 / 0.5592 GB, free: 5.461 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006085/0.1386, allocations: 482.4 kB / 0.5597 GB, free: 4.941 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.1386, allocations: 12.03 kB / 0.5597 GB, free: 4.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.946e-05/0.1387, allocations: 50.72 kB / 0.5598 GB, free: 4.871 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/0.1398, allocations: 112.7 kB / 0.5599 GB, free: 4.762 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.14, allocations: 228.1 kB / 0.5601 GB, free: 4.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.1401, allocations: 16.31 kB / 0.5601 GB, free: 4.484 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.659e-05/0.1401, allocations: 12.38 kB / 0.5601 GB, free: 4.473 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006438/0.1407, allocations: 318.5 kB / 0.5604 GB, free: 4.156 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1408, allocations: 0 / 0.5604 GB, free: 4.156 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/0.1408, allocations: 8 kB / 0.5604 GB, free: 4.148 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.945e-05/0.1408, allocations: 19.98 kB / 0.5604 GB, free: 4.129 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008057/0.1416, allocations: 323.6 kB / 0.5607 GB, free: 3.812 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001515/0.1431, allocations: 0.8375 MB / 0.5616 GB, free: 2.883 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006968/0.1438, allocations: 214.3 kB / 0.5618 GB, free: 2.664 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002702/0.1441, allocations: 80.81 kB / 0.5618 GB, free: 2.582 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.1441, allocations: 11.97 kB / 0.5619 GB, free: 2.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.1442, allocations: 38.56 kB / 0.5619 GB, free: 2.523 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.1442, allocations: 0 / 0.5619 GB, free: 2.523 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.001009/0.1452, allocations: 293.2 kB / 0.5622 GB, free: 2.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.1452, allocations: 59.39 kB / 0.5622 GB, free: 2.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.1454, allocations: 181.5 kB / 0.5624 GB, free: 1.969 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.1454, allocations: 33.7 kB / 0.5624 GB, free: 1.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.113e-05/0.1455, allocations: 143.7 kB / 0.5626 GB, free: 1.785 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.1456, allocations: 31.73 kB / 0.5626 GB, free: 1.754 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.182e-05/0.1457, allocations: 53.62 kB / 0.5627 GB, free: 1.695 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1458, allocations: 326.8 kB / 0.563 GB, free: 1.367 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002825/0.1461, allocations: 83.91 kB / 0.563 GB, free: 1.285 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003289/0.1464, allocations: 142.8 kB / 0.5632 GB, free: 1.121 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006062/0.147, allocations: 218.6 kB / 0.5634 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.147, allocations: 4 kB / 0.5634 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007372/0.1477, allocations: 269.3 kB / 0.5636 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.1478, allocations: 4 kB / 0.5637 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.1478, allocations: 7.938 kB / 0.5637 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.1478, allocations: 3.984 kB / 0.5637 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004308/0.1482, allocations: 87.86 kB / 0.5637 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/0.1494, allocations: 1.786 MB / 0.5655 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/0.1496, allocations: 23.83 kB / 0.5655 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/0.1497, allocations: 16.45 kB / 0.5655 GB, free: 14.61 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 14 * 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.0001543/0.1498, allocations: 149.9 kB / 0.5657 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.065e-05/0.1499, allocations: 11.89 kB / 0.5657 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008016/0.1507, allocations: 266.6 kB / 0.5659 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.1507, allocations: 3.984 kB / 0.5659 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.1507, allocations: 4 kB / 0.5659 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.1507, allocations: 7.938 kB / 0.566 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003328/0.151, allocations: 249.5 kB / 0.5662 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.151, allocations: 4 kB / 0.5662 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003495/0.1514, allocations: 67.86 kB / 0.5663 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1514, allocations: 4 kB / 0.5663 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.1514, allocations: 7.984 kB / 0.5663 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001051/0.1524, allocations: 1.785 MB / 0.568 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1524, allocations: 0 / 0.568 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007716/0.1532, allocations: 323.4 kB / 0.5683 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.517e-05/0.1533, allocations: 85.06 kB / 0.5684 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.585e-05/0.1533, allocations: 3.984 kB / 0.5684 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.1535, allocations: 4 kB / 0.5684 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.834e-05/0.1536, allocations: 15.97 kB / 0.5684 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/0.1536, allocations: 11.97 kB / 0.5684 GB, free: 11.46 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001312/0.1537, allocations: 140.9 kB / 0.5686 GB, free: 11.32 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1537, allocations: 4 kB / 0.5686 GB, free: 11.32 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003698/0.1541, allocations: 63.77 kB / 0.5686 GB, free: 11.25 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 (10): * Single equations (assignments): 7 * 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.001141/0.1553, allocations: 0.8801 MB / 0.5695 GB, free: 10.35 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000815/0.1561, allocations: 227.6 kB / 0.5697 GB, free: 10.12 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1561, allocations: 448 / 0.5697 GB, free: 10.12 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004393/0.1565, allocations: 127.9 kB / 0.5698 GB, free: 10 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.1568, allocations: 17.95 kB / 0.5699 GB, free: 9.984 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003894/0.1607, allocations: 2.336 MB / 0.5721 GB, free: 7.527 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.1611, allocations: 0.7358 MB / 0.5729 GB, free: 6.766 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002099/0.1613, allocations: 69.44 kB / 0.5729 GB, free: 6.699 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.1615, allocations: 67.31 kB / 0.573 GB, free: 6.633 MB / 430.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1615, allocations: 0 / 0.573 GB, free: 6.633 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.1893, allocations: 4.901 MB / 0.5778 GB, free: 1.934 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.74, allocations: 15.77 kB / 0.5778 GB, free: 1.918 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.705797288101166] Failed to read output from testmodel.py, exit status != 0: ['time', 'V_flow[1]', 'V_flow[2]', 'V_flow[3]', 'a[1]', 'a[2]', 'a[3]', 'rho', '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'] 11.835040873847902 11.85760463 11.715430178 Calling exit ...