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.StraightPipe.dp_laminar_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.001285/0.001285, allocations: 120 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.001476/0.001476, allocations: 213.6 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.451/1.451, 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 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.2397/0.2397, 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.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_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.002279/0.002279, allocations: 83.8 kB / 0.4917 GB, free: 7.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1297, allocations: 66.04 MB / 0.5562 GB, free: 5.57 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003096/0.1328, allocations: 1.82 MB / 0.558 GB, free: 3.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.1342, allocations: 0.8373 MB / 0.5588 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.741e-05/0.1342, allocations: 0 / 0.5588 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002227/0.1345, allocations: 39.77 kB / 0.5588 GB, free: 2.852 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002661/0.1347, allocations: 83.56 kB / 0.5589 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001937/0.1349, allocations: 63.73 kB / 0.559 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.1351, allocations: 139.4 kB / 0.5591 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.768e-05/0.1352, allocations: 15.97 kB / 0.5591 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/0.1353, allocations: 67.77 kB / 0.5592 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.1355, allocations: 87.69 kB / 0.5592 GB, free: 2.402 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.1355, allocations: 4 kB / 0.5593 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.1357, allocations: 79.89 kB / 0.5593 GB, free: 2.32 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.445e-05/0.1357, allocations: 31.83 kB / 0.5594 GB, free: 2.289 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.059e-05/0.1358, allocations: 43.73 kB / 0.5594 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002738/0.1361, allocations: 139.4 kB / 0.5595 GB, free: 2.109 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1361, allocations: 0 / 0.5595 GB, free: 2.109 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.128e-06/0.1361, allocations: 4 kB / 0.5595 GB, free: 2.105 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1361, allocations: 0 / 0.5595 GB, free: 2.105 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.000674/0.1368, allocations: 407 kB / 0.5599 GB, free: 1.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.1368, allocations: 8.031 kB / 0.5599 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.398e-05/0.1369, allocations: 46.73 kB / 0.56 GB, free: 1.598 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003782/0.1373, allocations: 40.81 kB / 0.56 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.1375, allocations: 180.2 kB / 0.5602 GB, free: 1.344 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.1375, allocations: 8.375 kB / 0.5602 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.1375, allocations: 15.92 kB / 0.5602 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004034/0.1379, allocations: 180.1 kB / 0.5604 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.1379, allocations: 4 kB / 0.5604 GB, free: 1.125 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.138, allocations: 3.984 kB / 0.5604 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.279e-05/0.138, allocations: 15.98 kB / 0.5604 GB, free: 1.105 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003227/0.1383, allocations: 127.9 kB / 0.5605 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008928/0.1392, allocations: 0.6444 MB / 0.5612 GB, free: 272 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003346/0.1395, allocations: 106.6 kB / 0.5613 GB, free: 156 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.1397, allocations: 44.83 kB / 0.5613 GB, free: 108 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.1397, allocations: 0 / 0.5613 GB, free: 108 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.1397, allocations: 30.56 kB / 0.5613 GB, free: 68 kB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 8.91e-07/0.1397, allocations: 3.938 kB / 0.5613 GB, free: 64 kB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004859/0.1402, allocations: 141.6 kB / 0.5615 GB, free: 15.92 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.1402, allocations: 55.41 kB / 0.5615 GB, free: 15.85 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.1404, allocations: 133.1 kB / 0.5617 GB, free: 15.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.1404, allocations: 29.7 kB / 0.5617 GB, free: 15.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.76e-05/0.1405, allocations: 120.1 kB / 0.5618 GB, free: 15.55 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.1405, allocations: 27.78 kB / 0.5618 GB, free: 15.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.958e-05/0.1406, allocations: 29.72 kB / 0.5618 GB, free: 15.49 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1407, allocations: 322.8 kB / 0.5622 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.1408, allocations: 35.97 kB / 0.5622 GB, free: 15.13 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.141, allocations: 100.9 kB / 0.5623 GB, free: 15 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.1413, allocations: 135.6 kB / 0.5624 GB, free: 14.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1413, allocations: 4 kB / 0.5624 GB, free: 14.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004046/0.1417, allocations: 165.3 kB / 0.5626 GB, free: 14.67 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1417, allocations: 4 kB / 0.5626 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.1417, allocations: 4 kB / 0.5626 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1417, allocations: 4 kB / 0.5626 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.1419, allocations: 40.23 kB / 0.5626 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.1419, allocations: 7.984 kB / 0.5626 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.875e-05/0.142, allocations: 15.89 kB / 0.5626 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.142, allocations: 4 kB / 0.5627 GB, free: 14.59 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.1421, allocations: 133.7 kB / 0.5628 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.1421, allocations: 7.953 kB / 0.5628 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004068/0.1426, allocations: 129.9 kB / 0.5629 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.1426, allocations: 4 kB / 0.5629 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1426, allocations: 0 / 0.5629 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1426, allocations: 0 / 0.5629 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.1428, allocations: 205.5 kB / 0.5631 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1428, allocations: 0 / 0.5631 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.143, allocations: 27.98 kB / 0.5631 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.143, allocations: 4 kB / 0.5631 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.143, allocations: 4 kB / 0.5631 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.143, allocations: 3.938 kB / 0.5632 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.143, allocations: 0 / 0.5632 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000342/0.1433, allocations: 211.4 kB / 0.5634 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.287e-05/0.1434, allocations: 85 kB / 0.5634 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.1434, allocations: 0 / 0.5634 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.1435, allocations: 15.98 kB / 0.5634 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.1435, allocations: 4 kB / 0.5635 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.1436, allocations: 3.984 kB / 0.5635 GB, free: 13.67 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.95e-05/0.1436, allocations: 95.27 kB / 0.5635 GB, free: 13.57 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1436, allocations: 3.938 kB / 0.5636 GB, free: 13.57 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000267/0.1439, allocations: 27.95 kB / 0.5636 GB, free: 13.54 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006955/0.1446, allocations: 0.748 MB / 0.5643 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003138/0.1449, allocations: 96.31 kB / 0.5644 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1449, allocations: 4 kB / 0.5644 GB, free: 12.67 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.145, allocations: 43.89 kB / 0.5644 GB, free: 12.63 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.1453, allocations: 8 kB / 0.5645 GB, free: 12.62 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.1474, allocations: 1.669 MB / 0.5661 GB, free: 10.82 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.1478, allocations: 0.7158 MB / 0.5668 GB, free: 10.08 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.12e-05/0.1479, allocations: 24.52 kB / 0.5668 GB, free: 10.05 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.427e-05/0.1479, allocations: 27.42 kB / 0.5668 GB, free: 10.03 MB / 430.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1479, allocations: 0 / 0.5668 GB, free: 10.03 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02317/0.1711, allocations: 2.344 MB / 0.5691 GB, free: 7.867 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.702/7.873, allocations: 15.81 kB / 0.5691 GB, free: 7.852 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0002 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.914300004020333] Failed to read output from testmodel.py, exit status != 0: ['time', 'MIN', 'A_cross', 'roughness', 'd_hyd', 'K[1]', 'L', 'eta', 'rho', 'input_mdot[1]', 'input_dp[1]', 'M_FLOW[1]', 'DP[1]', 'velocity[1]', 'Re[1]', 'DP_plot[1]', 'zeta_TOT[1]', 'lambda_FRI[1]', 'input_DP.y'] 7.941811071708798 7.966884162 7.826165181 Calling exit ...