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_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.001312/0.001312, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001396/0.001396, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.396/1.396, allocations: 230.5 MB / 258.2 MB, free: 8.047 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.2169/0.2169, allocations: 46.93 MB / 361.6 MB, free: 4.207 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_overall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_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.002284/0.002284, allocations: 75.86 kB / 0.497 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3212, allocations: 66.08 MB / 0.5615 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.00338/0.3246, allocations: 1.855 MB / 0.5633 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004583/0.3292, allocations: 2.99 MB / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.3293, allocations: 4 kB / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000291/0.3296, allocations: 51.69 kB / 0.5663 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003612/0.3299, allocations: 83.56 kB / 0.5664 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001857/0.3318, allocations: 0.7356 MB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003195/0.3321, allocations: 238.7 kB / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.734e-05/0.3322, allocations: 12.59 kB / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002569/0.3324, allocations: 123.4 kB / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001962/0.3326, allocations: 123.4 kB / 0.5676 GB, free: 14.08 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.3327, allocations: 8 kB / 0.5676 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001922/0.3346, allocations: 1.228 MB / 0.5688 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.3347, allocations: 71.62 kB / 0.5689 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.3348, allocations: 119.2 kB / 0.569 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001504/0.3363, allocations: 0.9343 MB / 0.5699 GB, free: 11.72 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3364, allocations: 4 kB / 0.5699 GB, free: 11.71 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.3364, allocations: 0 / 0.5699 GB, free: 11.71 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.3364, allocations: 0 / 0.5699 GB, free: 11.71 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001171/0.3375, allocations: 0.6057 MB / 0.5705 GB, free: 11.08 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.3376, allocations: 8.031 kB / 0.5705 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001006/0.3377, allocations: 82.69 kB / 0.5706 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.663e-05/0.3378, allocations: 28.75 kB / 0.5706 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.3381, allocations: 185.3 kB / 0.5708 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.3381, allocations: 20.59 kB / 0.5708 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.868e-05/0.3382, allocations: 39.92 kB / 0.5708 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000839/0.339, allocations: 471.9 kB / 0.5713 GB, free: 10.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.339, allocations: 0 / 0.5713 GB, free: 10.22 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.082e-05/0.3391, allocations: 7.984 kB / 0.5713 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.507e-05/0.3392, allocations: 48.97 kB / 0.5713 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009449/0.3401, allocations: 0.5426 MB / 0.5719 GB, free: 9.621 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002049/0.3422, allocations: 1.276 MB / 0.5731 GB, free: 8.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005728/0.3427, allocations: 255.4 kB / 0.5734 GB, free: 7.973 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.3429, allocations: 92.8 kB / 0.5735 GB, free: 7.879 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.174e-05/0.343, allocations: 20.23 kB / 0.5735 GB, free: 7.859 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.343, allocations: 38.56 kB / 0.5735 GB, free: 7.812 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 1.683e-06/0.343, allocations: 0 / 0.5735 GB, free: 7.812 MB / 414.1 MB Notification: Performance of matching and sorting (n=25): time 0.0008169/0.3438, allocations: 337.2 kB / 0.5738 GB, free: 7.477 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.613e-05/0.3439, allocations: 59.41 kB / 0.5739 GB, free: 7.406 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.3441, allocations: 145.4 kB / 0.574 GB, free: 7.254 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.3441, allocations: 29.7 kB / 0.5741 GB, free: 7.219 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.3442, allocations: 204 kB / 0.5742 GB, free: 7.016 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.169e-05/0.3443, allocations: 87.22 kB / 0.5743 GB, free: 6.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.3444, allocations: 73.69 kB / 0.5744 GB, free: 6.852 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.3446, allocations: 322.8 kB / 0.5747 GB, free: 6.527 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/0.3448, allocations: 87.92 kB / 0.5748 GB, free: 6.441 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/0.3451, allocations: 179 kB / 0.575 GB, free: 6.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000543/0.3456, allocations: 286 kB / 0.5752 GB, free: 5.914 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.3456, allocations: 0 / 0.5752 GB, free: 5.914 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006009/0.3462, allocations: 337.8 kB / 0.5756 GB, free: 5.578 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.3462, allocations: 4 kB / 0.5756 GB, free: 5.574 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.3462, allocations: 4 kB / 0.5756 GB, free: 5.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.3463, allocations: 4 kB / 0.5756 GB, free: 5.566 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004694/0.3467, allocations: 124.2 kB / 0.5757 GB, free: 5.445 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/0.3482, allocations: 2.368 MB / 0.578 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.3484, allocations: 31.78 kB / 0.578 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.953e-05/0.3484, allocations: 19.98 kB / 0.578 GB, free: 2.934 MB / 414.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.0002142/0.3486, allocations: 173.7 kB / 0.5782 GB, free: 2.754 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.86e-05/0.3487, allocations: 16.09 kB / 0.5782 GB, free: 2.738 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007869/0.3495, allocations: 370.2 kB / 0.5786 GB, free: 2.371 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.3495, allocations: 0 / 0.5786 GB, free: 2.371 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.3495, allocations: 7.984 kB / 0.5786 GB, free: 2.363 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.3495, allocations: 3.938 kB / 0.5786 GB, free: 2.359 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004285/0.3499, allocations: 316.5 kB / 0.5789 GB, free: 2.008 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3499, allocations: 0 / 0.5789 GB, free: 2.008 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004008/0.3503, allocations: 103.9 kB / 0.579 GB, free: 1.906 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.3503, allocations: 4 kB / 0.579 GB, free: 1.902 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.3504, allocations: 11.98 kB / 0.579 GB, free: 1.891 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00144/0.3518, allocations: 2.36 MB / 0.5813 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3518, allocations: 0 / 0.5813 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006006/0.3524, allocations: 371.2 kB / 0.5817 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.745e-05/0.3524, allocations: 23.83 kB / 0.5817 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.3525, allocations: 4 kB / 0.5817 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.3526, allocations: 12.09 kB / 0.5817 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.232e-05/0.3527, allocations: 23.95 kB / 0.5817 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.3527, allocations: 12 kB / 0.5817 GB, free: 14.98 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.016e-05/0.3528, allocations: 103.2 kB / 0.5818 GB, free: 14.88 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3528, allocations: 0 / 0.5818 GB, free: 14.88 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006922/0.3535, allocations: 250.7 kB / 0.5821 GB, free: 14.64 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.001478/0.355, allocations: 1.164 MB / 0.5832 GB, free: 13.44 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007235/0.3557, allocations: 287.7 kB / 0.5835 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3557, allocations: 3.938 kB / 0.5835 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004162/0.3561, allocations: 163.8 kB / 0.5836 GB, free: 13 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.3564, allocations: 18.88 kB / 0.5837 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003251/0.3597, allocations: 2.601 MB / 0.5862 GB, free: 10.23 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004334/0.3601, allocations: 0.7985 MB / 0.587 GB, free: 9.402 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002534/0.3604, allocations: 101.7 kB / 0.5871 GB, free: 9.305 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.3605, allocations: 91.39 kB / 0.5872 GB, free: 9.215 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3605, allocations: 0 / 0.5872 GB, free: 9.215 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03454/0.395, allocations: 9.098 MB / 0.5961 GB, free: 244 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.36, allocations: 3.984 kB / 0.5961 GB, free: 240 kB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_overall_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.302592443767935] 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.459659304935485 12.487042851 12.145668923 Calling exit ...