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.001543/0.001543, 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.001697/0.001697, allocations: 221.2 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.527/1.527, allocations: 230.2 MB / 256.2 MB, free: 8.539 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.2173/0.2173, allocations: 46.89 MB / 359.4 MB, free: 4.906 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.002356/0.002356, allocations: 79.86 kB / 0.4942 GB, free: 8.984 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3199, allocations: 65.99 MB / 0.5586 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003383/0.3233, allocations: 1.855 MB / 0.5604 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004604/0.3279, allocations: 2.988 MB / 0.5633 GB, free: 292 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.328, allocations: 0 / 0.5633 GB, free: 292 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002948/0.3283, allocations: 43.75 kB / 0.5634 GB, free: 248 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000367/0.3287, allocations: 83.56 kB / 0.5634 GB, free: 164 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002045/0.3307, allocations: 0.7394 MB / 0.5642 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000377/0.3311, allocations: 238.7 kB / 0.5644 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.163e-05/0.3312, allocations: 18.23 kB / 0.5644 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003257/0.3315, allocations: 111.4 kB / 0.5645 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/0.3317, allocations: 123.4 kB / 0.5646 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.3317, allocations: 8 kB / 0.5646 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001931/0.3337, allocations: 1.232 MB / 0.5658 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.3338, allocations: 67.69 kB / 0.5659 GB, free: 13.63 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.3339, allocations: 115.1 kB / 0.566 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.3352, allocations: 0.9382 MB / 0.5669 GB, free: 12.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.3352, allocations: 4 kB / 0.5669 GB, free: 12.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3352, allocations: 0 / 0.5669 GB, free: 12.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.3353, allocations: 0 / 0.5669 GB, free: 12.57 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.001054/0.3363, allocations: 0.6808 MB / 0.5676 GB, free: 11.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.3364, allocations: 12.03 kB / 0.5676 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.063e-05/0.3364, allocations: 74.7 kB / 0.5677 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.047e-05/0.3365, allocations: 36.75 kB / 0.5677 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.3368, allocations: 243.1 kB / 0.568 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/0.3368, allocations: 20.56 kB / 0.568 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.229e-05/0.3369, allocations: 27.98 kB / 0.568 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007438/0.3376, allocations: 467.2 kB / 0.5684 GB, free: 10.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.3376, allocations: 3.938 kB / 0.5685 GB, free: 10.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.127e-05/0.3377, allocations: 15.94 kB / 0.5685 GB, free: 10.9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.855e-05/0.3377, allocations: 44.97 kB / 0.5685 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008556/0.3386, allocations: 0.5504 MB / 0.569 GB, free: 10.31 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001846/0.3404, allocations: 1.304 MB / 0.5703 GB, free: 8.879 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005485/0.341, allocations: 262.5 kB / 0.5706 GB, free: 8.613 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/0.3412, allocations: 88.8 kB / 0.5707 GB, free: 8.523 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.763e-05/0.3412, allocations: 16.3 kB / 0.5707 GB, free: 8.508 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.3413, allocations: 42.5 kB / 0.5707 GB, free: 8.457 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 1.202e-06/0.3413, allocations: 0 / 0.5707 GB, free: 8.457 MB / 414.1 MB Notification: Performance of matching and sorting (n=25): time 0.000788/0.3421, allocations: 329.3 kB / 0.571 GB, free: 8.129 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.3421, allocations: 51.41 kB / 0.5711 GB, free: 8.066 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.3422, allocations: 148.8 kB / 0.5712 GB, free: 7.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.3423, allocations: 29.7 kB / 0.5712 GB, free: 7.875 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.3424, allocations: 196.2 kB / 0.5714 GB, free: 7.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.921e-05/0.3425, allocations: 95.22 kB / 0.5715 GB, free: 7.586 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.3426, allocations: 69.69 kB / 0.5716 GB, free: 7.512 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3428, allocations: 322.8 kB / 0.5719 GB, free: 7.188 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.343, allocations: 87.92 kB / 0.572 GB, free: 7.102 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002719/0.3432, allocations: 179 kB / 0.5722 GB, free: 6.891 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004893/0.3437, allocations: 290.8 kB / 0.5724 GB, free: 6.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.3437, allocations: 8 kB / 0.5724 GB, free: 6.562 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005958/0.3443, allocations: 321.1 kB / 0.5727 GB, free: 6.242 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.3443, allocations: 8 kB / 0.5728 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.3443, allocations: 352 / 0.5728 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.3444, allocations: 11.94 kB / 0.5728 GB, free: 6.223 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004787/0.3448, allocations: 119.9 kB / 0.5729 GB, free: 6.105 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001415/0.3463, allocations: 2.36 MB / 0.5752 GB, free: 3.652 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.3464, allocations: 43.7 kB / 0.5752 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.3465, allocations: 16 kB / 0.5752 GB, free: 3.594 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.0001806/0.3466, allocations: 177.8 kB / 0.5754 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.59e-05/0.3467, allocations: 11.91 kB / 0.5754 GB, free: 3.398 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007814/0.3475, allocations: 366.1 kB / 0.5758 GB, free: 3.035 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.3475, allocations: 4 kB / 0.5758 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3475, allocations: 0 / 0.5758 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.3475, allocations: 7.922 kB / 0.5758 GB, free: 3.023 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004135/0.3479, allocations: 349.3 kB / 0.5761 GB, free: 2.633 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3479, allocations: 0 / 0.5761 GB, free: 2.633 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004065/0.3483, allocations: 103.9 kB / 0.5762 GB, free: 2.531 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3483, allocations: 4 kB / 0.5762 GB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.3483, allocations: 8 kB / 0.5762 GB, free: 2.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001353/0.3497, allocations: 2.364 MB / 0.5785 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.3497, allocations: 4.031 kB / 0.5785 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005709/0.3503, allocations: 363.4 kB / 0.5789 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.28e-05/0.3503, allocations: 104.9 kB / 0.579 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.3503, allocations: 7.984 kB / 0.579 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.3505, allocations: 11.98 kB / 0.579 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-05/0.3506, allocations: 27.91 kB / 0.579 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.3506, allocations: 8 kB / 0.579 GB, free: 15.51 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.003e-05/0.3506, allocations: 103.2 kB / 0.5791 GB, free: 15.41 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3506, allocations: 0 / 0.5791 GB, free: 15.41 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007135/0.3514, allocations: 254.7 kB / 0.5794 GB, free: 15.16 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.001454/0.3528, allocations: 1.157 MB / 0.5805 GB, free: 13.98 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007594/0.3536, allocations: 283.7 kB / 0.5808 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3536, allocations: 3.938 kB / 0.5808 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004393/0.354, allocations: 176.4 kB / 0.581 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.3544, allocations: 16 kB / 0.581 GB, free: 13.51 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003344/0.3577, allocations: 2.596 MB / 0.5835 GB, free: 10.77 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/0.3581, allocations: 0.8063 MB / 0.5843 GB, free: 9.938 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002518/0.3584, allocations: 97.72 kB / 0.5844 GB, free: 9.844 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.3585, allocations: 91.39 kB / 0.5845 GB, free: 9.754 MB / 430.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3585, allocations: 4 kB / 0.5845 GB, free: 9.75 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03397/0.3925, allocations: 8.892 MB / 0.5932 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.3, allocations: 8.609 kB / 0.5932 GB, free: 0.9648 MB / 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.245630188990617] 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.400657313002739 12.415819533 12.077474224 Calling exit ...