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.Bend.dp_edgedOverall_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.001954/0.001954, allocations: 109.4 kB / 19.8 MB, free: 2.5 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.002367/0.002367, allocations: 221 kB / 23 MB, free: 5.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.413/1.413, allocations: 230.2 MB / 256.2 MB, free: 8.52 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.2219/0.2219, allocations: 46.9 MB / 359.4 MB, free: 4.914 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.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_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.002557/0.002557, allocations: 79.86 kB / 0.4942 GB, free: 8.992 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3158, allocations: 66 MB / 0.5586 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW): time 0.003308/0.3191, allocations: 1.796 MB / 0.5604 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003164/0.3222, allocations: 1.934 MB / 0.5623 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.598e-05/0.3223, allocations: 0 / 0.5623 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002887/0.3226, allocations: 51.73 kB / 0.5623 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002788/0.3229, allocations: 75.64 kB / 0.5624 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.324, allocations: 0.5803 MB / 0.5629 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002868/0.3242, allocations: 234.9 kB / 0.5632 GB, free: 476 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.881e-05/0.3243, allocations: 5.688 kB / 0.5632 GB, free: 468 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002089/0.3245, allocations: 107.4 kB / 0.5633 GB, free: 360 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.3247, allocations: 115.5 kB / 0.5634 GB, free: 244 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.3247, allocations: 8 kB / 0.5634 GB, free: 236 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001636/0.3264, allocations: 1.174 MB / 0.5645 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.594e-05/0.3265, allocations: 67.67 kB / 0.5646 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.3266, allocations: 103.3 kB / 0.5647 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.3276, allocations: 0.8079 MB / 0.5655 GB, free: 14.08 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3276, allocations: 0 / 0.5655 GB, free: 14.08 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.487e-06/0.3276, allocations: 4 kB / 0.5655 GB, free: 14.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.3276, allocations: 0 / 0.5655 GB, free: 14.07 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0009396/0.3286, allocations: 0.6149 MB / 0.5661 GB, free: 13.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3286, allocations: 8.031 kB / 0.5661 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.389e-05/0.3287, allocations: 70.66 kB / 0.5662 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.918e-05/0.3287, allocations: 32.75 kB / 0.5662 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.329, allocations: 231.5 kB / 0.5664 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/0.329, allocations: 28.34 kB / 0.5664 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/0.3291, allocations: 16 kB / 0.5665 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006086/0.3297, allocations: 376.4 kB / 0.5668 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3297, allocations: 0 / 0.5668 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.3297, allocations: 8 kB / 0.5668 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.451e-05/0.3298, allocations: 40.62 kB / 0.5669 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006608/0.3304, allocations: 386.3 kB / 0.5672 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.3319, allocations: 1.016 MB / 0.5682 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006026/0.3325, allocations: 266.3 kB / 0.5685 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.3327, allocations: 88.73 kB / 0.5686 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-05/0.3328, allocations: 7.984 kB / 0.5686 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.3328, allocations: 38.56 kB / 0.5686 GB, free: 10.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=21): time 1.242e-06/0.3328, allocations: 11.88 kB / 0.5686 GB, free: 10.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007482/0.3335, allocations: 317.3 kB / 0.5689 GB, free: 10.33 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.3336, allocations: 55.41 kB / 0.569 GB, free: 10.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.3339, allocations: 227.7 kB / 0.5692 GB, free: 10.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.3339, allocations: 29.7 kB / 0.5692 GB, free: 9.992 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.334, allocations: 160.5 kB / 0.5694 GB, free: 9.832 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.125e-05/0.3341, allocations: 75.45 kB / 0.5694 GB, free: 9.758 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.998e-05/0.3341, allocations: 45.7 kB / 0.5695 GB, free: 9.707 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3343, allocations: 330.8 kB / 0.5698 GB, free: 9.375 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.3345, allocations: 83.86 kB / 0.5699 GB, free: 9.293 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.3347, allocations: 113.8 kB / 0.57 GB, free: 9.176 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004059/0.3351, allocations: 197.8 kB / 0.5702 GB, free: 8.977 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3351, allocations: 0 / 0.5702 GB, free: 8.977 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005155/0.3356, allocations: 261.3 kB / 0.5704 GB, free: 8.715 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.3356, allocations: 11.94 kB / 0.5704 GB, free: 8.703 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3356, allocations: 0 / 0.5704 GB, free: 8.703 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.3357, allocations: 0 / 0.5704 GB, free: 8.703 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000418/0.3361, allocations: 95.88 kB / 0.5705 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.3376, allocations: 2.379 MB / 0.5729 GB, free: 6.137 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.3377, allocations: 31.8 kB / 0.5729 GB, free: 6.105 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-05/0.3378, allocations: 12.22 kB / 0.5729 GB, free: 6.094 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 19 * 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.0001699/0.3379, allocations: 161.8 kB / 0.5731 GB, free: 5.926 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.394e-05/0.338, allocations: 23.86 kB / 0.5731 GB, free: 5.902 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007578/0.3388, allocations: 339.4 kB / 0.5734 GB, free: 5.559 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.3388, allocations: 4 kB / 0.5734 GB, free: 5.555 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.3388, allocations: 0 / 0.5734 GB, free: 5.555 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3388, allocations: 3.938 kB / 0.5734 GB, free: 5.551 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003836/0.3392, allocations: 321.3 kB / 0.5737 GB, free: 5.188 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3392, allocations: 0 / 0.5737 GB, free: 5.188 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003991/0.3396, allocations: 95.88 kB / 0.5738 GB, free: 5.094 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.3396, allocations: 0 / 0.5738 GB, free: 5.094 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.3396, allocations: 8 kB / 0.5738 GB, free: 5.086 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001518/0.3411, allocations: 2.387 MB / 0.5761 GB, free: 2.605 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.3411, allocations: 4 kB / 0.5761 GB, free: 2.602 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005763/0.3417, allocations: 364 kB / 0.5765 GB, free: 2.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.3418, allocations: 132.8 kB / 0.5766 GB, free: 2.082 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/0.3419, allocations: 7.938 kB / 0.5766 GB, free: 2.074 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.342, allocations: 7.984 kB / 0.5766 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.269e-05/0.3421, allocations: 15.98 kB / 0.5767 GB, free: 2.051 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.3421, allocations: 15.98 kB / 0.5767 GB, free: 2.035 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001678/0.3423, allocations: 169.5 kB / 0.5768 GB, free: 1.871 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3423, allocations: 0 / 0.5768 GB, free: 1.871 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005555/0.3428, allocations: 175.2 kB / 0.577 GB, free: 1.699 MB / 414.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 (25): * Single equations (assignments): 21 * 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.001316/0.3441, allocations: 1.04 MB / 0.578 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007395/0.3449, allocations: 259.8 kB / 0.5783 GB, free: 388 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3449, allocations: 0 / 0.5783 GB, free: 388 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004426/0.3453, allocations: 159.8 kB / 0.5784 GB, free: 228 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004705/0.3458, allocations: 47.67 kB / 0.5785 GB, free: 180 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003741/0.3495, allocations: 2.843 MB / 0.5812 GB, free: 13.24 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004362/0.35, allocations: 0.787 MB / 0.582 GB, free: 12.43 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002216/0.3502, allocations: 81.77 kB / 0.5821 GB, free: 12.34 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.3503, allocations: 91.33 kB / 0.5822 GB, free: 12.26 MB / 430.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3503, allocations: 0 / 0.5822 GB, free: 12.26 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03606/0.3864, allocations: 8.863 MB / 0.5908 GB, free: 3.523 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.38, allocations: 6.812 kB / 0.5908 GB, free: 3.52 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.154932727018604] Failed to read output from testmodel.py, exit status != 0: ['time', 'delta[1]', 'delta[2]', 'delta[3]', 'delta[4]', '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]', 'DP_plot[1]', 'DP_plot[2]', 'DP_plot[3]', 'DP_plot[4]', 'velocity[1]', 'velocity[2]', 'velocity[3]', 'velocity[4]', 'Re[1]', 'Re[2]', 'Re[3]', 'Re[4]', 'zeta_TOT[1]', 'zeta_TOT[2]', 'zeta_TOT[3]', 'zeta_TOT[4]', 'input_DP.y'] 12.497556374000851 12.523632537 12.191362648 Calling exit ...