Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001321/0.001321, allocations: 120.1 kB / 18.5 MB, free: 4.535 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.001435/0.001435, allocations: 222.3 kB / 21.46 MB, free: 1.582 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.452/1.452, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.219/0.219, allocations: 46.91 MB / 357.7 MB, free: 10.18 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.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 79.88 kB / 0.4917 GB, free: 7.676 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1248, allocations: 66.04 MB / 0.5562 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.00335/0.1281, allocations: 1.844 MB / 0.558 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004449/0.1326, allocations: 2.963 MB / 0.5609 GB, free: 0.668 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.1327, allocations: 7.938 kB / 0.5609 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000248/0.133, allocations: 47.73 kB / 0.5609 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003311/0.1333, allocations: 87.58 kB / 0.561 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001886/0.1352, allocations: 0.7355 MB / 0.5617 GB, free: 15.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000372/0.1355, allocations: 234.8 kB / 0.562 GB, free: 15.56 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.316e-05/0.1356, allocations: 28.41 kB / 0.562 GB, free: 15.53 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002922/0.1359, allocations: 107.4 kB / 0.5621 GB, free: 15.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002063/0.1361, allocations: 123.4 kB / 0.5622 GB, free: 15.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.218e-05/0.1362, allocations: 12 kB / 0.5622 GB, free: 15.29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001953/0.1381, allocations: 1.228 MB / 0.5634 GB, free: 14.06 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.1382, allocations: 75.61 kB / 0.5635 GB, free: 13.99 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.1383, allocations: 115.2 kB / 0.5636 GB, free: 13.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00142/0.1398, allocations: 0.9343 MB / 0.5645 GB, free: 12.94 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1398, allocations: 0 / 0.5645 GB, free: 12.94 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1398, allocations: 0 / 0.5645 GB, free: 12.94 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.1398, allocations: 0 / 0.5645 GB, free: 12.94 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.001146/0.1409, allocations: 0.6887 MB / 0.5652 GB, free: 12.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.141, allocations: 11.97 kB / 0.5652 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.045e-05/0.141, allocations: 12.75 kB / 0.5652 GB, free: 12.17 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.797e-05/0.1411, allocations: 74.72 kB / 0.5653 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.831e-05/0.1411, allocations: 28.75 kB / 0.5653 GB, free: 12.06 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.1414, allocations: 243 kB / 0.5655 GB, free: 11.79 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.1414, allocations: 20.55 kB / 0.5655 GB, free: 11.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.682e-05/0.1415, allocations: 24 kB / 0.5656 GB, free: 11.74 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007289/0.1422, allocations: 467.3 kB / 0.566 GB, free: 11.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1422, allocations: 0 / 0.566 GB, free: 11.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.906e-05/0.1423, allocations: 15.98 kB / 0.566 GB, free: 11.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-05/0.1423, allocations: 44.97 kB / 0.5661 GB, free: 11.22 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008666/0.1432, allocations: 0.5504 MB / 0.5666 GB, free: 10.67 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001877/0.1451, allocations: 1.315 MB / 0.5679 GB, free: 9.234 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005221/0.1456, allocations: 258.4 kB / 0.5681 GB, free: 8.973 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/0.1458, allocations: 92.73 kB / 0.5682 GB, free: 8.879 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.253e-05/0.1458, allocations: 11.98 kB / 0.5682 GB, free: 8.867 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.1459, allocations: 34.56 kB / 0.5683 GB, free: 8.824 MB / 430.1 MB Notification: Performance of pre-optimization done (n=25): time 1.724e-06/0.1459, allocations: 0 / 0.5683 GB, free: 8.824 MB / 430.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007875/0.1466, allocations: 329.9 kB / 0.5686 GB, free: 8.496 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.1467, allocations: 59.39 kB / 0.5686 GB, free: 8.426 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.1468, allocations: 140 kB / 0.5688 GB, free: 8.277 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.1469, allocations: 37.64 kB / 0.5688 GB, free: 8.234 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.147, allocations: 196.5 kB / 0.569 GB, free: 8.039 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.613e-05/0.1471, allocations: 95.2 kB / 0.5691 GB, free: 7.945 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.776e-05/0.1472, allocations: 65.69 kB / 0.5692 GB, free: 7.875 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1473, allocations: 322.8 kB / 0.5695 GB, free: 7.551 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.1475, allocations: 91.86 kB / 0.5696 GB, free: 7.461 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.1478, allocations: 174.1 kB / 0.5697 GB, free: 7.254 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004973/0.1483, allocations: 302.8 kB / 0.57 GB, free: 6.922 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.1483, allocations: 0 / 0.57 GB, free: 6.922 MB / 430.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006091/0.1489, allocations: 329.2 kB / 0.5703 GB, free: 6.594 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1489, allocations: 4 kB / 0.5703 GB, free: 6.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.1489, allocations: 4 kB / 0.5703 GB, free: 6.586 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.1489, allocations: 4 kB / 0.5703 GB, free: 6.582 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004981/0.1494, allocations: 119.9 kB / 0.5704 GB, free: 6.465 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001408/0.1508, allocations: 2.371 MB / 0.5728 GB, free: 4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.151, allocations: 32.12 kB / 0.5728 GB, free: 3.969 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.218e-05/0.151, allocations: 19.98 kB / 0.5728 GB, free: 3.949 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.0002021/0.1512, allocations: 169.7 kB / 0.573 GB, free: 3.773 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.16e-05/0.1513, allocations: 19.89 kB / 0.573 GB, free: 3.754 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007854/0.1521, allocations: 370.1 kB / 0.5733 GB, free: 3.387 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.1521, allocations: 7.984 kB / 0.5734 GB, free: 3.379 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1521, allocations: 3.938 kB / 0.5734 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1521, allocations: 0 / 0.5734 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004053/0.1525, allocations: 345.3 kB / 0.5737 GB, free: 2.988 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1525, allocations: 3.984 kB / 0.5737 GB, free: 2.984 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004146/0.1529, allocations: 103.9 kB / 0.5738 GB, free: 2.883 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.1529, allocations: 4 kB / 0.5738 GB, free: 2.879 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/0.1529, allocations: 11.98 kB / 0.5738 GB, free: 2.867 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001321/0.1543, allocations: 2.352 MB / 0.5761 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1543, allocations: 0 / 0.5761 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005802/0.1548, allocations: 375.5 kB / 0.5765 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.119e-05/0.1549, allocations: 100.9 kB / 0.5766 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.155, allocations: 4 kB / 0.5766 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.1551, allocations: 8 kB / 0.5766 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.91e-05/0.1552, allocations: 19.97 kB / 0.5766 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/0.1552, allocations: 12 kB / 0.5766 GB, free: 15.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.934e-05/0.1553, allocations: 108.4 kB / 0.5767 GB, free: 15.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1553, allocations: 0 / 0.5767 GB, free: 15.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007199/0.156, allocations: 254.6 kB / 0.5769 GB, free: 15.52 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.001489/0.1575, allocations: 1.165 MB / 0.5781 GB, free: 14.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008054/0.1583, allocations: 284.3 kB / 0.5784 GB, free: 14.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1583, allocations: 4 kB / 0.5784 GB, free: 14.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000437/0.1587, allocations: 171.8 kB / 0.5785 GB, free: 13.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.1591, allocations: 12 kB / 0.5785 GB, free: 13.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003416/0.1625, allocations: 2.593 MB / 0.5811 GB, free: 11.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.1629, allocations: 0.8024 MB / 0.5818 GB, free: 10.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002484/0.1631, allocations: 97.73 kB / 0.5819 GB, free: 10.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.1633, allocations: 91.39 kB / 0.582 GB, free: 10.11 MB / 446.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1633, allocations: 0 / 0.582 GB, free: 10.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03039/0.1937, allocations: 8.995 MB / 0.5908 GB, free: 1.344 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.18, allocations: 18.28 kB / 0.5908 GB, free: 1.328 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.625204597017728] 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.532036267046351 12.545610456 12.403310429 Calling exit ...