Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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.002127/0.002127, allocations: 120 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.002629/0.002629, allocations: 218.3 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.426/1.426, allocations: 230.4 MB / 254.7 MB, free: 15.18 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.92 MB / 357.7 MB, free: 10.17 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_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002199/0.002199, allocations: 75.89 kB / 0.4917 GB, free: 7.648 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1255, allocations: 66.04 MB / 0.5562 GB, free: 5.484 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.003383/0.1289, allocations: 1.849 MB / 0.558 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00285/0.1317, allocations: 1.722 MB / 0.5597 GB, free: 1.891 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.1318, allocations: 0 / 0.5597 GB, free: 1.891 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002534/0.1321, allocations: 47.73 kB / 0.5597 GB, free: 1.844 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003436/0.1324, allocations: 83.58 kB / 0.5598 GB, free: 1.762 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009974/0.1334, allocations: 402.7 kB / 0.5602 GB, free: 1.367 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003601/0.1338, allocations: 246.7 kB / 0.5604 GB, free: 1.125 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.605e-05/0.1339, allocations: 16.41 kB / 0.5604 GB, free: 1.109 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002748/0.1341, allocations: 111.4 kB / 0.5605 GB, free: 1 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.1343, allocations: 123.4 kB / 0.5606 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.1344, allocations: 8 kB / 0.5607 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001084/0.1354, allocations: 0.7212 MB / 0.5614 GB, free: 152 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.976e-05/0.1355, allocations: 67.69 kB / 0.5614 GB, free: 84 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.1357, allocations: 123.1 kB / 0.5615 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008672/0.1366, allocations: 0.6227 MB / 0.5621 GB, free: 15.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1366, allocations: 0 / 0.5621 GB, free: 15.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1366, allocations: 0 / 0.5621 GB, free: 15.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.1366, allocations: 0 / 0.5621 GB, free: 15.34 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.001041/0.1376, allocations: 0.6423 MB / 0.5628 GB, free: 14.64 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.1376, allocations: 8.031 kB / 0.5628 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.898e-05/0.1377, allocations: 8.75 kB / 0.5628 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.661e-05/0.1377, allocations: 74.72 kB / 0.5629 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.564e-05/0.1378, allocations: 32.7 kB / 0.5629 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.1381, allocations: 239 kB / 0.5631 GB, free: 14.24 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.1381, allocations: 20.56 kB / 0.5631 GB, free: 14.22 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.594e-05/0.1382, allocations: 28 kB / 0.5632 GB, free: 14.19 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007595/0.1389, allocations: 479.2 kB / 0.5636 GB, free: 13.72 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1389, allocations: 0 / 0.5636 GB, free: 13.72 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.817e-05/0.139, allocations: 8 kB / 0.5636 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.314e-05/0.139, allocations: 44.97 kB / 0.5637 GB, free: 13.67 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008661/0.1399, allocations: 0.5504 MB / 0.5642 GB, free: 13.12 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00192/0.1418, allocations: 1.308 MB / 0.5655 GB, free: 11.69 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005772/0.1424, allocations: 266.4 kB / 0.5657 GB, free: 11.42 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.1426, allocations: 88.73 kB / 0.5658 GB, free: 11.33 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.261e-05/0.1426, allocations: 16.36 kB / 0.5658 GB, free: 11.31 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.1427, allocations: 34.56 kB / 0.5659 GB, free: 11.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=25): time 1.713e-06/0.1427, allocations: 0 / 0.5659 GB, free: 11.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007714/0.1434, allocations: 341.9 kB / 0.5662 GB, free: 10.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.1435, allocations: 59.34 kB / 0.5663 GB, free: 10.86 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.1436, allocations: 138.1 kB / 0.5664 GB, free: 10.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.1436, allocations: 29.7 kB / 0.5664 GB, free: 10.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.1438, allocations: 196.3 kB / 0.5666 GB, free: 10.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.123e-05/0.1439, allocations: 91.22 kB / 0.5667 GB, free: 10.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.144, allocations: 65.69 kB / 0.5668 GB, free: 10.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1441, allocations: 326.8 kB / 0.5671 GB, free: 9.992 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.1443, allocations: 91.92 kB / 0.5672 GB, free: 9.902 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002899/0.1446, allocations: 174.1 kB / 0.5673 GB, free: 9.695 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005117/0.1451, allocations: 298.8 kB / 0.5676 GB, free: 9.367 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1451, allocations: 0 / 0.5676 GB, free: 9.367 MB / 430.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006096/0.1457, allocations: 329.1 kB / 0.5679 GB, free: 9.039 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.1457, allocations: 4 kB / 0.5679 GB, free: 9.035 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.1457, allocations: 4 kB / 0.5679 GB, free: 9.031 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.1458, allocations: 4 kB / 0.5679 GB, free: 9.027 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004982/0.1463, allocations: 119.9 kB / 0.568 GB, free: 8.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001432/0.1477, allocations: 2.372 MB / 0.5704 GB, free: 6.445 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.1479, allocations: 27.78 kB / 0.5704 GB, free: 6.418 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.962e-05/0.1479, allocations: 19.98 kB / 0.5704 GB, free: 6.398 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.1481, allocations: 173.7 kB / 0.5706 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.652e-05/0.1481, allocations: 15.91 kB / 0.5706 GB, free: 6.203 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008166/0.149, allocations: 374.2 kB / 0.5709 GB, free: 5.832 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.149, allocations: 0 / 0.5709 GB, free: 5.832 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.149, allocations: 7.938 kB / 0.571 GB, free: 5.824 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.149, allocations: 4 kB / 0.571 GB, free: 5.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004186/0.1494, allocations: 337.4 kB / 0.5713 GB, free: 5.441 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1494, allocations: 3.938 kB / 0.5713 GB, free: 5.438 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004292/0.1498, allocations: 99.95 kB / 0.5714 GB, free: 5.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.1498, allocations: 4 kB / 0.5714 GB, free: 5.336 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.1499, allocations: 11.98 kB / 0.5714 GB, free: 5.324 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/0.1513, allocations: 2.364 MB / 0.5737 GB, free: 2.867 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1513, allocations: 0 / 0.5737 GB, free: 2.867 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005936/0.1519, allocations: 367.3 kB / 0.5741 GB, free: 2.492 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.648e-05/0.1519, allocations: 104.9 kB / 0.5742 GB, free: 2.371 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.132e-05/0.152, allocations: 8 kB / 0.5742 GB, free: 2.363 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.1521, allocations: 8 kB / 0.5742 GB, free: 2.355 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.628e-05/0.1522, allocations: 24.03 kB / 0.5742 GB, free: 2.332 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.1522, allocations: 19.92 kB / 0.5742 GB, free: 2.312 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001009/0.1523, allocations: 101.2 kB / 0.5743 GB, free: 2.215 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1523, allocations: 0 / 0.5743 GB, free: 2.215 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005785/0.1529, allocations: 179.2 kB / 0.5745 GB, free: 2.039 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 (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.001288/0.1542, allocations: 1.036 MB / 0.5755 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008123/0.155, allocations: 291.7 kB / 0.5758 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.155, allocations: 0 / 0.5758 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000455/0.1554, allocations: 171.8 kB / 0.5759 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.1558, allocations: 12.69 kB / 0.5759 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003493/0.1593, allocations: 2.555 MB / 0.5784 GB, free: 13.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004996/0.1598, allocations: 0.8024 MB / 0.5792 GB, free: 12.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002756/0.16, allocations: 97.72 kB / 0.5793 GB, free: 12.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.1602, allocations: 93.78 kB / 0.5794 GB, free: 12.79 MB / 446.1 MB Notification: Performance of SimCode: time 1.223e-06/0.1602, allocations: 0 / 0.5794 GB, free: 12.79 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02609/0.1863, allocations: 7.182 MB / 0.5864 GB, free: 5.836 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.1, allocations: 12.42 kB / 0.5864 GB, free: 5.824 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.515977617993485] 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.249919472029433 12.475310862 12.336040024 Calling exit ...