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_nominalDensityViscosity_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: 122.5 kB / 18.51 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.001379/0.001379, allocations: 215.2 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.492/1.492, 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 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.2261/0.2261, allocations: 46.92 MB / 357.7 MB, free: 10.19 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_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_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.002315/0.002315, allocations: 79.86 kB / 0.4917 GB, free: 7.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1401, allocations: 66.03 MB / 0.5562 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003781/0.1439, allocations: 1.844 MB / 0.558 GB, free: 3.652 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.1451, allocations: 0.6386 MB / 0.5586 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.57e-05/0.1451, allocations: 4 kB / 0.5586 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003039/0.1455, allocations: 51.67 kB / 0.5587 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001795/0.1456, allocations: 75.59 kB / 0.5587 GB, free: 2.883 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000408/0.146, allocations: 115.5 kB / 0.5588 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002993/0.1463, allocations: 230.8 kB / 0.5591 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.83e-05/0.1464, allocations: 20.3 kB / 0.5591 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.1465, allocations: 95.45 kB / 0.5592 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.1467, allocations: 111.5 kB / 0.5593 GB, free: 2.316 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.1467, allocations: 11.94 kB / 0.5593 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003903/0.1471, allocations: 219.8 kB / 0.5595 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.583e-05/0.1472, allocations: 47.77 kB / 0.5595 GB, free: 2.043 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.1473, allocations: 103.3 kB / 0.5596 GB, free: 1.941 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004926/0.1478, allocations: 330.6 kB / 0.56 GB, free: 1.617 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1478, allocations: 0 / 0.56 GB, free: 1.617 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1478, allocations: 4 kB / 0.56 GB, free: 1.613 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.1478, allocations: 4 kB / 0.56 GB, free: 1.609 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0007883/0.1486, allocations: 0.5338 MB / 0.5605 GB, free: 1.027 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.1486, allocations: 8.031 kB / 0.5605 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.502e-05/0.1487, allocations: 62.72 kB / 0.5606 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001855/0.1505, allocations: 200.4 kB / 0.5607 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003693/0.1509, allocations: 272 kB / 0.561 GB, free: 460 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.1509, allocations: 20.92 kB / 0.561 GB, free: 440 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.643e-05/0.151, allocations: 20.38 kB / 0.561 GB, free: 420 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.152, allocations: 0.5006 MB / 0.5615 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1521, allocations: 0 / 0.5615 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.314e-05/0.1521, allocations: 12 kB / 0.5615 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.325e-05/0.1521, allocations: 32.48 kB / 0.5616 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.1535, allocations: 0.5759 MB / 0.5621 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002355/0.1558, allocations: 1.181 MB / 0.5633 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007388/0.1566, allocations: 166.4 kB / 0.5634 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003764/0.1569, allocations: 84.77 kB / 0.5635 GB, free: 13.76 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.157, allocations: 8.141 kB / 0.5635 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.157, allocations: 38.48 kB / 0.5636 GB, free: 13.7 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.157, allocations: 0 / 0.5636 GB, free: 13.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.001345/0.1584, allocations: 297.2 kB / 0.5639 GB, free: 13.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.1584, allocations: 51.41 kB / 0.5639 GB, free: 13.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003147/0.1587, allocations: 278.6 kB / 0.5642 GB, free: 13.06 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.606e-05/0.1587, allocations: 29.7 kB / 0.5642 GB, free: 13.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.1589, allocations: 171.7 kB / 0.5644 GB, free: 12.85 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.123e-05/0.1589, allocations: 27.78 kB / 0.5644 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.159, allocations: 33.69 kB / 0.5644 GB, free: 12.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.1592, allocations: 334.8 kB / 0.5647 GB, free: 12.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003896/0.1596, allocations: 87.91 kB / 0.5648 GB, free: 12.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004677/0.16, allocations: 126.8 kB / 0.5649 GB, free: 12.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000792/0.1608, allocations: 211.1 kB / 0.5651 GB, free: 12.01 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.1608, allocations: 4 kB / 0.5652 GB, free: 12.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009432/0.1618, allocations: 257.3 kB / 0.5654 GB, free: 11.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.1618, allocations: 10.28 kB / 0.5654 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.1618, allocations: 7.922 kB / 0.5654 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.1618, allocations: 4 kB / 0.5654 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006122/0.1679, allocations: 459.3 kB / 0.5659 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00306/0.171, allocations: 1.945 MB / 0.5678 GB, free: 9.266 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004321/0.1714, allocations: 51.92 kB / 0.5678 GB, free: 9.215 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.1715, allocations: 4 kB / 0.5678 GB, free: 9.211 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * 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.0002134/0.1717, allocations: 161.8 kB / 0.568 GB, free: 9.043 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.8e-05/0.1717, allocations: 27.73 kB / 0.568 GB, free: 9.016 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.391e-05/0.1718, allocations: 29.7 kB / 0.568 GB, free: 8.98 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1718, allocations: 0 / 0.568 GB, free: 8.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.1718, allocations: 0 / 0.568 GB, free: 8.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1718, allocations: 0 / 0.568 GB, free: 8.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004204/0.1722, allocations: 301.4 kB / 0.5683 GB, free: 8.637 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1722, allocations: 0 / 0.5683 GB, free: 8.637 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00573/0.178, allocations: 451.3 kB / 0.5687 GB, free: 8.195 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/0.178, allocations: 0 / 0.5687 GB, free: 8.195 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.636e-05/0.178, allocations: 3.984 kB / 0.5687 GB, free: 8.191 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003295/0.1813, allocations: 1.945 MB / 0.5706 GB, free: 6.176 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.1813, allocations: 192 / 0.5706 GB, free: 6.176 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.1823, allocations: 335.1 kB / 0.571 GB, free: 5.832 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.1825, allocations: 100.9 kB / 0.5711 GB, free: 5.715 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.253e-05/0.1825, allocations: 0 / 0.5711 GB, free: 5.715 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003704/0.1829, allocations: 23.97 kB / 0.5711 GB, free: 5.691 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.707e-05/0.183, allocations: 3.984 kB / 0.5711 GB, free: 5.688 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/0.183, allocations: 11.92 kB / 0.5711 GB, free: 5.676 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002668/0.1832, allocations: 205.9 kB / 0.5713 GB, free: 5.477 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1832, allocations: 0 / 0.5713 GB, free: 5.477 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003986/0.1836, allocations: 79.88 kB / 0.5714 GB, free: 5.398 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 (7): * Single equations (assignments): 4 * 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.001403/0.185, allocations: 0.8566 MB / 0.5722 GB, free: 4.516 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006249/0.1913, allocations: 0.589 MB / 0.5728 GB, free: 3.926 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.1913, allocations: 0 / 0.5728 GB, free: 3.926 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005706/0.197, allocations: 499.4 kB / 0.5733 GB, free: 3.438 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004553/0.1975, allocations: 49.19 kB / 0.5733 GB, free: 3.391 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005183/0.2026, allocations: 2.982 MB / 0.5762 GB, free: 320 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004365/0.2031, allocations: 0.7713 MB / 0.577 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001641/0.2032, allocations: 49.92 kB / 0.577 GB, free: 15.47 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.2034, allocations: 71.41 kB / 0.5771 GB, free: 15.4 MB / 446.1 MB Notification: Performance of SimCode: time 9.12e-07/0.2034, allocations: 0 / 0.5771 GB, free: 15.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03331/0.2367, allocations: 8.009 MB / 0.5849 GB, free: 7.551 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.21, allocations: 12.78 kB / 0.5849 GB, free: 7.539 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201879 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.473414580337703] Failed to read output from testmodel.py, exit status != 0: ['time', 'eta[1]', 'eta[2]', 'eta[3]', 'rho[1]', 'rho[2]', 'rho[3]', '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.30357690481469 12.538188562 12.387747228 Calling exit ...