Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001612/0.001612, allocations: 117 kB / 18.49 MB, free: 4.566 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.001319/0.001319, allocations: 216.7 kB / 21.46 MB, free: 1.613 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.427/1.427, allocations: 230.4 MB / 254.7 MB, free: 15.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2264/0.2264, allocations: 46.93 MB / 357.7 MB, free: 10.2 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002215/0.002215, allocations: 79.88 kB / 0.4917 GB, free: 7.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1238, allocations: 66.05 MB / 0.5562 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003268/0.1271, allocations: 1.673 MB / 0.5578 GB, free: 3.848 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.1289, allocations: 0.9074 MB / 0.5587 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.753e-05/0.1289, allocations: 4 kB / 0.5587 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002705/0.1292, allocations: 39.81 kB / 0.5587 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000219/0.1294, allocations: 47.75 kB / 0.5588 GB, free: 2.844 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005332/0.13, allocations: 139.5 kB / 0.5589 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002274/0.1302, allocations: 151.2 kB / 0.5591 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.334e-05/0.1302, allocations: 5.453 kB / 0.5591 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.089e-05/0.1303, allocations: 51.78 kB / 0.5591 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.1305, allocations: 75.67 kB / 0.5592 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.1305, allocations: 4 kB / 0.5592 GB, free: 2.422 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003863/0.1309, allocations: 219.6 kB / 0.5594 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.252e-05/0.131, allocations: 39.84 kB / 0.5594 GB, free: 2.168 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.213e-05/0.131, allocations: 55.61 kB / 0.5595 GB, free: 2.113 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004125/0.1314, allocations: 247 kB / 0.5597 GB, free: 1.871 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1314, allocations: 4 kB / 0.5597 GB, free: 1.867 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1314, allocations: 0 / 0.5597 GB, free: 1.867 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1315, allocations: 0 / 0.5597 GB, free: 1.867 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.0007065/0.1322, allocations: 478.5 kB / 0.5602 GB, free: 1.352 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1322, allocations: 12.03 kB / 0.5602 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.957e-05/0.1322, allocations: 4.188 kB / 0.5602 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.119e-05/0.1323, allocations: 54.73 kB / 0.5603 GB, free: 1.273 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/0.1334, allocations: 108.7 kB / 0.5604 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.1337, allocations: 232 kB / 0.5606 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.1337, allocations: 12.38 kB / 0.5606 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.759e-05/0.1338, allocations: 12.38 kB / 0.5606 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006952/0.1345, allocations: 321.3 kB / 0.5609 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.1345, allocations: 0 / 0.5609 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.635e-05/0.1345, allocations: 4 kB / 0.5609 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-05/0.1345, allocations: 23.97 kB / 0.5609 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008216/0.1354, allocations: 315.7 kB / 0.5612 GB, free: 228 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/0.1369, allocations: 0.8453 MB / 0.5621 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007572/0.1377, allocations: 206.3 kB / 0.5623 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003048/0.138, allocations: 84.8 kB / 0.5623 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.09e-05/0.138, allocations: 7.984 kB / 0.5624 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.138, allocations: 34.5 kB / 0.5624 GB, free: 14.94 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 3.857e-06/0.138, allocations: 4.094 kB / 0.5624 GB, free: 14.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.001071/0.1391, allocations: 301.2 kB / 0.5627 GB, free: 14.63 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.1392, allocations: 55.34 kB / 0.5627 GB, free: 14.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.1394, allocations: 179.3 kB / 0.5629 GB, free: 14.38 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.1394, allocations: 29.7 kB / 0.5629 GB, free: 14.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.1395, allocations: 139.7 kB / 0.5631 GB, free: 14.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.604e-05/0.1395, allocations: 39.73 kB / 0.5631 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.835e-05/0.1396, allocations: 57.62 kB / 0.5632 GB, free: 14.1 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1398, allocations: 322.8 kB / 0.5635 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003062/0.1401, allocations: 83.91 kB / 0.5635 GB, free: 13.69 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003537/0.1404, allocations: 134.8 kB / 0.5637 GB, free: 13.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006611/0.1411, allocations: 226.6 kB / 0.5639 GB, free: 13.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1411, allocations: 0 / 0.5639 GB, free: 13.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007963/0.1419, allocations: 261.2 kB / 0.5641 GB, free: 13.03 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.1419, allocations: 11.94 kB / 0.5641 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.1419, allocations: 4.219 kB / 0.5642 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.1419, allocations: 8.469 kB / 0.5642 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004625/0.1424, allocations: 79.86 kB / 0.5642 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/0.1436, allocations: 1.789 MB / 0.566 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002299/0.1438, allocations: 27.8 kB / 0.566 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.1438, allocations: 19.92 kB / 0.566 GB, free: 11.02 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.0001681/0.144, allocations: 145.7 kB / 0.5662 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.675e-05/0.144, allocations: 15.89 kB / 0.5662 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008445/0.1449, allocations: 270.7 kB / 0.5664 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1449, allocations: 0 / 0.5664 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1449, allocations: 0 / 0.5664 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1449, allocations: 0 / 0.5664 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003591/0.1453, allocations: 253.5 kB / 0.5667 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1453, allocations: 3.938 kB / 0.5667 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003711/0.1456, allocations: 71.92 kB / 0.5668 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1456, allocations: 0 / 0.5668 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/0.1457, allocations: 7.984 kB / 0.5668 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/0.1468, allocations: 1.785 MB / 0.5685 GB, free: 8.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1468, allocations: 0 / 0.5685 GB, free: 8.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007558/0.1475, allocations: 319.2 kB / 0.5688 GB, free: 8.012 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.739e-05/0.1476, allocations: 92.98 kB / 0.5689 GB, free: 7.902 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.759e-05/0.1476, allocations: 16.09 kB / 0.5689 GB, free: 7.887 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.1478, allocations: 7.984 kB / 0.5689 GB, free: 7.879 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.226e-05/0.1479, allocations: 7.984 kB / 0.5689 GB, free: 7.871 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.777e-05/0.1479, allocations: 15.97 kB / 0.5689 GB, free: 7.855 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.1481, allocations: 136.9 kB / 0.5691 GB, free: 7.723 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1481, allocations: 0 / 0.5691 GB, free: 7.723 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003821/0.1484, allocations: 63.83 kB / 0.5691 GB, free: 7.66 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.001258/0.1497, allocations: 0.8723 MB / 0.57 GB, free: 6.762 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009003/0.1506, allocations: 239.6 kB / 0.5702 GB, free: 6.527 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1506, allocations: 0 / 0.5702 GB, free: 6.527 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004841/0.1511, allocations: 135.7 kB / 0.5703 GB, free: 6.395 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.1514, allocations: 8.438 kB / 0.5704 GB, free: 6.387 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003706/0.1551, allocations: 2.338 MB / 0.5726 GB, free: 3.934 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.1555, allocations: 0.7358 MB / 0.5734 GB, free: 3.172 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002086/0.1557, allocations: 69.44 kB / 0.5734 GB, free: 3.105 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.1558, allocations: 55.39 kB / 0.5735 GB, free: 3.051 MB / 430.1 MB Notification: Performance of SimCode: time 1.022e-06/0.1558, allocations: 4 kB / 0.5735 GB, free: 3.047 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0238/0.1796, allocations: 4.94 MB / 0.5783 GB, free: 14.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/11.86, allocations: 12 kB / 0.5783 GB, free: 14.32 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.938248659018427] 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'] 12.001497384044342 12.016272418 11.881987499 Calling exit ...